xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] entity references in xsl:message content


Subject: [xsl] entity references in xsl:message content
From: Kevin Rodgers <kevin.rodgers@xxxxxxx>
Date: Wed, 2 Mar 2005 17:21:12 -0700

Why does:

<xsl:message terminate="no">&lt;element attribute=&quot;value&quot;&gt;</xsl:message>

output:

&lt;element attribute="value"&gt;

instead of (what I intend):

<element attribute="value">

or even (consistent interpretation of entity references)

&lt;element attribute=&quot;value&quot;&gt;

That is, shouldn't xsl:message serialize it as either text (my
preference) or xml (also reasonable)?  Should I specify
disable-output-escaping="yes" somewhere within xsl:message?

In case it matters, I'm running Saxon 8.3 with these declarations:

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>

Thanks,
-- 
Kevin


Current Thread
Keywords
xml
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor