[Yanel-dev] xml resource-type lossing namespace declaration when applying xslt

Michael Wechner michael.wechner at wyona.com
Thu Jun 25 14:15:59 CEST 2009


simon litwan schrieb:
> hi all
>
> i have a probelm with basicxml based resource-types. when i want to 
> generate a xml (not xhtml) it looses namespace declarations when 
> transformed by a xslt.

yes, I have noticed the same problem some time ago

http://lists.wyona.org/pipermail/yanel-development/2008-September/002358.html

Will try to take another look at it ...

Cheers

Michi
>
> for example if i have following source file:
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
> [...]
> </fo:root>
>
> and do not apply any xslt the result is
>
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
> [...]
> </fo:root>
>
> as soon as i apply an xslt the reult looks like this
>
>
> <fo:root>
> [...]
> </fo:root>
>
> even if i put the namspace declaration in the xslt it is lost in the 
> output.
>
> i think this is a bug which should be fixed.
>
> i did debugging for a few hours, but don't get the point. any 
> idea/help would be highly appreciated.
>
> simon



More information about the Yanel-development mailing list