[Home] [By Thread] [By Date] [Recent Entries]
Simon,
Your problem is a tough one; for whatever reason (it'd be interesting to know) it's lately been coming up with increasing frequency. It was even discussed on the list not long ago -- see http://www.biglist.com/lists/xsl-list/archives/200504/msg00620.html and the cascade of messages following. The short version: you have a range of options, including a couple of techniques (key-driven grouping by proximity; "tree walking") that are more complex than most standard techniques in XSLT 1.0, as well as the widely-disparaged "tag writing" solution. Alternatively, you might also be able to design around this requirement (XSLT 1.0 was designed for more straightforward "down-conversions") either by changing the design of your source or your target. And finally, XSLT 2.0 presents better options for handling this kind of thing.... If I had to solve this in XSLT 1.0 I'd probably use the "tree-walking" technique but I might opt to group by proximity using keys. I hope this helps. Cheers, Wendell At 05:25 AM 4/26/2005, you wrote: hi list ====================================================================== 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 ======================================================================
|

Cart



