Subject: [xsl] Custom function in template match predicate From: Ian Stokes-Rees <ijstokes@xxxxxxxxxxxx> Date: Tue, 23 Sep 2008 13:18:57 -0400 |
<xsl:template match=" foo[ substring-after(./@format,':') = 'type1' and namespace-uri-for-prefix(substring-before(./@format,':'),.) = 'http://example.com/schemas/formats' ]">
<table xmlns:fmt='http://example.com/schemas/formats'> <foo format="fmt:type1">2008-09-23</foo> <foo format="fmt:type2">9/23/08</foo> </table>
-- Ian.Stokes-Rees@xxxxxxxxxxxx +1 (617) 418-4168 SP Metric Limited, Technology Consulting
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
AW: [xsl] conditional <sql:column> , Szabo, Patrick (LNG- | Thread | Re: [xsl] Custom function in templa, Florent Georges |
AW: AW: AW: AW: [xsl] conditional <, Szabo, Patrick (LNG- | Date | Re: [xsl] Self-analysing stylesheet, Michael Ludwig |
Month |