On Fri, 7 Jun 2002, Derek Hohls wrote:
> I'm having problems with empty namespace attributes
> being added into my output tags:
>
> A tag which is generated via a call to a named template will
> insert xmlns="" into the tag; which causes that tag to be ignored.
>
> For example, a call in a stylesheet with:
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:svg="http://www.w3.org/2000/svg"
> >
>
> <xsl:call-template name="setSeriesMarker">
> ...
>
> <xsl:template name="setSeriesMarker">
> <svg:defs> ... </svg:defs>
> ...
Try this ...
<xsl:template name="setSeriesMarker">
<defs xmlns="www.w3.org/...."> ... </defs>
...
>
> Results in output of:
>
> <svg:defs xmlns=""> ... </svg:defs>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>