Subject: template matching.. display the data
From: Nilofer Motiwala <nilum@xxxxxxxxxxxxx>
Date: Fri, 19 Mar 1999 17:03:42 -0800
|
Hello all,
I have a question on the template matching.
My Xml file has some data of the form
<Name type="text" color="blue">
Nilofer
</Name>
I am interested in matching the type field of the Name tag, and if it is
a text then displaying the data.
Here is what I tried:
<xsl:template match="Name[@Type='text']">
</xsl:template>
1) Not too sure how to display the data
2) Tried using the xsl:text and xsl:process-children, within the
tempalte match and IE5 was not happy
does any one know how to go about this task?
Thanks for answering my queries!
Nilofer Motiwala
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|