posted 16 years ago
hi,
I can not parse XML document having namespace in the root element.Is there any condition to parse a XML file with namespace by using XPath APIs?I have a .xml file with the following root element with namespace ( it is .xpdl file generated from BPMN).
e.g.
The Above file is not parsing. My coding is
But, once I change the attribute of <Package> element with only one type of attribute "xmlns".
It works fine.
Thanks in advance
Abhijit Das
SCJP 5.0 | SCWCD 1.5