This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Profiling problem


Martin Polley wrote:

   <xsl:param name="html.stylesheet" select="'../html.css'"/>
   <xsl:param name="section.autolabel" select="0"/>
   <xsl:param name="profile.userlevel" select="user"/>

You must surround user by apostrophes to make it XPath string literal. Your code selects are user subelements instead of text 'user':


<xsl:param name="profile.userlevel" select="'user'"/>

You can also alternatively use another syntax:

<xsl:param name="profile.userlevel">user</xsl:param>

Jirka

--
------------------------------------------------------------------
  Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
  Profesionální školení a poradenství v oblasti technologií XML.
        XML pro vývojáře 7.-8.6.          XSL-FO 16.6.
------------------------------------------------------------------

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]