[xml] extracting xml subtree text from xmlNode



I have xmlNodePtr pointing to a particular xmlNode in a DOM tree.

I’m looking for a way to get full XML text of a subtree from that point on – i.e. XML string representing entire subtree, for which currently pointed node is a root.

I’d appreciate any suggestions/examples on how this can be acomplished.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]