This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: And while you're figuring out my last one....
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] And while you're figuring out my last one....
- From: Rene de Vries <RdVries at PCL-HaGe dot nl>
- Date: Fri, 13 Jul 2001 14:43:09 +0200
- Organization: PCL HaGé b.v.
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@bis-web.com]
Verzonden: vrijdag 13 juli 2001 14:21
Aan: xsl-list@lists.mulberrytech.com
Onderwerp: [xsl] 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