cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Lerche <>
Subject Re: serialize without namespace
Date Wed, 28 Apr 2004 20:06:07 GMT

This is NOT the best solution but it will work.

Make an extra serializer step in your pipeline and put this XSLT script into 

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
   <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
     <xsl:template match="*">
       <!-- remove element prefix (if any) -->
       <xsl:element name="{local-name()}">
         <!-- process attributes -->
         <xsl:for-each select="@*">
           <!-- remove attribute prefix (if any) -->
           <xsl:attribute name="{local-name()}">
             <xsl:value-of select="."/>

On Wednesday 28 April 2004 16:49, Volkm@r wrote:
> espaces from my xml files

Med venlig hilsen / Yours sincerely 
Peter Lerche 
European Dedicated Server Hosting 
Extremely low prices, secure, and reliable
Linux and BSD distributions only 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message