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 
				    <xi:fallback>error nr. 1</xi:fallback>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:18 UTC