Re: Select on Text Node, XML Out of Ancestors
I'm looking to select (ultimately extract) all the records with subfield 0039-310X,
I think David has given you the best answer.
Your requirement as you've described it is so much simpler than the obscure problem we were trying to solve earlier (the determination of ancestry for a given node by a condition).
Your problem is a typical problem for rendering transformation and is solved quite easily ... the other problem was more theoretical in nature and required more of an obscure approach.
I've diligently read through all of the W3C spec in detail, and I can piece together bits from reading everyone's suggestions, but some of it just baffles me, and all I want it to do is go find 0039-310X and then simply walk back up (per Ken Holman, but I got lost in his code eventually)
It wouldn't be inappropriate to post a request for clarification to this list ... those of us who volunteer answers wouldn't want to leave you hanging. Even if I am carried away with clients and can't volunteer a response, others could. I don't always have the time to contribute to the list but there are many who do.
Let us know what you found confusing. This list is supposed to help, not obfuscate.
-- G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995) Web site: XSL/XML/DSSSL/SGML services, training, libraries, products. Practical Transformation Using XSLT and XPath ISBN 1-894049-02-0 Next instructor-led training: 1999-11-08, 1999-11-09, 1999-12-05/06, - 1999-12-07, 2000-02-27/28, 2000-05-11/12, 2000-05-15
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