This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
attribute question
- From: Kevin dot Gutch at mapinfo dot com
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 16 Jan 2002 21:58:57 -0500
- Subject: [xsl] attribute question
- Reply-to: xsl-list at lists dot mulberrytech dot com
I am currently using Xalan\Xerces. I am trying to match an attribute. See
below:
<rendition>
<style color="#FFFFFF" border="#FFFFFF" ></style>
</rendition>
I am having difficulty matching the attribute. See below:
<xsl:template match="@color>
<xsl:attribute name="color">
<!--Insert some value -->
</xsl:attribute>
</xsl:template>
I have seen plenty of examples that do this exact same procedure. Am I
doing something incorrect?
Any help is greatly appreciated.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list