Replies: 3 comments
-
Are you asking if it is possible to know the line number if you were speaking of text? For example: <xml>
<contents>
<content>First</content>
<content>Second</content>
</contents>
</xml> And then the element with the text of That information isn't provided by the library today; however, it looks like For example, attributes can be on their own line. Even textual content can be on its own line, but today it is only exposed as a string property. |
Beta Was this translation helpful? Give feedback.
-
Thanks, understand your concern. I didn't play with For example: the line range of
Actually, I am trying to mark up some inline attributes and leaf attributes on my UI with the original XML, so 'columnNumber' is also a good thing. For example: mark the
|
Beta Was this translation helpful? Give feedback.
-
Yeah, great point having it be modeled as a range - that's spot on. I'm certainly open the possibility of adding it at some point. I'll tag this as a feature request. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am using your project as XML parser. And I also want do some mark up on my UI.
It will be easier if I know the line number. But I didn't find any possible method.
Is that possible to know the line line number of specific XMLIndexer I am dealing with?
Beta Was this translation helpful? Give feedback.
All reactions