Subject: Re: Filterting an OO document
From: Michael B Allen <mba2000@xxxxxxxxxx>
Date: Wed, 18 Apr 2007 15:21:16 -0400
|
On Wed, 18 Apr 2007 21:13:38 +0200
Abel Braaksma <abel.online@xxxxxxxxx> wrote:
> Michael B Allen wrote:
> > Indeed. That helps. However, whenever an HTML tag is emitted the entire
> > block of xmlns definitions are coped into the output tag. Why is that
> > and how do I stop it?
> >
> >
>
> Why? I'd be guessing. I leave that to others to answer ;)
>
> But to get rid of them is easy. Just use the 'exclude-result-prefixes'
> int he xsl:stylesheet declaration and give it a space-separated list of
> prefixes you don't want. However, when you use a namespace that is
> required in your output, this declaration won't stop it from appearing,
> because otherwise the result document would not be what you intend it to be.
>
> Note that the appearance of extra namespaces don't change the XML nor
> the way it will be handled by applications for further processing.
Ok, it's working now. I'm just generating HTML so I don't think I need
to worry about namespaces in the output.
Thanks,
Mike
--
Michael B Allen
PHP Active Directory Kerberos SSO
http://www.ioplex.com/
|