cezheng / Fuzi

A fast & lightweight XML & HTML parser in Swift with XPath & CSS support
MIT License
1.06k stars 151 forks source link

Is there a way to know the XMLElement's data offset or string index ? #125

Open diiiv9 opened 1 year ago

diiiv9 commented 1 year ago

Is there someway to know the location of the XMLElement in the HTML string or it's data offset ? I need this to be able to manipulate the original HTML.