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

Re: Question

Subject: Re: Question
From: Paul Prescod <paul@xxxxxxxxxxx>
Date: Wed, 03 Feb 1999 22:53:52 -0600
Re: Question
"G. Ken Holman" wrote:
> 
> I suppose your solution would then be:
> 
> <xsl:template match="METHODREF">
>   <xsl:constant name="where-am-i" value="{@name}"/>
>   <xsl:value-of select="ancestor(CLASS)/METHOD[@name=constant(where-am-i)]"/>
> </xsl:template>

That's exactly what I need.

> I don't think it can be done today.  I'm hoping to see this feature added
> to XSL.
> 
> Is there anything preventing you from using ID/IDREF instead?  That would
> work fine with today's XSL.

Well, I would have to change my DTD. These names are locally unique, not
globally unique as XML requires IDs to be.

-- 
 Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself
 http://itrc.uwaterloo.ca/~papresco

"Remember, Ginger Rogers did everything that Fred Astaire did,
but she did it backwards and in high heels."
                                               --Faith Whittlesey


 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.