OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Can't get /article/info/title

I have this

<article xmlns="http://docbook.org/ns/docbook"; version="5.0">
    <!--<title>Test Title</title> works when title is here -->
        <title>Test Title</title> <!-- doesn't work here -->
            <personname>The Author</personname>
        <para> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 

With the following customization

    <xsl:template match="article">

        <fo:page-sequence master-reference="titlepage-first">
            <fo:flow flow-name="xsl-region-body">
                <xsl:call-template name="front.cover"/>


    <xsl:template name="front.cover">
        <fo:block space-before="2in" 
space-before.conditionality="retain" font-family="Helvetica"
            font-size="24pt" text-align="start" font-weight="bold">
                    <xsl:when test="/article/info/title">
                        <xsl:value-of select="/article/info/title"/>
                    <xsl:when test="/article/title">
                        <xsl:value-of select="/article/title"/>

I get the title when located at "/article/title" but not  when at 
"/article/info/title". What am I missing?


S/MIME Cryptographic Signature

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]