-
Why is XML/XSL so slow when creating HTML code?
I've been working on converting some of my applications from ASP to XML using
XSL. I've removed the HTML and converted it to XSL as well as the VBScript
within the HTML code.
It seems that the transformation of the XML through XSL is very slow. Pages
that blinked up are now taking 3, 4, and 5 seconds to load. This doesn't
seem like a lot but the performance loss is very noticable.
Is there any know issues with XSL/XML and it's speed to transform a typical
page with maybe 10 to 15 textbox and a few combo boxes and maybe a small
table with 5 or so columns and about 5 rows of data. This doesn't seem to
be a large amount of data, but something is really slowing me down. It would
seem that I should through out XML/XSL in favor of ASP and global strings.
Any comments would be appreciated because I really think I missing something.
Any info on the speed of XSL/XML would also be appreciated.
Thanks for your help,
Greg Rothlander
-
Re: Why is XML/XSL so slow when creating HTML code?
Post your xslt and also how/where you are transforming it. I use the same
with no issues.
Sean
"Greg Rothlander" <grothlander@austin400.com> wrote:
>
>I've been working on converting some of my applications from ASP to XML
using
>XSL. I've removed the HTML and converted it to XSL as well as the VBScript
>within the HTML code.
>
>It seems that the transformation of the XML through XSL is very slow. Pages
>that blinked up are now taking 3, 4, and 5 seconds to load. This doesn't
>seem like a lot but the performance loss is very noticable.
>
>Is there any know issues with XSL/XML and it's speed to transform a typical
>page with maybe 10 to 15 textbox and a few combo boxes and maybe a small
>table with 5 or so columns and about 5 rows of data. This doesn't seem
to
>be a large amount of data, but something is really slowing me down. It
would
>seem that I should through out XML/XSL in favor of ASP and global strings.
>
>Any comments would be appreciated because I really think I missing something.
> Any info on the speed of XSL/XML would also be appreciated.
>
>
>Thanks for your help,
>Greg Rothlander
-
Re: Why is XML/XSL so slow when creating HTML code?
I haven't come accros any particular problems. If you post your code there
may be a few things that can be done to speed things up (e.g try to avoid
using // in XPath queries, try and use element centric XML as opposed to
attribute based where possible)
It is also possible to store a stylesheet in a 'Template' object, which effectively
stores the stylesheet in a compiled state. I did have a link
to a guide on how to do it, but I can't find it. I'll post it when I get
back onto my old computer!
>"Greg Rothlander" <grothlander@austin400.com> wrote:
>>
>>I've been working on converting some of my applications from ASP to XML
>using
>>XSL. I've removed the HTML and converted it to XSL as well as the VBScript
>>within the HTML code.
>>
>>It seems that the transformation of the XML through XSL is very slow.
Pages
>>that blinked up are now taking 3, 4, and 5 seconds to load. This doesn't
>>seem like a lot but the performance loss is very noticable.
>>
>>Is there any know issues with XSL/XML and it's speed to transform a typical
>>page with maybe 10 to 15 textbox and a few combo boxes and maybe a small
>>table with 5 or so columns and about 5 rows of data. This doesn't seem
>to
>>be a large amount of data, but something is really slowing me down. It
>would
>>seem that I should through out XML/XSL in favor of ASP and global strings.
>>
>>Any comments would be appreciated because I really think I missing something.
>> Any info on the speed of XSL/XML would also be appreciated.
>>
>>
>>Thanks for your help,
>>Greg Rothlander
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks