Subject: RE: produce a list From: "Paal Eriksen" <pserik@xxxxxxxxxxx> Date: Mon, 10 Apr 2000 12:21:08 CEST |
From: Ben Robb <Ben@xxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxx To: "'xsl-list@xxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxx> Subject: RE: produce a list Date: Fri, 7 Apr 2000 15:21:44 +0100
<xsl:template match="*"> <xsl:choose> <xsl:when test="@id"> <xsl:value-of select="@id"/> </xsl:test> <xsl:otherwise> <xsl:value-of select="."/> </xsl:otherwise> </xsl:choose> <xsl:apply-templates/> </xsl:template>
<!-- negate the default text template --> <xsl:template match="text()" />
should work (though I haven't tested it)
Rgs,
Ben
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
produce a list, Paal Eriksen | Thread | JavaScript error in CDATA section: , Charlie Kaiman |
Wrong Version of MSXML Document Obj, Maria Manuel | Date | Re: JavaScript error in CDATA secti, Paal Eriksen |
Month |