File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes IDREF use in DOM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "IDREF use in DOM" Watch "IDREF use in DOM" New topic
Author

IDREF use in DOM

Jo Mo
Greenhorn

Joined: Jun 06, 2001
Posts: 3
I am trying to utilize IDREFs from within the DOM. I know that this is possible when using XSLT and performing a transform. MSXML parser provides a convenience method on their XMLDOMDocument object that returns the node indicated by an IDREF. Within code it is then possible to read the IDREF attribute value and quickly obtain the referenced node.
Is this type of behavior possible with any Java parser? I am currently using JAXP (which allows the use of compliant parser) but I have also been working with Xerces.
Any thoughts or ideas would be greatly appreciated.
 
 
subject: IDREF use in DOM
 
Similar Threads
XML parsing
Getting comment data using SAX....
Need help in modifying XML text value using DOm parser
Confusing - defer-node-expansion
Using DOM - Can I get the line number for a node