[xsl] Match on Element Value?

Subject: [xsl] Match on Element Value?
From: "Peter Charles" <petefc@xxxxxxxxxxxxxxxxx>
Date: Wed, 11 Aug 2004 07:32:42 -0700
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