Re: Re: [xsl] Cannot process a result tree fragment as a node-set under XSLT 1.0 - My alternative don´t function

Subject: Re: Re: [xsl] Cannot process a result tree fragment as a node-set under XSLT 1.0 - My alternative don´t function
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 17 Apr 2008 10:33:08 +0100
> PD: str:to-upper is a template that converts all lowercase letters to 
> uppercase and I use xml v1.0 version 	

Can't you just use the translate function, then as it is all Xpath it is
trivial to put it into an Xpath filter.

If you can't (perhaps because you need an s sharp ligature to uppercase
to SS) then you can't do it in a single xpath filter in XSLT 1 you will
need something like
<xsl:for-each select="exp">
 <xsl:variable name="x">
  <xsl:call-template...
  </xsl:variable<

 <xsl:if test="contains(...)

    ... do something
 </xsl:if>
</xsl:for-each>

David

Current Thread