![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - "Constant" xml transformation [Thread Next] Re: "Constant" xml transformationTo: NULL Date: 4/5/2005 1:31:00 PM radek jedrasiak wrote: > 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?) If an XSLT transformation consumes to many resources you could try an XmlTextReader and while you pull in the contents with the Read method you give out the content as needed with one or two XmlTextWriters. It will consume less resources but is more work. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
