RE: [xsl] exclude-result-prefixes

Subject: RE: [xsl] exclude-result-prefixes
From: Dmitri Ilyin <dmitri.ilyin@xxxxxxxxx>
Date: Mon, 17 Sep 2001 14:54:37 +0200
Now it works for me too. I forgot to include namespace decl. in XML
source....
Stupid for me ;)
But I steel can not get xslns from root.
I have 
<root xmlns:ns="URI" xmlns:ns2="URI2">
  <ns:sometag param="value"/>
</root>

I get 
<root xmlns:ns="URI" xmlns:ns2="URI2">
  <somatag param="value"/>
</root>

so the ns decl. from document are gone but they are steel in the root tag.
Can I drop it somehow from root tag???

Thanks

Dmitri
> -----Original Message-----
> From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
> Sent: Monday, September 17, 2001 2:05 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] exclude-result-prefixes 
> 
> 
> Well, are you using exclude-result-prefixes correctly in the 
> first place -
> e.g. are you trying to exclude namespace declarations for 
> namespaces that
> are used in the document? 
> 
> Jarno
> 
> > it seems not working with xalan...
> > 
> > > -----Original Message-----
> > > From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
> > > Sent: Monday, September 17, 2001 1:39 PM
> > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > > Subject: RE: [xsl] exclude-result-prefixes 
> > > 
> > > 
> > > > Where should i put "exclude-result-prefixes" in stylesheet???
> > > 
> > > http://www.w3.org/TR/xslt#stylesheet-element
> > > 
> > > Jarno
> > > 
> > >  XSL-List info and archive:  
> > http://www.mulberrytech.com/xsl/xsl-list
> > > 
> > 
> >  XSL-List info and archive:  
> http://www.mulberrytech.com/xsl/xsl-list
> > 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread