Bertoni/Cambridge/IBM)
Subject: Re: Annotations
t. If your library
is built with RTTI, you should also be able to use a dynamic cast (and check
if it succeeds, of course).
> -Original Message-
> From: Endre Magyari [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 20, 2004 9:00 AM
> To: [EMAIL PROTECTED]
>
0 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Annotations
>
>
>
> Thanks all,
>
>
>
> so getTarget() gives "udm" and getData() gives ' name1="value1"
> name2="value2"'
>
> The name of such a node
mber
documentation.
-Original Message-
From: Endre Magyari [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 8:01 AM
To: [EMAIL PROTECTED]
Subject: Re: Annotations
>
> That's a processing instruction named "udm"; to retrieve it, do
[...]
Thanks !
so it is a n
the text in the PI
with getData(). See the DOMProcessingInstruction class member documentation.
> -Original Message-
> From: Endre Magyari [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 20, 2004 8:01 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Annotations
>
>
>
f).
Hiran
> -Original Message-
> From: Endre Magyari [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 20, 2004 2:01 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Annotations
>
>
> >
> > That's a processing instruction named "udm"; to retrie
That's a processing instruction named "udm"; to retrieve it, do
[...]
Thanks !
so it is a node, not an element then.
I know how to access the attributes of an Element.
How can I access the attributes of a such a Node ?
Thanks,
Endre
At 13.43 20/02/2004 +0200, Endre Magyari wrote:
Dear List,
Suppose I have parsed in an InputSource with the following code:
InputSource *is;
DOMParser parser;
parser.setValidationScheme(DOMParser::Val_Never);
parser.parse(*i
Yes, this is a Processing Instruction node, and the DOM offers you the
possibility to access PI-Nodes and their data. If they come before the first
element node, they will be children of the Document node, and you may access
them via the DOM from there.
Check the XML Specification for more informa