Re: [xslt] Can anyone help with this?



Hi,

Add the attribute exclude-result-prefixes="#default" to the
"stylesheet" element. It will eliminate unused namespace nodes
of Literal Result Elements with a namespace URI of
"http://www.w3.org/1999/xhtml";.

Regards,

Kasimier

> -----Original Message-----
> From: xslt-bounces gnome org [mailto:xslt-bounces gnome org] 
> On Behalf Of nathan bullock
> Sent: Thursday, June 22, 2006 6:57 PM
> To: The Gnome XSLT library mailing-list
> Subject: Re: [xslt] Can anyone help with this?
> 
> Thanks for the quick reply, that seems almost correct, except that it
> still leaves this at the start of the resulting xml:
> 
> <html xmlns="http://www.w3.org/1999/xhtml";
> xmlns:xhtml="http://www.w3.org/1999/xhtml";>
> 
> Which appears to be invalid for a strict xhtml document (according to
> the w3c xhtml validator).
> 
> I tried to get rid of that using the namespace-alias command but that
> didn't seem to work.
> 
> Nathan Bullock
> _______________________________________________
> xslt mailing list, project page http://xmlsoft.org/XSLT/
> xslt gnome org
> http://mail.gnome.org/mailman/listinfo/xslt
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]