This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Problem with xsl file
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Problem with xsl file
- From: "Christopher R. Maden" <crism at maden dot org>
- Date: Sun, 30 Sep 2001 22:00:49 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
At 21:43 30-09-2001, Bikash Paul wrote:
>xsl file:-
><xsl:template match="para">
><xsl:for-each select="style">
><xsl:attribute name="color">
><xsl:value-of select="@color1"/>
></xsl:attribute>
You're creating attributes in the result tree, but you're not creating them
within any element. This should give you an error.
-Chris
--
Christopher R. Maden, Principal Consultant, HMM Consulting Int'l, Inc.
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://www.hmmci.com/ > <URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list