Groups > Design > Microsoft xsl > RE: How to create XSLT that produces XSLT




How to create XSLT that produces XSLT

How to create XSLT that produces XSLT
Wed, 9 Apr 2008 04:41:01 -0700
Having xslt file like this
<transform
	xmlns="http://www.w3.org/1999/XSL/Transform"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	version="1.0">
	<template match="/">
		<xsl:transform/>
	</template>
</transform>

I would suppose that (from any xml file) it generates another xslt file like 
this
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
/>

However (using MSXML 6), this error appears:
Keyword xsl:transform may not be used here.

How to generate XSLT file with correctly set namespaces?
Post Reply
RE: How to create XSLT that produces XSLT
Wed, 9 Apr 2008 04:58:00 -0700
I just have find solution using xsl:namespace-alias element,
see http://msdn2.microsoft.com/en-us/magazine/cc164034.aspx
Post Reply
about | contact