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]

string-calculated entity reference


Subject: string-calculated entity reference
From: "Mok" <CMOK@xxxxxxxx>
Date: Tue, 14 Dec 1999 11:21:49 -0000

Is is possible to string-calculated entity reference?
what i mean is instead of saying &a; or &b;,
i want something like &x; where x is calculated to be a or b.
is this possible?

i have now this:

<!DOCTYPE stylesheet [
<!ENTITY a "hello">
<!ENTITY b "bye">
]
<xsl:stylesheet>
  
<xsl:template match="a"/>
 &a;
</xsl:template>

<xsl:template match="b"/>
 &b;
</xsl:template>

</xsl:stylesheet>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
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