This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: newbie question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]