XML, XSLT, and Namespaces
-
I have an XSLT transform that's used to transform an XML file into WebControl treenodes. I'm wanting to use script in the transform, but in order to do so, I have to import the xmlns:msxsl namespace. When I do this, that namespace is also imported into the first <TREENODE> of the resulting XML. This causes the treeview webcontrol to give the error "The data at the root level is invalid.". How do I stop this namespace from being imported into the resulting XML?
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi -
I have an XSLT transform that's used to transform an XML file into WebControl treenodes. I'm wanting to use script in the transform, but in order to do so, I have to import the xmlns:msxsl namespace. When I do this, that namespace is also imported into the first <TREENODE> of the resulting XML. This causes the treeview webcontrol to give the error "The data at the root level is invalid.". How do I stop this namespace from being imported into the resulting XML?
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi