[ACCEPTED]-How to remove namespace from the output xml?-xml-namespaces
Accepted answer
To exclude a namespace then you should represent 2 this way:-
exclude-result-prefixes="ms ns xsi
"
Basically your stylesheet looks 1 like this:-
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ms="http://www.test.com/schemas/test"
xmlns:ns="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="ms ns xsi">
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.