cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michael_ham...@sonynetservices.com
Subject XML Forms and i18n
Date Mon, 29 Jul 2002 09:09:14 GMT
Hello,

   first I want to thank you for your great help in the last days.
   We have solved the problem now with your proposed
   solution: tagging the xml with a stylesheet.
   Our xml now looks like this:

<xsl:template match="document">
      <document>
            <xsl:apply-templates/>
      </document>
</xsl:template>

<xsl:template match="xf:violation">
      <xf:violation>
            <i18n:text>
                  <xsl:value-of select="."/>
            </i18n:text>
      </xf:violation>
</xsl:template>

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

Thanx again,

 miHam


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