xsl-list
[Top] [All Lists]

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

2008-04-17 02:34:21


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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--