[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: attributes in and out

Subject: Re: attributes in and out
From: andrew.curry@xxxxxxxxxxxx
Date: Mon, 29 Sep 2003 12:58:29 +0100
p a vauxhall
<xsl:for-each select="instance[@attribute = 'audio' or @attributie =
'video']>

should do it i think

PA Sport RnD

Andrew Curry
Software Developer

Telephone: 01430 455545
Website:        http://www.pa.press.net

PA News Limited:
Bridgegate, Howden, East Yorkshire, DN14 7AE

Registered Office:
PA News Limited, 292 Vauxhall Bridge Road, London SW1V 1AE. Registered in
England No. 3891053


----- Original Message ----- 
From: "clemens schrenk" <clemens.schrenk@xxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, September 29, 2003 12:57 PM
Subject: Re:  attributes in and out


> well, there is just one question remaining, and currently i can not think
of
> any solution -
>
> how can i restrict this loop to <INSTANCE> elements with the attribute
> values "audio" and "video" only ?
>
> e.g.: <INSTANCE name="audio">
>
>
>
>
> Am 29.09.2003 13:43 Uhr schrieb "andrew.curry@xxxxxxxxxxxx" unter
> <andrew.curry@xxxxxxxxxxxx>:
>
> > No problem
> >
> > PA Sport RnD
> >
> > Andrew Curry
> > Software Developer
> >
> > Telephone: 01430 455545
> > Website:        http://www.pa.press.net
> >
> > PA News Limited:
> > Bridgegate, Howden, East Yorkshire, DN14 7AE
> >
> > Registered Office:
> > PA News Limited, 292 Vauxhall Bridge Road, London SW1V 1AE. Registered
in
> > England No. 3891053
> >
> >
> > ----- Original Message -----
> > From: "clemens schrenk" <clemens.schrenk@xxxxxxx>
> > To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> > Sent: Monday, September 29, 2003 12:42 PM
> > Subject: Re:  attributes in and out
> >
> >
> >> thanks, it works perfectly....
> >>
> >>
> >>
> >> Am 29.09.2003 13:22 Uhr schrieb "andrew.curry@xxxxxxxxxxxx" unter
> >> <andrew.curry@xxxxxxxxxxxx>:
> >>
> >>> loop through the attributes using an xpath expression to get the value
> > of
> >>> the parent instance.
> >>>
> >>> i.e.
> >>>
> >>> <xsl:for-each select="Your attribute path">
> >>> .......Your code to write your item identifier element....
> >>> your title would be <xsl:value-of select="parent::INSTANCE/@name"/>
> >>>
> >>> I think that would work....
> >>>
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.