Subject:How to create xsl which will copy all elements with attributes 2 levels deep Author:(Deleted User) Date:18 Jul 2009 06:06 AM Originally Posted: 18 Jul 2009 06:05 AM
Hi to you all,
I want to create an Excel sheet based on an xsd schema to supply to customers who have no knowledge of xml and want to fill their data in an Excel sheet. I used the document wizard to create an xml out of the xsd and I am now trying to extract all elements and attributes. This is what I've got so far:
This works except that it does not copy the attributes. I tried it by changing the for each select to <xsl:for-each select="//*"> but that is not the solution. Find attached also the xml to which I apply the style sheet.