[xsl] multiple XML tags -> single output

Subject: [xsl] multiple XML tags -> single output
From: Zack Brown <zbrown@xxxxxxxxxxxxx>
Date: Wed, 27 Dec 2000 14:55:53 -0800 (PST)

Please forgive the very basic question. I'm just getting started with XSL,
going through the online docs and specs and whatever I can find, but it is
slow going. I'm really enjoying

I have an XML document that has something like this:

<title>A Name</title>


<issue num="10" date="2000/11/11"/>

i.e. the <title> and <issue> tags are separated by other tags. My XSL file
currently contains something like this:

    <xsl:template match="title">
            <xsl:value-of select="."/>

which outputs

            A Name

What I'd like is to also use information from <issue> in that output, so as
to get something like

            A Name #10 For 2000/11/11

I'm not quite sure how to do it.

Is this sort of question welcome? If so, I may have others...

Be well,

Zack Brown, Linuxcare, Inc.
tel: 1-415-354-4878x284, fax: 1-415-701-7457
zbrown@xxxxxxxxxxxxx, http://www.linuxcare.com/
Linuxcare. Support for the revolution.

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

Current Thread