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

Re: Stumped on XPath

Subject: Re: Stumped on XPath
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 09 Feb 2006 14:52:12 -0500
Re:  Stumped on XPath
Catching up again --

At 08:30 PM 2/7/2006, David wrote:

> Thanks for the response. Your solution does in fact work perfectly.
> The only problem is when I move the refnote element around (I used
> 1,2,3 for testing purposes however in truth these are more on the
> lines of 2341234, 245532139, etc.) I don't get the results I expect.

just use the attribute on xsl:number to control whether it just numbers
in the current element, or the whole document, or from teh nearest
appendix ancestor or whatever you need.

I'm not sure quite what you want as I think you have a typo in your
revised version

No, it's a bit obscure ... both the references he's pointing to (1 and 3) are within the same appendix.


So he needs xsl:number from="appendix" just as you surmised.

Spenser, this is a far cleaner better solution than what you've posted here so far.

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

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.