I tried what you said and it doesn't change anything, it still put the
xmlns:BB in my output file.
Some more details may help you to understand what's going on :
- I'm using a DOMSource for my XML file
- I'm using a StreamSource for my XSL file
- I'm using a StreamResult for my output HTML file
Is there any option to set in order to process the
exclude-result-prefixes="BB" instruction ?
Thanks.
-----Message d'origine-----
De: Bjoern Martin [mailto:[EMAIL PROTECTED]]
Date: mardi 31 juillet 2001 11:11
�: [EMAIL PROTECTED]
Objet: Re: Question about disabling namespace in the output of a Xalan
trans formation
> Hello to all XSL gurus,
>
> I have the following XML tree :
> <?xml version="1.0" encoding="ISO-8859-1"?>
[...]
> <LIB count="" xmlns:BB="http://ftrd/BB" res_link="../../">
> <ELT ref="XHTM.c.assistant.title.head">
> <title>Hello My Title</title>
> </ELT>
> </LIB>
[...]
> In my XSL, I use the following output directives :
> <xsl:output indent="yes" method="html" encoding="ISO-8859-1"/>
> <xsl:strip-space elements="*"/>
> <xsl:template match="text()"></xsl:template>
Add the attribute exclude-result-prefixes="BB" to your xsl:stylesheet
root element.
Regards.
--
Bjoern Martin [EMAIL PROTECTED]