This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: newbie question
- From: Mike Brown <mike at skew dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sat, 11 May 2002 01:21:15 -0600 (MDT)
- Subject: Re: [xsl] newbie question
- Reply-to: xsl-list at lists dot mulberrytech dot com
Mark Hutchinson wrote:
> <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?
Read up on xsl:copy in the spec or in Michael Kay's book, or wait for Jeni
Tennison to write a thorough tutorial for you later today.
- Mike
____________________________________________________________________________
mike j. brown | xml/xslt: http://skew.org/xml/
denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list