Re: [xsl] namespace declaration problem creating new xml file

Subject: Re: [xsl] namespace declaration problem creating new xml file
From: Pablo Sebastian Rodriguez <psrodriguez@xxxxxxxxxxxxxxxx>
Date: Fri, 29 Aug 2008 12:43:08 -0300
Colin Paul Adams escribiC3:
"Pablo" == Pablo Sebastian Rodriguez <psrodriguez@xxxxxxxxxxxxxxxx> writes:

Pablo> Hi, I have this input and i want to split it into multiple Pablo> files, one per each "table" element

     Pablo> The problem is that the namespace declaration (
    Pablo> "xmlns:fn..." ) gets added inside the root element of every
    Pablo> file created, like this:

Pablo> What am i doing wrong ? Anyway to avoid this ?

If you don't want it (it is harmless, so you could just leave it, but
...) remove the xmlns:fn declaration - you don't need it.
is not harmless, the adoSchema class from the axmls package won't work with the extra attribute
... exclude-result-prefixes is the solution
thanks


Current Thread