msxsl

XSL: Avoid exporting namespace defintions to resulting XML documents.

I'd like to take data from some XML files and transform them into a new XML document. However, I do not want the definition of a namespace in the XSLT to occur in the result document. In other words: source: <Namespace:Root xmlns:Namespace="http://www.something.com"&gt; stylesheet: <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:...

successor of msxsl.exe?

We intend to migrate our framework from msxml4 to msxml6. We where using msxsl.exe as yet. It seems to support only MSXML versions up to 4.0, as command line msxsl.exe -u version 6.0 tells me. Is there a successor of msxsl.exe? Any alternative command line processor? ...

XSLT: Using an assembly for scripting in a referenced XSL template

There are two XSL files. One includes another using an <xsl:include>. The main template desides which actual templates to call depending on node values, and included templates contain actual transformation rules. Nothing special here. But included file has a script block: <msxsl:script language="VB" implements-prefix="user"> <msx...

How to only convert an XML file's attribute using XSLT, and leave the other content?

I have a xml file as below, and now I want to use the XSLT to transformer it, keep all the elements and attributes, but if it happen to the attributes with the value started with "SQL:", then execute the sql and replace the attribute value with the resolved SQL(it involve the http://msdn.microsoft.com/en-us/library/533texsx(VS.90).aspx. ...

Copy the attributes in XSLT

Now I have an XML file as below: <DM Name="A DM"> <DV id="SQL:Select something from db" Name="DV 1"> <Sample aid="SQL:Select something from db" /> </DV> <DV id="SQL:Select something from db" Name="DV 2"> <Sample aid="SQL:Select something from db" name ="DC"> good </Sample> </DV> </DM> I want to us...