I'm having difficulty XSL tranforming some XML of the form <some_element >
<jis>1234</jis></some_element> into the xhtml form <img
src="jis/1234.gif"/>
My initial idea was to use the following XSL:
<xsl:text><im g src="jis/</xsl:text><xsl:v alue-of select"./jis/text()"/>
<xsl:text>.gi f"/></xsl:text>
But when I run this, I get the error that "src may not contain a <
symbol" (I run this in the XSLT engine that comes with the Exchanger XML
editor v2, which uses Xerces 2.6.2 and Saxon 6.5.2). I must admit being
slightly confused... am I using <xsl:text> wrong, or should this work for
all intents and purposes?
Mike Kamermans
<jis>1234</jis></some_element> into the xhtml form <img
src="jis/1234.gif"/>
My initial idea was to use the following XSL:
<xsl:text><im g src="jis/</xsl:text><xsl:v alue-of select"./jis/text()"/>
<xsl:text>.gi f"/></xsl:text>
But when I run this, I get the error that "src may not contain a <
symbol" (I run this in the XSLT engine that comes with the Exchanger XML
editor v2, which uses Xerces 2.6.2 and Saxon 6.5.2). I must admit being
slightly confused... am I using <xsl:text> wrong, or should this work for
all intents and purposes?
Mike Kamermans
Comment