Skip to main content



      Home
Home » Archived » 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 08:58 Go to next message
Eclipse UserFriend
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 10:08 Go to previous message
Eclipse UserFriend
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 10:08 Go to previous message
Eclipse UserFriend
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: Sun Jun 01 16:08:05 EDT 2025

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

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

Back to the top