xsl-list
[Top] [All Lists]

Match on Element Value?

2004-08-11 07:32:42
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




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