i tried doing this
exclude-result-prefixes="br">
because br is the only element affected.
is this right?
The pipeline failed to execute.
Quoting [EMAIL PROTECTED]:
>
> I know, but in my cases it works .... the exclude is very funny! ;-)
>
> Dirk
>
> Derek Hohls wrote:
> > Dirk
> >
> > From past posts, it seems that method (1) does not
> > always work - I know I have struggled with it too...
> > But if it does, then its probably the simplest!
> >
> > Derek
> >
> >
> >>>>[EMAIL PROTECTED] 2004/06/30 07:31:14 AM >>>
> >
> > Hello Oro,
> >
> > there are also other ways to solve your problem:
> >
> > (1) in the stylesheet
> >
> > the support the attribute
> > exclude-result-prefixes.
> > exclude-result-prefixes is a white-space delimited list of
> > namespaces to supress in the output. E.g.:
> >
> > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> > xmlns:page="http://apache.org/cocoon/paginate/1.0"
> > exclude-result-prefixes="page">
> > ...
> >
> >
> > (2) with the help of the serializer
> >
> > write a own serializer and extends from the wml serializer.
> > Overwrite the following Methods :
> >
> > public void endPrefixMapping(String prefix) throws SAXException
> > {
> > // TODO Auto-generated method stub
> > }
> >
> > public void startPrefixMapping(String prefix, String uri)
> > throws
> > SAXException {
> > // TODO Auto-generated method stub
> > }
> >
> > But with this approach you have no namespaces in your
> > output-document!
> >
> > I hope I could give you a little help!
> >
> > Dirk
> >
> >
> > Oro smith wrote:
> >
> >
> >
> >>I have an xsl which begins like this:
> >>
> >> >> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> >> xmlns:page="http://apache.org/cocoon/paginate/1.0"
> >>
> >>
> >>I also have
tags inside xsl. The xsl is used to generate wml.
> >>however when the wml is generated every br tag has an xmlns
> >
> > associated with it.
> >
> >>
> >>
> >>How can this be removed?
> >>
> >>
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>