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

RE:

Subject: RE:
From: "Zarella Rendon" <zarella@xxxxxxxxxxxxx>
Date: Mon, 29 Oct 2001 21:42:21 -0600
div tag two rows
If you absolutely insist on using un-well-formed xml, you can use <xsl:text>
with disable-output-escaping set to yes to generate "pseudo-tags" that won't
get parsed out of the XSLT stylesheet:

<xsl:text disable-output-escaping="yes">&lt;div></xsl:text>

This will generate a <div> tag in the output, but is ignored by the
processor because it is not technically a "tag".


--------------
Zarella Rendon
Principal Consultant
HMM Consulting International, Inc.
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://www.hmmci.com/ >
zarella@xxxxxxxxx




> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> Littlefield@xxxxxxxxxxxxxxxxxxxxxxxxxxx
> Sent: Tuesday, October 23, 2001 5:10 AM
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:
>
>
> <element id="42" Description="Sales Variance" type="1" cube="0" close="">
> 	<data id="0" date="11/05/2002" value="0000" quantity="0000"/>
> 	<data id="1" date="18/05/2002" value="0000" quantity="0000"/>
> 	<data id="2" date="25/05/2002" value="0000" quantity="0000"/>
> </element>
> <element id="43" Description="Lower Limit" type="2" cube="0" close="">
> 	<data id="0" date="11/05/2002" value="-15000" quantity=""/>
> 	<data id="1" date="18/05/2002" value="-15000" quantity=""/>
> 	<data id="2" date="25/05/2002" value="-15000" quantity=""/>
> </element>
> <element id="44" Description="Upper Limit" type="2" cube="0" close="true">
> 	<data id="0" date="11/05/2002" value="15000" quantity=""/>
> 	<data id="1" date="18/05/2002" value="15000" quantity=""/>
> 	<data id="2" date="25/05/2002" value="15000" quantity=""/>
> </element>
>
> <xsl:if match=".[@type='1']">
> 	<table border="0" cellspacing="1" cellpadding="1"><td></td></table>
> 	<div style="display:none;"><table border="0"
> cellspacing="1" cellpadding="1">
> </xsl:if>
> <xsl:if match=".[@type='2']">
> 	<div style="display:none;"><table border="0"
> cellspacing="1" cellpadding="1">
> 	<tr><xsl:for-each select="./data"><td ><input
> type="text"></input></td></xsl:for-each></tr>
> </xsl:if>
> <xsl:if match=".[@close='true']">
> 	<tr><xsl:for-each select="./data"><td><input
> type="text"></input></td></xsl:for-each></tr>
> 	</table></div>
> </xsl:if>
>
> A type 1 will always be followed by a type 2 and there will
> always be two type 2's. The type 2's need to be included within a
> div tag as the two rows are hidden and only displayed when the
> user clicks a corresponding row in a different frame. The fact
> that the closing tag is included in a different xsl tag seems to
> pose a problem. Any help!
>
>
> _______________________________________________________________________
> Never pay another Internet phone bill!
> Freeserve AnyTime, for all the Internet access you want, day and
> night, only £12.99 per month.
> Sign-up at http://www.freeserve.com/time/anytime
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.