Subject: Re: [xsl] Speeding up processing (with sablotron or saxon) From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 12 Jul 2004 19:03:57 -0400 |
ok I have a piece of XSLT that processes a large XML file into smaller chunks. The problem I have is that the deeper down into the XML file I am processing the longer it takes. Is this just due to the way XSLT parsers work or can I tweak my XSL file so it processes faster?
I get the same effect when I used to process the file as one pass using Saxon Result:document as I do processing as seperate XSL files with either Saxon or Sablotron.
This is the seperate file XSL file:- (Change the server[@name='Ahazi'] as needed) <?xml version="1.0"?> <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="xml" indent='yes' encoding="utf-8"/>
<xsl:template match="server" /> <xsl:template match="server[@name='Ahazi']"> <resources> <xsl:for-each select=".//resource[not(@swgcraft_id=preceding::*/@swgcraft_id)]">
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 -> |
---|---|---|
[xsl] Speeding up processing (with , TDarksword | Thread | Re: [xsl] Speeding up processing (w, TDarksword |
[xsl] Problem copying xhtml element, cking | Date | [xsl] question about XSLTC, Jun Yuan |
Month |