Subject: Re: AW: [xsl] XPATH restricting preceding nodes From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 10 Sep 2003 09:39:51 -0400 |
your solution works. This was what I needed. Now I have to read a little about what xls:key does to also understand this. :-)
T:\ftemp>type erwin.xml <?xml version="1.0" encoding="iso-8859-1"?> <top> <page> <entry text='aaa'/> <entry text='bbb'/> <entry text='aaa'/> </page> <page> <entry text='ccc'/> <entry text='bbb'/> <entry text='ccc'/> </page> </top>
T:\ftemp>type erwin.xsl <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
</xsl:stylesheet> T:\ftemp>saxon erwin.xml erwin.xsl
Entry: aaa Entry: bbb Page 2:
Entry: ccc Entry: bbb T:\ftemp>
-- Next public European delivery: 3-day XSLT/2-day XSL-FO 2003-09-22 Next public US delivery: 3-day XSLT/2-day XSL-FO 2003-10-13 Instructor-led on-site corporate, government & user group training for XSLT and XSL-FO world-wide: please contact us for the details
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 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-11-X Practical Formatting Using XSL-FO Member of the XML Guild of Practitioners: http://XMLGuild.info Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
AW: [xsl] XPATH restricting precedi, Kloeck, Erwin | Thread | [Fwd: Fw: [xsl] XSLT Cookbook - HEL, Sal R Mangano |
[Fwd: Fw: [xsl] XSLT Cookbook - HEL, Sal R Mangano | Date | [xsl] fo:block-container question: , Abhijit Junnare |
Month |