Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IDREF use in DOM

 
Jo Mo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic