[ACCEPTED]-How to remove namespace from the output xml?-xml-namespaces

Accepted answer
Score: 48

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">

More Related questions