How to force an empty namespace in a XML file using XSLT transformation -


i have xslt transformation converts xml, , need have following empty namespace in 1 tag:

<rps xmlns=""> 

the header of xml file is:

<?xml version="1.0" encoding="utf-8"?> <rps>...</rps> 

the header of xslt is:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/xsl/transform" xmlns:g="http://www.g2ka.com.br" xmlns:g2ka="com.g2ka.nfse.offline.util.offlineutils" xmlns:util="com.g2ka.nfse.util.util" exclude-result-prefixes="g g2ka util"> <xsl:output method="xml" version="1.0" encoding="iso-8859-1" standalone="yes" indent="yes"/> 

what can force xmlns="" in rps tag? help.

this cannot done in xslt. empty namespace declaration on root element entirely redundant , removed (unless you're using libxslt processor).


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -