Citat "Mengel Andre (FV/SLM) *" <[EMAIL PROTECTED]>:

> Dear J-Parser-Experts,
> 
> I have a question refering to the Xerces Java 1 parser.
> Is it possible to use this parser in order to determine the type of an
> element
> of an XML-Document ?
> The XML-Document is schema based.
> Is there any class or function to get this information ?
> Thank you for your efforts and best regards,
> 
> Andre Mengel
> 

Yes, if you parse the document to a DOM using a DOMParser you can use the 
Node.getNodeType() on all nodes and compare the returned value with the 
staticlly defined values in Node to determine the type of the node.


       _\|/_
       (@ @)
---oOOo-(_)-oOOo---
    Ren� Jensen
 [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to