|
Subject: RE: [xsl] And while you're figuring out my last one.... From: Rene de Vries <RdVries@xxxxxxxxxxx> Date: Fri, 13 Jul 2001 14:43:09 +0200 |
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: [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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] XSL + Java extensions + X, Mattio Valentino | Thread | RE: [xsl] And while you're figuring, Daniel Newman |
| RE: [xsl] variable match attribute, Bedwell Tom | Date | RE: [xsl] Trying to put a <BR> in a, Kerin Cosford |
| Month |