El Lunes, 21 de Mayo de 2007 18:02, Reinhard Haller escribió:
> Hi,
>
> I'm using docBook5-XSL 1.7.2.0 to render our project addressbook to
> html. I miss the affiliation/address parts of my structure after the
> transformation to html.
From docbook5-xsl-snapshot/html/inline.xsl:
<xsl:template match="d:person">
<xsl:param name="content">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
<xsl:with-param name="content">
<xsl:apply-templates select="d:personname"/>
</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="apply-annotations"/>
</xsl:param>
<span>
<xsl:apply-templates select="." mode="class.attribute"/>
<xsl:copy-of select="$content"/>
</span>
</xsl:template>
As you can see, at this moment the stylesheets have support only for
personname and annotations. There is no support (yet?) for the other allowed
child elements.
Changing <xsl:apply-templates select="d:personname"/> by a plain
<xsl:apply-templates/> could work (if you don't use annotations), but not
tested.
--
Manuel Canales Esparcia
Usuario de LFS nº2886: http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES: http://es.tldp.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]