Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


"Constant" xml transformation

From: "radek jedrasiak" <radekjed@-------.--->
To: NULL
Date: 4/4/2005 5:55:00 PM
Hi,

i'm looking for a way to speed up a xslt transformation.

Input.xml looks something like:

<Input>
    <E i="1" a1="1" a2="2" />
    <E i="2" a1="1" a2="2" />
</Input>

the desired output FILES are:

<Output1>
    <E i="1" a1="1" />
    <E i="2" a1="1" />
</Output1>

AND

<Output2>
    <E i="1" a2="2" />
    <E i="2" a2="2" />
</Output2>

(The files contain a different SET of attributes)

Well, what i already have is an parametrised xslt which generates those "excerpts".
I just thought that using a XSLT for this kind of job
(the real input files are about 40Kb and have to be transformed several times per second)
is probably not the most efficient way to do it.

I'm looking for creative ways to eighter reformulate the xslt
or a completly different approach to splitt those files (regexp?)

What i'm using right now is: C#. System.Xml, xsltpathDocument etc.
The transformation is already cached.

My thought is that the input xml file structure is fixed,
so maybe i could somehow just fill in the new values
and use some other mechanism (not xslt) to generate those excerpt files.

The problem with c# xslt is, that it allocates dynamicly alot of memory to process
the files, so even though the xslt itself is cached and preprocessed
the processing of a new input file causes the system to allocate memory
from the gc, which i'd like to avoid as this is an identified slowdown
in the whole process.

Thanks for ANY ideas and thoughts about this

cheerio
Radek




transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent