Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
How to handle colon in xml Tag name
Navanath Mulge
Apr 13 2009 3:13 AM
9.8k
Reply
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:constants
>
<
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
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Y we use web parts
Windows media player ,not able to find the control in the tool box