I was wondering if there would be any significant performance increases by
loading Xslt Files into the Application Variables if there were a single or
maybe multiple XSLT file(s) that would be used throughout a website. I do
not know if relieving the I/O burden would overcome the memory/hashtable
lookup from storing one or multiple XSLT Files in the Application Object. 5 1219
if you have lot of files getting processed by one single xslt, you can store
XSL Processor in the application.
but having many is not recommended.
Av.
<jo*****@driver .net> wrote in message
news:eM******** ******@TK2MSFTN GP11.phx.gbl... I was wondering if there would be any significant performance increases by loading Xslt Files into the Application Variables if there were a single or maybe multiple XSLT file(s) that would be used throughout a website. I do not know if relieving the I/O burden would overcome the memory/hashtable lookup from storing one or multiple XSLT Files in the Application Object.
<jo*****@driver .net> wrote in message news:eM******** ******@TK2MSFTN GP11.phx.gbl... I was wondering if there would be any significant performance increases by loading Xslt Files into the Application Variables if there were a single or maybe multiple XSLT file(s) that would be used throughout a website. I do not know if relieving the I/O burden would overcome the memory/hashtable lookup from storing one or multiple XSLT Files in the Application Object.
Maybe the "Cache" object would be a better choice: you
could set a CacheDependency , so the cached item is removed when
the real file is changed (nice feature when developing).
But: there is one problem, specifically with xslt's! when you use
<xsl:include> elements, the processor knows where to look in
the case of a file, but needs some help when the xslt comes from a string.
(you need to supply an XmlResolver)
Hans Kesting
Well, I was hoping to have found somebody that had actually done this. I
guess I will have to find some spare time to do some benchmarking of my own
and compare the results.
"Hans Kesting" <ne***********@ spamgourmet.com > wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. <jo*****@driver .net> wrote in message news:eM******** ******@TK2MSFTN GP11.phx.gbl... I was wondering if there would be any significant performance increases by loading Xslt Files into the Application Variables if there were a single or maybe multiple XSLT file(s) that would be used throughout a website. I do not know if relieving the I/O burden would overcome the memory/hashtable lookup from storing one or multiple XSLT Files in the Application Object.
Maybe the "Cache" object would be a better choice: you could set a CacheDependency , so the cached item is removed when the real file is changed (nice feature when developing).
But: there is one problem, specifically with xslt's! when you use <xsl:include> elements, the processor knows where to look in the case of a file, but needs some help when the xslt comes from a string. (you need to supply an XmlResolver)
Hans Kesting
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: gipsy boy |
last post by:
Hello,
I have sort of a big problem. I would really appreciate any help you
could give me.
I made a web service in C++ that throws XML to the client (browser).
But, the XSLT transormation (xml->html) doen't happen!
I have XSLT files for this, they work, I mean when I put the output of
the app as an XML file on some server, and make it use the XSLT files to
transform into HTML, it works, I get a HTML page.
|
by: AndrewMBaldwin |
last post by:
So I am quite upset that after working for a few hours on getting an
XML file format and XSL file that formats the XML data appropriatly,
only to find that if you store HTML code in your XML file (even in a
CDATA block), after the XML file is rendered, the HTML that was stored
in the XML file is not rendered, essentially put into the page as if it
had <pre> tags around it.
I know that someone is going to yell at me and say that the XML...
|
by: Fabio Goncalves |
last post by:
Hi Guys,
I do need to transform some excel spreadsheets into xml files through an
automated process.
Is it possible to do it using XSLT? Could anybody give me any direction?
Cheers,
Fabio.
|
by: Jeff Calico |
last post by:
I have 2 XML data files that I want to extract data from simultaneously
and transform with XSLT to generate a report. The first file is huge
and when XSLT builds the DOM tree in memory, it runs out of space.
I only need a few branches of elements from the original XML, so I am
seeking a recomended way of building a DOM for XSLT of only the
elements
that I need. I'm writing a Java application that invokes Xalan, and
reading up on SAX...
|
by: (PeteCresswell) |
last post by:
User wants to go this route instead of storing pointers in the DB and the
documents outside.
Only time I tried it was with only MS Word docs - and that was a loooong time
ago - and it seemed to me like there were performance issues at the time.
How about the different types? The MS docs I would expect Access to
differentiate and handle appropriately (i.e. .DOC and .XLS).. but how about
..PDF? and can I stash a .TXT document in the...
| |
by: KarlM |
last post by:
After reading some articles regarding confuguration data I'm a bit confused.
Where is the right place for storing configuration data?
- XML-files?
- registry?
- INI-files? (from a users point of view, ini-files are more comfortable to
read and edit)
Where should I store user specific config data?
Where should I store machine specific config data?
|
by: th1421 |
last post by:
Hi,
I'm new to FireFox. I am currently trying to convert my website to be compatible with it. Doing so I’m trying to process some XML/XSLT pages (preferably without using JavaScript).
When I view my XML pages using IE 6 or 7 it displays beautifully both accessed locally as through HTTP on my ISP’s server where I put them using FTP.
When I view them in Mozilla FireFox 2.0, it displays ok when accessed locally. The CSS presentation –...
|
by: killy971 |
last post by:
I have been testing different libraries to process XSL transformations
on large XML files.
The fact is that I read a document from Intel, stating their library
(XSLT accelerator) was more twice faster than Apache Xalan, and was
designed to perform well on large XML files.
- http://isdlibrary.intel-dispatch.com/isd/10/wp_XSLT.PDF
- http://www.intel.com/cd/software/products/asmo-na/eng/366637.htm
Please note that their benchmark was only...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |