This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSLQUERRY
- From: Joerg Heinicke <joerg dot heinicke at gmx dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 27 Feb 2002 13:29:44 +0100
- Subject: Re: [xsl] XSLQUERRY
- References: <20020227114641.15863.qmail@mailweb15.rediffmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Isn't this simplest XPATH?
<xsl:template match="root">
<xsl:value-of select="schedule[@category='title' and @type='title1']"/>
</xsl:template>
Joerg
XSL Developer wrote:
>
> dear xsl members,
> i have a problem. here it goes..
> xml structure:
>
> <root>
> <schedule category="title" type = "title2">
> title2
> </schedule>
> <schedule category="title" type = " title1">
> title1
> </schedule>
> <schedule category="title" type = "title3">
> episode
> </schedule>
> <schedule category="description" type="desc1">
> desc1
> </schedule>
> </root>
> and i want to get the text where category = title and type = title1
>
> how can i do that??
> thanks
> vsd
--
System Development
VIRBUS AG
Fon +49(0)341-979-7411
Fax +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list