Robert: XML/XSL, Transformation, XPath, for-each,...

Beitrag lesen

Halli,

XSL-Auszug: (vereinfacht)

<xsl:template match="haupttext" >
  <xsl:for-each select="haupttextueberschrift">
    <p>
    <a href="datei.htm">
     <b>
      <xsl:value-of select="." />
     </b>
    </a>
    <br/>
    <div>
     <xsl:value-of select="../haupttextblock" />

select="following-sibling::haupttextblock"

cu,
Robert