msxml get element line / position
-
I want to be able to get the line and position of an element in a xml document, so when when there is an error (not a parse error!, but e.g. attribute verification error)I can display the user the position in the document.
-
I want to be able to get the line and position of an element in a xml document, so when when there is an error (not a parse error!, but e.g. attribute verification error)I can display the user the position in the document.
I don't use MSXML, but in XML4C you can use the
Locator
object (that's passed to your error handler) to find the current line and column. I suspect there's an equivalent class in MSXML. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com -
I don't use MSXML, but in XML4C you can use the
Locator
object (that's passed to your error handler) to find the current line and column. I suspect there's an equivalent class in MSXML. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.comI could not find anything similar in the MSXML dom parser.