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

RE: And while you're figuring out my last one....

Subject: RE: And while you're figuring out my last one....
From: Rene de Vries <RdVries@xxxxxxxxxxx>
Date: Fri, 13 Jul 2001 14:43:09 +0200
att00012.txt
Hi Daniel,

Hope you're hungry for an answer now ;-))

I don't know if that's all you want, but if you do, you can simple make "empty" templates for what you want to leave out:
	<xsl:template match="Result"/>

	<xsl:template match="Code"/>

	<xsl:template match="NameAdress1"/>

	<xsl:template match="*">
		<xsl:if test="text()">
			<xsl:copy-of select="."/>
		</xsl:if>
	</xsl:template>

The extra test is because I suppose you want to supress NameAdress-nodes without contents....
And in that case, if Result and Code are always empty, you wouldn't even need the first 2 templates....

Greetings Rene
   { @   @ }
        ^
      \__/

"You don't need eyes to see, you need vision!"

-----Oorspronkelijk bericht-----
Van:	Daniel Newman [SMTP:daniel.newman@xxxxxxxxxxx]
Verzonden:	vrijdag 13 juli 2001 14:21
Aan:	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Onderwerp:	 And while you're figuring out my last one....

 << Bestand: ATT00012.txt; charset = Windows-1252 >> 


 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.