Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » How to extract the text in adocumentation tag ?
How to extract the text in adocumentation tag ? [message #59477] Fri, 22 April 2005 12:58 Go to next message
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 Go to previous message
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 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26039
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 !!
>
Previous Topic:How to extract the text in adocumentation tag ?
Next Topic:getValue getEffectiveValue
Goto Forum:
  


Current Time: Tue Sep 16 03:00:39 GMT 2014

Powered by FUDForum. Page generated in 0.02107 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software