| Author |
XML debugging : Getting the Line number of an XML node in an XML f
|
|
| shawnk 2004-06-21, 12:15 pm |
| Hello everyone,
I need to debug some XML files. I would like to find a particular target node and then print out the line number of the line in the XML document that contains the node. Is there any way to do this?
| |
|
| You may want xpath like count(ancestor::* | preceding::*). However that
depends on the formatting of the interested xml, which is unpredictable.
"shawnk" <shawnk@discussions.microsoft.com> wrote in message
news:57CE98E7-ADA4-4611-8D9F-1E44EF9F5EAD@microsoft.com...
> Hello everyone,
>
> I need to debug some XML files. I would like to find a particular target
node and then print out the line number of the line in the XML document that
contains the node. Is there any way to do this?
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |