- From: Jo Rabin <jrabin@mtld.mobi>
- Date: Tue, 15 May 2007 14:01:47 +0100
- To: Roland Gülle <roland@7val.com>
- Cc: <public-mobileok-checker@w3.org>
Oh, thanks, I see your point. Looks like a good idea to me. Jo > -----Original Message----- > From: Roland Gülle [mailto:roland@7val.com] > Sent: 15 May 2007 13:54 > To: Jo Rabin > Cc: public-mobileok-checker@w3.org > Subject: 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 13:02:00 UTC