[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: where is the title of the current chunk?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I want to use the title of the current html chunk in a template.
if I wanted to use the id, I would have written <input value="{@id}"/>.
I tried
<input><xsl:attribute name="value">
~ <xsl:apply-templates select="node()"
~ mode="object.title.markup.textonly"/>
~ </xsl:attribute></input>
but got nothing useful plus a ton of errors like
No template for "/book/part/chapter/section/subtitle" (or any of its
leaves) exists in the context named "title" in the "en" localization.
so: where is the title?
thanks!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHl7rWPp1Qsf2qnMcRAo8vAJ0YvqSThrMu21vgHnQ4Fo1p3WQjjQCglztl
EwVdHQuIUFe/ms+SstO4hlQ=
=xYpt
-----END PGP SIGNATURE-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]