RE: [xsl] Parsing XML tag attributes

Subject: RE: [xsl] Parsing XML tag attributes
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 4 Apr 2003 09:37:44 +0100
> 
> Have I overcomplicated the XML by using class with an element 
> attribute?  Would it make more sense to use this?
> 
> <class>
> 	<element>TestType</element>
> 	<documentation>Doc for TestType</documentation>
> </class>
> 

No, processing attributes in XSLT is just as easy as processing
elements.

Any XSLT textbook or tutorial will have examples of how to do this.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread