Subject: Re: [xsl] Stumped on XPath From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 13 Feb 2006 17:33:40 -0500 |
Ok, I seem to have got it. I changed the key to read <xsl:key name="r" match="appendix" use="refnote/@id"/>... After testing 5 or 6 test scenarios it's giving me exactly what I want. Thank you both so much for the help.
<xsl:for-each select="key('r',@ref)"> <xsl:text> (see Appendix </xsl:text> <xsl:number format="A"/> <xsl:text>) </xsl:text>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Stumped on XPath, Spencer Tickner | Thread | Re: [xsl] Stumped on XPath, David Carlisle |
Re: [xsl] Stumped on XPath, Spencer Tickner | Date | [xsl] XSLT output missing XML eleme, Mitch Arends |
Month |