March 2009 Entries

Creating Xsl from Xsl

I've been working on creating an xsl stylesheet from an xml document transformed by a base xsl stylesheet. The problem I was having is that the xsl elements I wanted to output were causing validation errors in VS2005. Of course trying to googling creating xsl from xsl resulted in nothing that approached the problem. I finally stumbled on the solution. Use the xsl:namespace-alias element to convert the namespace in the stylesheet into another alias in the transform. The microsft XSLT documentation ......