On Friday, June 7, 2002, at 08:39  AM, Derek Hohls wrote:

> Solved - brilliant- thanks, Stephan!
>
> (in future I am not sure whether to RTM or ATG -
> Ask The Gurus!)

Some advice.
1. RTM. If you don't find what you need, then:
2. ATG, and then
3. SAP (submit a patch, while the experience is still fresh)

I'm committing refactored FAQs, new How-Tos, Tutorials, and Snippets to 
release and live site by this weekend. Also included are instructions on 
how to add your own contribution. I'll post detailed instructions here 
once I'm finished. Just think how the documentation would improve if 
each user on this list could submit at least one unique FAQ, How-To, 
Snippet, etc. Imagine how quickly our abilities to use Cocoon would 
advance... Think about it.

Diana
>
>>>> [EMAIL PROTECTED] 07/06/2002 02:30:04 >>>
>
>
> 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]>
>
>
> ---------------------------------------------------------------------
> 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]>
>


---------------------------------------------------------------------
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]>

Reply via email to