[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Turning off 'well-formedness'

Subject: Turning off 'well-formedness'
From: Richard Garcia <RGarcia@xxxxxxxxxxxxxxx>
Date: Wed, 9 Jan 2002 13:20:55 -0800
richard garcia

I am trying to create the following marked-up tags using MSXML3 on an IE5.x

	data1 <br />
	data2 <br />
	data3 <br />
	data4 <br />
	data5 <br />
	data6 <br />
my source file looks like:

my stylesheet looks like:

<xsl:for-each select="Record">
	<xsl:variable name="recordNum"><xsl:number
	<xsl:if test="(number($recordNum) = 1) or (number($recordNum) = 4)">
		<xsl:value-of select="."/><xsl:value-of
select="$recordNum"/><br />
	<xsl:if test="(number($recordNum) = 3) or (number($recordNum) = 6)">

I receive the following error:

End tag 'xsl:if' does not match the start tag 'td'. Error processing
resource.  Using <![CDATA[ <td> ]]> does create my desired tag structure but
it doesn't mark-up the <td> & </td> tags.

Is there a better way of coding this?  Or if it is possible, how can one
turn off XML/HTML 'well-formedness'?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.