Re: More checked into CVS

> What I had in mind was transforming the error string dependent on a  
> choice of output language. Why would XINCLUDE work better than  
> xsl:include?
The xsl:include is only allowed as a top-level element. We can use  
the XINCLUDE when the error occurs:
-----------
<xsl:variable name="language">en</xsl:variable>

<xsl:if test="false()">
				  <xi:include href="{$language}.xml" parse="xml" xpointer="element 
(errors/nr1)">
				    <xi:fallback>error nr. 1</xi:fallback>
				  </xi:include>
</xsl:if>
--------------

  roland

Received on Tuesday, 15 May 2007 12:54:36 UTC