W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > May 2007

Re: More checked into CVS

From: Roland Gülle <roland@7val.com>
Date: Tue, 15 May 2007 14:54:20 +0200
Message-Id: <992A16F9-21A0-49C7-958E-CA719A05C125@7val.com>
Cc: <public-mobileok-checker@w3.org>
To: "Jo Rabin" <jrabin@mtld.mobi>

> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:03 GMT