Hi all, well, I'm having a in-memory XML fragment like:
"Hello, <b>World</b>! <i>biba</i>"
and I'd like to write an XPath functions to return the
tree representation of the above XML fragment.
However, xmlParseMemory *seems* to expect a complete document,
and not an XML fragment, in fact, the above example
would than have two root element nodes which is not valid.
Though, what I need, is, to parse this string somehow into an
XPath node-set I can safely return within my XPath function.
But I couldn't find any good hints within the API/sources :(
Best regards,
Christian Parpart.
pgp4w55YCPTU6.pgp
Description: PGP signature
_______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
