How to extract the text in adocumentation tag ? [message #59477] |
Fri, 22 April 2005 12:58 |
Eclipse User |
|
|
|
Originally posted by: ediouf.genigraph.fr
Hi,
I would like to extract the text in my documentation tag; here is the
structure of my xsd file :
<xs:element name="DemandeActeNaissance" type="DemandeActeNaissanceType">
<xs:annotation>
<xs:documentation>Racine du document XML décrivant une demande
d'acte</xs:documentation>
</xs:annotation>
</xs:element>
I would like to extract the text between my documentation tag but i don't
find the right method to do that .
i think about the getUserInformation method of XSDAnnnotation class but it
return a Elist of Element and in the Element class i don't find the method
to extract the information between the tag .
Can somebody help me ?
Thanks for your help !!
|
|
|
Re: How to extract the text in adocumentation tag ? [message #59502 is a reply to message #59477] |
Fri, 22 April 2005 14:08 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Elhadji,
This is just a question about DOM itself. You need to do things like
Element.getFirstChild, Node.getNextSibling, Node.getNodeType() ==
Node.TEXT_NODE.
Elhadji wrote:
> Hi,
>
> I would like to extract the text in my documentation tag; here is the
> structure of my xsd file :
>
> <xs:element name="DemandeActeNaissance" type="DemandeActeNaissanceType">
> <xs:annotation>
> <xs:documentation>Racine du document XML décrivant une
> demande d'acte</xs:documentation>
> </xs:annotation>
> </xs:element>
>
> I would like to extract the text between my documentation tag but i
> don't find the right method to do that .
>
> i think about the getUserInformation method of XSDAnnnotation class
> but it return a Elist of Element and in the Element class i don't find
> the method to extract the information between the tag .
>
> Can somebody help me ?
>
> Thanks for your help !!
>
|
|
|
Re: How to extract the text in adocumentation tag ? [message #594883 is a reply to message #59477] |
Fri, 22 April 2005 14:08 |
Ed Merks Messages: 33133 Registered: July 2009 |
Senior Member |
|
|
Elhadji,
This is just a question about DOM itself. You need to do things like
Element.getFirstChild, Node.getNextSibling, Node.getNodeType() ==
Node.TEXT_NODE.
Elhadji wrote:
> Hi,
>
> I would like to extract the text in my documentation tag; here is the
> structure of my xsd file :
>
> <xs:element name="DemandeActeNaissance" type="DemandeActeNaissanceType">
> <xs:annotation>
> <xs:documentation>Racine du document XML décrivant une
> demande d'acte</xs:documentation>
> </xs:annotation>
> </xs:element>
>
> I would like to extract the text between my documentation tag but i
> don't find the right method to do that .
>
> i think about the getUserInformation method of XSDAnnnotation class
> but it return a Elist of Element and in the Element class i don't find
> the method to extract the information between the tag .
>
> Can somebody help me ?
>
> Thanks for your help !!
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02566 seconds