xsl-list
[Top] [All Lists]

Re: [xsl] problem with fn:contains using xsl:param

2009-12-13 18:14:04
See what Mike said in this regard ... my suggestion is not namespace-safe and I did not think of that in my haste.

. . . . . . . Ken

At 2009-12-13 17:40 -0500, I wrote:
In XSLT 2 you might consider something like:

  <xsl:param name="KnownXSDTypes" as="element()*">
   <type>xsd:date</type>
   <type>xsd:dateTime</type>
   <type>xsd:boolean</type>
  </xsl:param>
  ...
  <xsl:template match="xsd:element[(_at_)type=$KnownXSDTypes]">


--
XSLT/XQuery/XPath training after http://XMLPrague.cz 2010-03-15/19
Vote for your XML training:   http://www.CraneSoftwrights.com/s/i/
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


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

<Prev in Thread] Current Thread [Next in Thread>