473,804 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Effective server-side XSLT processor

Hello,

In another post, I mentionned I was using PHP with Sablotron 1.0 as my
server-side XSLT processor.

I have several websites, some of them with thousands pages. Everything
is stored as XML. For the past few years, I have been generating static
HTML pages through Perl scripts and uploading them. I am now
experimenting with XSLT, to see if the performance is still acceptable
(it would obviously be more convenient for *me*).

Now Tjerk and Nick warned me (in the other thread) that Sablotron was a
lousy xmlt processor with bad error reporting (Tjerk) and slow (Nick).

I am not sure I can use anything else, since I am dependent on what my
web host has installed. Nick mentions mod_transform, which I guess is
http://www.outoforder.cc/projects/ap...ransform/docs/

Apparently, one uses this by stating in .htaccess which stylesheet
should be used, and then the XML files are accessed directly by the
users? But I am afraid this wouldn't work, because I will probably need
to do some processing in PHP, too, before to deliver the web pages
based on the XML...

Any comment/suggestion/pointer welcome!

Thanks,

Martin

Oct 31 '05 #1
2 1456
Martin Plantec wrote:
Hello,

In another post, I mentionned I was using PHP with Sablotron 1.0 as my
server-side XSLT processor.

I have several websites, some of them with thousands pages. Everything
is stored as XML. For the past few years, I have been generating
static HTML pages through Perl scripts and uploading them. I am now
experimenting with XSLT, to see if the performance is still acceptable
(it would obviously be more convenient for *me*).
It's not generally a good idea to use a real-time conversion server
for information which is inherently static or slow-moving, unless you
can justify the use of the resources by its convenience to the author.
Now Tjerk and Nick warned me (in the other thread) that Sablotron was
a lousy xmlt processor with bad error reporting (Tjerk) and slow
(Nick).

I am not sure I can use anything else, since I am dependent on what my
web host has installed. Nick mentions mod_transform, which I guess is
http://www.outoforder.cc/projects/ap...ransform/docs/


The biggest and best-known is Cocoon, which runs on top of Tomcat.
It's a resource hog (or rather, I suspect, the underlying Java
is a resource hog) but it's fairly stable and reliable.

Another alternative is AxKit, which is Perl-based; but I have major
problems with this as it runs only on a very restricted set of
platforms.

Commercially there are systems like PropelX (www.propylon.com) which
are pipelining transformers like Cocoon, but not restricted to using
XML-only or Java-only resources like Cocoon is.

[Claimer: we do some business with Propylon occasionally]

You may want to consider moving your hosting to a site which provides
one or more of these.

///Peter
--
XML FAQ: http://xml.silmaril.ie/

Oct 31 '05 #2
Peter wrote:

<< It's not generally a good idea to use a real-time conversion server
for information which is inherently static or slow-moving, unless you
can justify the use of the resources by its convenience to the author.


This is the principle I went by so far. I will probably stick to it,
but I wanted to experiment with XSLT. Generating and updating the HTML
files is a bit tedious, and they also take up a lot of online disk
space (I also need the XML online anyway). Thanks for your comments.

Oct 31 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2290
by: Evelyn Pabón | last post by:
Hi I built a database application and I have a field which is for the Close Date. But I need to create an effective date that it will come out automatically. The Effective Date should be 6 months after the Close Date. How can I do this? Any help I would really appreciate it. Thanks,
5
11614
by: Ross Presser | last post by:
As our customers demand that we tighten our IT security in the company, I've been asked to prepare a report quarterly showing, for each user in Active directory, what his effective permissions are for every table in every database that he has permission for on our SQL Server 2000 server. I searched a bit for a tool to do this, but all I found was the PERMISSIONS() function for showing effective permissions of the current user. Is there...
2
1333
by: Harry | last post by:
Hi, Quick question regarding dropdownlists. On one page I have 10 asp:dropdownlists. The user selects an option from a dropdown list and then it updates an asp:label with the relevant text. The user must select an option from each dropdown list. All the dropdownlists are to be populated from a SQL database.
44
3885
by: Josh Mcfarlane | last post by:
Just out of curiosity: When would using std::list be more efficient / effective than using other containers such as vector, deque, etc? As far as I'm aware, list doesn't appear to be specialized for anything. Thanks, Josh McFarlane
3
1180
by: creator_bob | last post by:
I decided to post here after a little incident where I got an effective memory leak that was immune from garbage collection. I created a simple binary tree, no balancing or deleting. Only two functions from the root--update (add if missing), and read. The problem was the update had a bug and after updating, it would always then add as though the item were missing. This caused the tree to grow unbounded, but from all outward...
8
3353
by: Mike Meng | last post by:
Hi all, I just finished reading Learning Python 3rd ed, and am doing my first Python application, which retrieves and process text and XML documents from Web. Python helped me to write the application in a few hours, I'm very happy with its productivity. But the performance is not satisfactory. I decide to optimized it in Python before trying C/C++ extensions. But I don't know Python much and have no clu to tune my program. Also, I...
1
9774
by: akkha1234 | last post by:
When I click on the properties of a 2005 sql server database and then permissions. If I select a group and then effective permission, I got an error, saying that "cannot execute as the principal server because the 'xxx \group' does not exist, this type of principal cannot be impersonated, or you do not have permission (Microsoft SQL Server; Error: 15406)" I guess the error is valid, since the group does not exist in the database as a...
15
5936
by: Peter | last post by:
I right now reading this book. And he is iterating some points I'm following since 1996, e.g. exception safety. But e.g. he is missing one of the major exception safety guidelines, which is Allocate only a single resource inside a constructor body (deallocate in the matching destructor body). Chain such classes into base-class/member-class relationships. This way you are able to exploit the code generation features of the
1
1937
by: mahesh.kanakaraj | last post by:
Hi All, I have a confusion in finding the 'effective content' of a complex type definition in a XML Schema. I shall give you an example situation to clearly explain my problem. Let's have an element declaration as follows:
8
1997
by: arnuld | last post by:
Hi all, I have come to a point where I can comprehend C++ code much better. I will finish C++ Primer 4/e within next few days. Right now I am feeling the need to have have coding standards when I write programs and I feel I must apply some better ways to design my code e.g. all of my the programmers at my college use to write this code: for( int i=0; i <= 10; ++i ) {
0
9711
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10088
tracyyun
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...
0
9169
agi2029
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...
1
7633
isladogs
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...
0
6862
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();...
0
5529
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...
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3001
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.