Finding containing XML node based on character offset

前端 未结 0 879
北荒
北荒 2021-01-16 03:16

Based on a character offset into an XML document, how can I find the containing node of that character position?

For example consider the XML:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题