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]
Other format: [Raw text]

Re: XSLQUERRY


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


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