- From: Sebastian Rahtz <sebastian.rahtz@oucs.ox.ac.uk>
- Date: Sat, 01 Oct 2005 12:29:22 +0100
- 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()"/>
</div>
</xsl:template>
--
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
http://www.oss-watch.ac.uk
Received on Saturday, 1 October 2005 18:03:19 UTC