Hello!
When I try to remove this line:

<xsl:template match="@*|node()" 
priority="-1"><xsl:copy><xsl:apply-templates 
select="@*|node()"/></xsl:copy></xsl:template>

the content is still duplicates... but without style




Andre Juffer wrote:
> 
> David Legg wrote:
>> Hi Maria,
>>
>> I'm very rusty on XSLT I'm afraid
>>> Here is the file main.xsl:
>>>
>>> ...
>>> <xsl:template match="@*|node()" 
>>> priority="-1"><xsl:copy><xsl:apply-templates 
>>> select="@*|node()"/></xsl:copy></xsl:template>
>>> ...
>>>   
>>
>> What is the purpose of this line?  
> 
> This copies input XML to the output that did not mach any other 
> <xsl:template match="..."> in the XSL style sheet.
> 
>> What happens if you remove it?
> 
> You may loose portions of the input XML that may be required by one of 
> the next XSLT transformers in the pipeline.
>>
>> David Legg
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> 
> -- 
> Andre H. Juffer              | Phone: +358-8-553 1161
> The Biocenter and            | Fax: +358-8-553-1141
>     the Dep. of Biochemistry | Email: [EMAIL PROTECTED]
> University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
> NordProt                     | WWW: www.nordprot.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/cforms-%2B-javaflow-%2B-sitemap-problem-tp19246213p19594335.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to