|
Subject: Re: Problems selecting attribues From: Steve Tinney <stinney@xxxxxxxxxxxxx> Date: Thu, 25 Nov 1999 08:10:34 -0500 |
heiko.grussbach@xxxxxxxx wrote:
>
> Hi,
>
> In a stylesheet, I have the following
>
> <xsl:param name="hist" select="//HISTORY//LEVEL//SLIDE[@REF]"/>
>
> ...
>
> So, why do I get element content, where I want to have the attribute? How do I > correctly select the attribute?
Because you are selecting SLIDE when it has a REF attribute. You want
//HISTORY//LEVEL//SLIDE/@REF.
Steve
--
----------------------------------------------------------------------
Steve Tinney Babylonian Section
* University of Pennsylvania Museum
stinney@xxxxxxxxxxxxx Phila, PA. 215-898-4047
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Problems selecting attribues, Julian Reschke | Thread | RE: Problems selecting attribues, Linda van den Brink |
| RE: Problems selecting attribues, Julian Reschke | Date | Re: Is there a public W3C Specifica, Stefano Mazzocchi |
| Month |