[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Overview about xml document in html
Hello everyone, I would like to have an overview about my xml document in HTML that includes the following in a table: - chapter title - chapter ID - section title - section ID - link - olink - xref - image fileref - figure title - topic name and topic id for context-sensitive HTML Help How can I do that? I'm a docbook newbie and I have no notion of XSL. One of my colleagues has started with: <xsl:template match="docbook:section"> <li> <span style="font-weight:bold; "> <xsl:text>Section: </xsl:text> </span> <xsl:for-each select="@xml:id"> <span style="font-style:italic; "> <xsl:value-of select="string(.)" /> </span> </xsl:for-each> <span> <xsl:text> </xsl:text> </span> <xsl:for-each select="docbook:title"> <xsl:apply-templates /> <br/> <span> <xsl:text>Anchors: </xsl:text> </span> <xsl:for-each select="docbook:anchor"> <span> <xsl:text>(</xsl:text> </span> <xsl:for-each select="@xml:id"> <span style="font-style:italic; "> <xsl:value-of select="string(.)" /> </span> </xsl:for-each> <span> <xsl:text>)</xsl:text> </span> </xsl:for-each> <span> <xsl:text>,</xsl:text> </span> </xsl:for-each> <xsl:apply-templates select="child::*[local-name()!='section']//docbook:figure|docbook:figure " /> <xsl:apply-templates select="child::*[local-name()!='section'][local-name()!='figure']//docbo ok:imagedata" /> <xsl:apply-templates select="child::*[local-name()!='section']//docbook:link|docbook:link" /> <xsl:apply-templates select="child::*[local-name()!='section']//docbook:xref|docbook:xref" /> <xsl:apply-templates select="child::*[local-name()!='section']//docbook:olink|docbook:olink" /> <ol> <xsl:apply-templates select="docbook:section" /> </ol> </li> </xsl:template> Unfortunately he couldn't continue the document and now he's gone. Could anybody of you help me, please? -------------------------------------------------------------------------- Mit freundlichen Grüßen i.A. Ina Frenzel Assistentin Niederlassung Dresden FACTON GmbH Prager Str. 2 01069 Dresden Tel.: +49-351-40223-0 Fax: +49-351-40223-15 Mail: Ina.Frenzel@facton.com Web: http://www.facton.com -------------------------------------------------------------------------- FACTON© in der Presse Die neusten Artikel zum downloaden hier: http://www.facton.com/de/services/presse.php -------------------------------------------------------------------------- Vertretungsberechtigte Geschäftsführer: Thoralf Nehls, Martin Nehls Sitz der Gesellschaft: Prager Straße 2, 01069 Dresden Handelsregister: Amtsgericht Dresden HRB 17304 -------------------------------------------------------------------------- "This email message is intended only for the person(s) to whom it is addressed and as such is confidential. If you have received this communication in error, please notify us immediately and delete the original message. Thank you for your cooperation."
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]