wood burning stoves 2.0*
The moose likes Java in General and the fly likes problem in XML Parsing using XPathAPI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "problem in XML Parsing using XPathAPI " Watch "problem in XML Parsing using XPathAPI " New topic
Author

problem in XML Parsing using XPathAPI

Abhijit Das
Ranch Hand

Joined: Sep 25, 2007
Posts: 156
hi,
I can not parse an XML document using XPathAPI.
I have seen that there is problem in the attribute in the root element.
My document is


if I changed it to

That is if I change the attribute with same local part .
What is the meaning of The root node does not have an expanded-name.

Similarly
Two expanded-names are equal if they have the same local part, and either both have a null namespace URI or both have non-null namespace URIs that are equal


Again same XML file can be parsed using typical old APIs. I wan to using XPathAPI or XPath ( jdk 1.5)
Please help.

thanks


Abhijit Das
SCJP 5.0 | SCWCD 1.5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in XML Parsing using XPathAPI
 
Similar Threads
Please help in XPath to parse XML wiith namespace
Facing problem with JAXB1.0
Problem in XPath
Please help in XPath to parse XML with namespace
Question about generating XSD