[plt-scheme] using pi structs in xml.ss

From: wayne at taxupdate.com (wayne at taxupdate.com)
Date: Tue Nov 21 05:21:10 EST 2006

On Tue, Nov 21, 2006 at 10:56:47AM -0500, Jay McCarthy wrote:
> Ah, it appears that xml.ss, it looks like it illegal to have CDATA in
> the attribute values. So, since PHP is not valid XML, I think you will
> have difficulty using xml.ss to work with it. You could just copy
> xml.ss and hack it to allow you to put in arbitrary text in those
> places.

I made a brief attempt to do this by putting local copies of xexpr->xml and
srep->attribute into my code.  I'm not fluent enough with mzscheme to understand
why altering the local srep->attribute (to allow non-strings) still gives the
same error.  To me, following all the unit/sig setup is a little mysterious--
it's not clear how many of the xml.ss component files I'd need to copy and
alter.

Wayne



Posted on the users mailing list.