This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > June 2004 > Re: XML debugging : Getting the Line number of an XML node in an





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: XML debugging : Getting the Line number of an XML node in an
Oleg Tkachenko [MVP]

2004-06-22, 12:16 pm

shawnk wrote:

> 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?


If you are talking about .NET, take a look at ILineInfo interface and
MSDN sample of extending XmlDocument to support ILineInfo.

--
Oleg Tkachenko [XML MVP]
http://blog.tkachenko.com
Oleg Tkachenko [MVP]

2004-06-27, 12:17 pm

shawnk wrote:

> I searched the MSDN site and all information on ILineInfo dealt with DHTML and the browser. I looked through a lot of other MS docs but have yet to find any APIs in .NET that allow XML data debugging. Do you have an URL that contains the sample you ment

ioned ??

Sorry, it's IXmlLineInfo. See
http://msdn.microsoft.com/library/e....asp?frame=true

--
Oleg Tkachenko [XML MVP]
http://blog.tkachenko.com
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews