W3C home > Mailing lists > Public > www-dom-ts@w3.org > August 2001

Re: copy.xsl that implies <subject>'s from context

From: Mary Brady <mbrady@nist.gov>
Date: Fri, 17 Aug 2001 12:45:41 -0400
Message-ID: <00c901c1273c$0d5638c0$293b0681@HAPPY>
To: "Arnold, Curt" <Curt.Arnold@hyprotech.com>, <www-dom-ts@w3.org>
Looks good -- I'll rerun them.

--Mary

----- Original Message -----
From: "Arnold, Curt" <Curt.Arnold@hyprotech.com>
To: <www-dom-ts@w3.org>
Sent: Friday, August 17, 2001 12:29 PM
Subject: RE: copy.xsl that implies <subject>'s from context


> I had overlooked two (non-metadata) elements that have significant text
content, comment and member.  Adding the following template will process
those two elements.  All other whitespace will be
> discarded.
>
> <xsl:template match="*[local-name() = 'comment' or local-name() =
'member']">
> <xsl:element namespace="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
>              name="{local-name(.)}">
>      <xsl:apply-templates select="@*"/>
>      <xsl:apply-templates select="text()"/>
> </xsl:element>
> </xsl:template>
>
>
Received on Friday, 17 August 2001 12:47:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:03 UTC