• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Selecting a Node with a namespace defined

 
Rudolf Castelino
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Is there any efficient way to retrieve a namespace aware node from an xml document.
The Axis XPathAPI, does not provide any method to locate a node using namespaces.
Please help
regards
Rudolf
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Its possible.
Declare the namespace on top of the xsl template or stylesheet w.r.t to input XML.
Use the above declared namespace qualifier to identify the xml nodes.
 
Rudolf Castelino
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thanks for the input. We are not using the XML with stylesheets. It is being used for datatransfer.
Would it be possible for you to provide a code snippet?
Regards
Rudolf
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic