Hi..
xml version="1.0" ?>
- <uevol:ICD doc-ref="UEVOL-0226-1E" from="ZC" to="ATS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="ISIS ../uevol-ICD-Doc.xsd" xmlns:uevol="ISIS">
<uevol:constant name="AP_status_request_period" value="1" description="Message "Train AP status Request" period" />
c this is partial xml file.. the tag name and element name it contains prefixes, when i load this file using xml Document and use Xpath query to get "uevol:constant name="AP_status_request_period"" or any other Attribute or Tag it self it is giving XpathException "Namespace Manager or XsltContext needed. This query has a prefix, variable, or user-defined function."
here how i have to provide Namespace manager to solve this problem.
Thanks in Advance
Regards
Navanath Mulge
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
shekhar pawarPosted Jun 1, 2010, 10:44 AM
I am also facing similar kind of issue for xml tags in one of my c# project. I am not getting how I can create an XmlDocument with <uevol:ICD such kind of tags. Have you got any solution for that? Could you please provide me some guidelines to overcome it?
Thanks in advance.
Regards,
Shekhar
LisaPosted Apr 13, 2009, 5:49 AM
looks like there should be a problem with in the XML, you might be not reading the correct nodes in the code , posting the code and xml would help. or you can double check yourself
Thanks,
Lisa