parse-xml and cdata
[1/2] from: gilette::echo::fr at: 5-Aug-2002 15:23
Hello,
As anyone make a version of the function parse-xml that treats CDATA
blocks ?
So far :
parse-xml "<myTag><![CDATA[an example of data]]></myTag>"
== [document none [["myTag" none none]]]
i would like something like :
== [document none [["mytag"] none "an example of data"]]
I prefer to ask before reinventing the wheel :)
--
Serge Gilette
-------------------------
04 92 28 32 50
[2/2] from: brett:codeconscious at: 5-Aug-2002 23:41
Hi,
> As anyone make a version of the function parse-xml that treats CDATA
> blocks ?
Not sure, but have a look at Gavin's work:
http://www3.sympatico.ca/gavin.mckenzie/
Regards,
Brett.