xsl-list
[Top] [All Lists]

[xsl] Generic stylesheet to flatten XML hierarchy

2009-12-03 13:50:51
I've been wandering through the archives and other searches and so far have not 
found exactly what I am hoping to find. I need to write an XSLT stylesheet that 
accepts an unknown XML document and flattens the hierarchy to a two-dimensional 
row/columns structure. 

I know the basics, especially when you know the input structure, but this has 
to be completely generic. The input document may have any level of repeating 
node sets, including none. I believe we can ignore (at least for the moment) 
mixed content. I'm getting stuck on the logic to handle the issue of any level 
of repeating nodes. 

Does anyone know of an example of anything approaching this? 

Sara


      

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--