Subject: Re: [xsl] Match on Element Value? From: "M. David Peterson" <m.david@xxxxxxxxxx> Date: Wed, 11 Aug 2004 08:36:21 -0600 |
<xsl:template match="name[. = 'name']"> ..process </xsl:template>
Hello,
I know that it is easy to create a match pattern that utilizes an attributes value, but is there a good way to create a template that matches on an element with a specific value?
Something like this:
<template match="name='name'"> ..... </template>
<document type="test">
<name>name</name
<author>john</author>
<text>text</text>
</document>
Thanks
Peter
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Match on Element Value?, Peter Charles | Thread | Re: [xsl] Match on Element Value?, David Carlisle |
[xsl] Match on Element Value?, Peter Charles | Date | Re: [xsl] regexs, grouping (?) and , Jeni Tennison |
Month |