473,404 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

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 1430
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
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...
5
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...
2
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....
44
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...
3
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...
8
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...
1
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...
15
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 ...
1
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...
8
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
jinu1996
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...
0
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...
0
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...
0
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,...

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.