XSLT remplate matching

Unregistered

Usenet Archive
Joined
Jul 1, 2003
Messages
28
Reaction score
0
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
 

Dean Tiegs

Usenet Archive
Joined
Oct 6, 2002
Messages
29
Reaction score
0
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
548,042
Messages
3,104,223
Members
248,131
Latest member
Tonypshaw1

Latest Threads

Top