10 TIPs - To Become a Good Developer/Programmer
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Jayakumar Balasubramaniam
238
10.2k
1.1m
Reading Xml Node with Namespace
Oct 29 2015 7:42 AM
Hi All,
I have XML file, which have namespace in it.. I have to read the values in XML file without removing those namespaces.
Sample XML:
<SSOToken xmlns="com.test/2010/10/10" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ObjectId/>
<ObjectType/>
<SSOTokenGuid>testID</SSOTokenGuid>
<UserIdentifier>testUser</UserIdentifier>
</SSOToken>
I tried by removing the namespace before reading the values and that works fine.
But my requirement is I should not remove the namespaces..
How can I achieve this, Can anyone please help ??
Thanks In Advance.....
Regards,
Jayakumar B
Reply
Answers (
2
)
iPhone , iPad Development in virtulization
Sending Json data to Model in MVC