XSLT remplate matching

U

Unregistered

Hi i was just wandering if someone can help !


say i had a xml tag eg.
<happy iam="no">
</happy>

how get xslt to match the happy template where iam=no

ive tried
<xsl:template match="happy i am=no">
it doesnt seem to work

than

Unregistered
 
D

Dean Tiegs

Unregistered said:
say i had a xml tag eg.
<happy iam="no">
</happy>

how get xslt to match the happy template where iam=no

ive tried
<xsl:template match="happy i am=no">
it doesnt seem to work

<xsl:template match="happy[@iam='no']">...</xsl:template>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top