|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








