cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beyaNet Consultancy <beya...@ntlworld.com>
Subject Re: XHTML/XSLT issue
Date Fri, 02 Apr 2004 15:10:46 GMT
Ugo,
thanks for that ;-)

Peter
On 2 Apr 2004, at 15:54, Ugo Cei wrote:

> beyaNet Consultancy wrote:
>> Hi,
>> In my site pages I am having an issue whereby when you view source on 
>> a page you can still see some of the xslt tags embedded in some of 
>> the html tags, for instance:
>> <form xmlns:xsp="http://apache.org/xsp" 
>> xmlns:util="http://apache.org/xsp/util/2.0" 
>> xmlns:xsp-session="http://apache.org/xsp/session/2.0" 
>> xmlns:xsp-request="http://apache.org/xsp/request/2.0" action="login" 
>> method="post">
>> How do I prevent this from happening, so that the tag just reads as?:
>> <form action="" method="">
>> All my pages need to be serialized as serverpages.
> 		
>   <!--
>      - Namespace removing templates
>      - from http://outerthought.net/wiki/Wiki.jsp?page=RemoveNamespaces
>   -->
>   <xsl:template match="*" priority="-1" mode="copy">
>     <xsl:element name="{local-name()}">
>       <xsl:copy-of select="@*"/>
>       <xsl:apply-templates mode="copy"/>
>     </xsl:element>
>   </xsl:template>
>
>   <xsl:template match="text()" mode="copy">
>     <xsl:value-of select="."/>
>   </xsl:template>
>
>
>
> 	Ugo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message