Subject: RE: [xsl] Preceding-Sibling Axes in Context node. From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 21 Apr 2004 12:14:52 -0400 |
Thanks for your feedback. The fact is that my xml file is huge and I am trying to avoid multiple passes if possible. Also I am guessing that <xsl:key> would be a lot of overhead. Thats why I tried to do preceding-sibling and see if in my current context if the current city that I processed has the same state as the last city that I processed. If yes, then just process that city. If no, then I want to create a new row, output the state name and then process that city.
But unfortunately, it sounds like its not possible unless I do several passes through the xml document? Any other possible suggestions? How expensive are the xsl:key and indexing that it does?
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] Preceding-Sibling Axes in, David Carlisle | Thread | RE: [xsl] Preceding-Sibling Axes in, Michael Kay |
Re: [xsl] Preceding-Sibling Axes in, Mukul Gandhi | Date | RE: [xsl] XML Group with XSL, aalikaj |
Month |