This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
newbie question
- From: "Mark Hutchinson" <markh at formulate dot freewire dot co dot uk>
- To: "XSL-list" <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 10 May 2002 21:47:17 +0100
- Subject: [xsl] newbie question
- Reply-to: xsl-list at lists dot mulberrytech dot com
I'm sure this will be a "no brainer" for those that have been using XSLT for
more than an hour or so - here goes ...
I have the following XML
=============
<proof aaa="111" bbb="222" ccc="333">
...
</proof>
=============
I assume that if I use xsl:element and xsl:attribute I can output the tag
and its attributes. I have tried copy-of but that copies the whole tag,
attributes and its contents but, it seems I can't do anything to the tags
that are contained within "proof".
If my assumption is correct about xsl:element / attribute how can I
reproduce an arbitrary set of attributes?
Regards
Mark Hutchinson, AFX Ltd
49 The Ridgeway
Amersham, Bucks
England HP7 9HJ
Tel: +44 (0)1494 729420
Fax: +44 (0)1494 729421
Mobile: +44 (0)7879 470181
Email: mailto:exec@afex.co.uk
Web: http://www.afex.co.uk/
Analyse, Formulate, eXecute
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list