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: multiple XML tags -> single output


>What I'd like is to also use information from <issue> in that output, so as
>to get something like
>
>-------------------------
>        <h1>
>            A Name #10 For 2000/11/11
>        </h1>
>--------------------------

Hey Zach,

I think you'd want to do something like this:

    <xsl:template match="title">
        <h1>
            <xsl:value-of select="."/><xsl:value-of select="issue/@num"
/><xsl:value-of select="issue/@date" />
        </h1>
    </xsl:template>


-Kevin




 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]