Re: [xsl] newbie question

Subject: Re: [xsl] newbie question
From: Mike Brown <mike@xxxxxxxx>
Date: Sat, 11 May 2002 01:21:15 -0600 (MDT)
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


Current Thread