AJAX Forums

I want to write an asp.net app that reads an xml file and outputs the

This is a discussion on I want to write an asp.net app that reads an xml file and outputs the within the XML and XSLT forums, part of the Beginners AJAX category; xpath names such as? input file: <parent> <child> <subchild> abc </subchild> </child> <othernode> 123 </othernode> </...


Go Back   AJAX Forums > Beginners AJAX > XML and XSLT

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 11-16-2007, 12:33 PM   #1 (permalink)
Junior Member
 
Join Date: Nov 2007
Posts: 1
Rep Power: 0 Code D is on a distinguished road
I want to write an asp.net app that reads an xml file and outputs the

xpath names such as? input file:
<parent>
<child>
<subchild>
abc
</subchild>
</child>
<othernode>
123
</othernode>
</parent>

output display:

parent/child/subchild
parent/othernode


Not thae if outputs the full xpath namespace for each node. Does anyone have a link to code that already does this or do you know of a quick way to code it using the XPathNavigator methods?
input file:
<parent>
<child>
<subchild>
abc
</subchild>
</child>
<othernode>
123
</othernode>
</parent>

output display:

parent/child/subchild
parent/othernode


*Note that it outputs the full xpath namespace for each node. Does anyone have a link to code that already does this or do you know of a quick way to code it using the XPathNavigator methods?
__________________
Code D is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes



All times are GMT -4. The time now is 03:38 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com