W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2005

Re: replacing a tag element and copying the contents into it in

From: Sebastian Rahtz <sebastian.rahtz@oucs.ox.ac.uk>
Date: Sat, 01 Oct 2005 12:29:22 +0100
Message-ID: <433E7312.8000005@oucs.ox.ac.uk>
To: T Kiernan <tkiernan@gmail.com>
CC: www-xsl-fo@w3.org

T Kiernan wrote:

>Any ideas why it's not ... ???
because you cannot add attribute nodes to plain text,
which is all you generated

you mean

 <xsl:template match="cat">
    <div class="{local-name(.)}">
    <xsl:copy-of select="@*|*|text()|comment()"/>

Sebastian Rahtz      
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

OSS Watch: JISC Open Source Advisory Service
Received on Saturday, 1 October 2005 18:03:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT