a short example:

INPUT
<?xml version="1.0" encoding="UTF-8"?>
<woordenlijst>
<titel>zelfstandige naamwoorden, v1.0</titel>
   <term>
      <spaans> abreviatura, la</spaans>
      <nederlands>afkorting </nederlands>
   </term>
   <term>
      <spaans>abrigo, el</spaans>
      <nederlands>jas, bescherming</nederlands>
   </term>
</woordenlijst>

XSLT STYLE SHEET
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                version="2.0">

  <xsl:output method='text'/>

  <xsl:template match="/woordenlijst">
      <xsl:apply-templates select="term"/>
  </xsl:template>

  <xsl:template match="term">
    <xsl:value-of select='normalize-space(spaans)'/>
    <xsl:text>;</xsl:text>
    <xsl:value-of select='normalize-space(nederlands)'/>
    <xsl:text>
</xsl:text>
  </xsl:template>

</xsl:stylesheet>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to