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

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