[plt-scheme] xml-parsing
Hello List,
I am trying to parse an xml fragment. I am noting that it seems all the
provisions from the xml library require the document to be a full xml
document with a root tag. Is it not possible to parse fragments with the
current library? My desired function would be as such:
given a STDIN
this is a <a href="http://www.test.org">test</a>
a call to
(xml->xexpr (my-desired-function))
produces
("this is a " (a ((href "http://www.test.org")) "test"))
When (define my-desired-function read-xml/element) I get an error
complaining about a missing root tag :-\
Thank you,
-mike