XSL transformation in Firefox, how to omit xmlns in returned transformation?

I am trying to convert XSL to javascript in Firefox 3.5. The converted value has something like this:

<span xmlns="http://www.w3.org/1999/xhtml/">...</span>

      

How can I ensure that xmlns is not installed here? This only happens in Firefox, not IE.

+2


a source to share


1 answer


Why do you want to remove the namespace?

The purpose of namespaces is not always well understood or appreciated.



If you are converting to XHTML, the namespace is valid (and might be useful). It tells you (and more importantly the browser) what type of element span

you are dealing with so you can decide how to display it. Depending on the dictionary or version of the dictionary, you may decide to handle XML differently.

0


a source







All Articles