cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helena Ginzburg <hel...@earthlink.co.il>
Subject I18nTransformer using problem.
Date Tue, 06 Aug 2002 16:39:03 GMT
> Hi, All
> 	I'm try to use I18nTransformer. I'm getting namespace prefixes in
> the wml output from Cocoon 2.03. If I to use
> exclude-result-prefixes="i18n" namespace prefixes removing from wml tag
> while I have it with i18n:attribute. Can I to remove namespace prefix
> total?
> My xsl:
> <xsl:stylesheet  	    version="1.0"
>  
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> 	
> xmlns:i18n="http://apache.org/cocoon/i18n/2.0"
> 				    exclude-result-prefixes="i18n">
> <xsl:template match="/">
> 	<wml>
> 	<card title="Login" i18n:attr="title">
>  		<p>	
> 			<b><i18n:text>Login</i18n:text></b><br/>
>   		</p>
> 	</card>
> 	</wml>
> </xsl:template>
> </xsl:stylesheet>
> 
> Wml output :
> <?xml version="1.0" encoding="UTF-8"?>
> <wml>
> <card xmlns:i18n="http://apache.org/cocoon/i18n/2.0" title="Please Login">
> <p><b>Please Login</b><br/>
> </card>
> </wml>
> 
> Any help would be much appreciated.
> Regards, Helena. 
> 
> 
> 
> 
> 
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message