[xsl] elements to attributes

Subject: [xsl] elements to attributes
From: "Challa, Harsha" <hchalla@xxxxxxxxxxxx>
Date: Fri, 28 Feb 2003 14:23:01 -0500
Hi all 

New to XSL world
I have a document somewhat like this  with attributes 
and its a huge xml document with levels of hierarchy 

great grand parent 

	grand parent ( has attributes and elements)

		parent ( has attributes and elements)
	
			child ( has attributes and elements) 

			child ( has attributes and elements) 

		parent 
			.......
			.......
			.......
	

	grand parent 

		......
	
		......
	
	grand parent 
	
		......
		.....
		....

great grand parent 


and I need my result XML document to have all the attributes in each level
converted to elements at same level
Can there be a generic xsl which looks at all the nodes and does this?



thanks for help 
Harsha






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


Current Thread