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@xxxxxxxxxx
Web: http://www.afex.co.uk/
Analyse, Formulate, eXecute
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- newbie question
- Mark Hutchinson - Sat, 11 May 2002 01:08:17 -0400 (EDT) <=
- <Possible follow-ups>
- Roma Yankin - Sat, 11 May 2002 12:53:56 -0400 (EDT)
- Varley, Roger - Fri, 17 May 2002 05:02:44 -0400 (EDT)
|
|