xsl-list
[Top] [All Lists]

RE: Can one stylesheet handle two different xml files with different nodes?

2004-01-16 02:50:38
I've been looking at the namespace-alias element, but I am 
still confused how this helps me transform two different xml 
files using one Stylesheet.  The only thing that I have been 
able to do is convert one Stylesheet to another.  I could do 
this using the replace feature in my IDE in a timelier manner.  


Sorry, I think I suggested that you run before you've learnt to walk.

The idea is that if you want to have two very similar stylesheets, for
example ones that differ only in the names of the elements or perhaps in
a single namespace declaration, then you can create these two
stylesheets by means of a transformation from a common meta-stylesheet.

Michael Kay


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