This is the mail archive of the xsl-list@mulberrytech.com mailing list .


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

RE: Another Beginner's Question


> I have a simple XML file that looks something like this:
> 
>    <refentry>
>    <refnamediv>
>       <refname>Test</refname>

> I'm running XT, and my XSL file looks like this:
>         <xsl:template match="refentry">
>            <h1><xsl:value-of select="refname" /></h1>
>          </xsl:template>
> 
Your refentry element does not have a refname child, so this xsl:value-of
will select nothing.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

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