Gard Arneson Haugen wrote:
Hi,
I'm using XML/XSL in Apache-asp to genereate HTML-pages.
Is there a way to include NOT-well-formed html in the XLS template ?
I need this because some of the pages should include input from the users, and I would like to allow them to use html in this input.
One of the points of XML is that anything that isn't XML won't be validated.
You might try therefore to escape common tags like <br> and <img> to <br/>
and <img .../>, but also do some runtime XML validation like running it through
XML::Simple in an eval {} or something to catch the error, so that users are
warned that they need to input properly escaped XHTML.
Regards,
Josh
________________________________________________________________
Josh Chamas, Founder phone:925-552-0128
Chamas Enterprises Inc. http://www.chamas.com
NodeWorks Link Checking http://www.nodeworks.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]