On Feb 9, 2008, at 10:01 AM, Martin Honnen wrote:
Is there a way I can still use attributes yet escape these unsavory
characters? What's the most efficient way of solving this?
You need to escape the ampersand as &, the double quote as
", the less-than as < and the greater-than as >.
Use an API that does the escaping for you, for instance with
the .NET framework there is XmlWriter.
Thanks. I'm using Apache Cocoon.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--