Your Daily Source for Apache News and Information  
Breaking News Preferences Contribute Triggers Link Us Search About
Apache Today [Your Apache News Source] To

Apache HTTPD Links
Apache XML Project
PHP Server Side Scripting
Apache Project
The Apache FAQ
The Apache Software Foundation
Apache Module Registry
Apache-Perl Integration Project
The Java Apache Project
The Jakarta Project
Apache-Related Projects

Internet News
Internet Investing
Internet Technology
Windows Internet Tech.
Linux/Open Source
Web Developer
ISP Resources
ASP Resources
Wireless Internet
Internet Resources
Internet Lists
Career Resources

Advertising Info
Corporate Info
PHPBuilder: Transforming XML with XSL using Sablotron
Oct 29, 2000, 13 :50 UTC (0 Talkback[s]) (983 reads) (Other stories by Justin Grant)

"XSLT is a language for transforming XML documents into other XML documents or HTML documents. I will not discuss XML, XSL or XSLT syntax in this article, for a good introduction to these please refer to the links at the end of this article.The focus of this article is on how to transform XML documents with XSLT using the Sablotron XSLT processor."

"Sablotron is the result of a project to develop a fast, reliable, compact and portable XSLT processor conforming to the W3C specification. It currently supports Linux, Windows NT and, beginning with version 0.42, Solaris. It requires the expat XML Parser. In addition to these pieces of software the PHP4 sablotron extension wrapper is required to build an extension module that you can load with the PHP4 parser to give you access to the Sablotron API. This may sound a bit complex but it's really not and the result is well worth the power that these functions will provide you with. Some links to instructions on how to do all this are provided at the end of the article."

"To demonstrate the use of these functions I have written an XSLT class that takes XML and XSL wether it be in the format of a file, a URL or a String and performs the transform. I use this class to to read an XML document from the web (the Slashdot news!) and transform it into an HTML page using an XSLT document on the local file system. I'll do my best to explain how I've done this and welcome questions in the followup section, so here goes nothing!"

Complete Story

Related Stories:
DevShed: Image Generation With PHP(Oct 28, 2000)
DevShed: Back To Class [with PHP4](Oct 27, 2000)
Filtering I/O in Apache 2.0: Part 2(Oct 23, 2000)
PHPBuilder: Storing Checkbox Data In Your Database(Oct 20, 2000)
PHP 4.0.3, Patch Level 1 Released(Oct 20, 2000)
European Unix Platform (EUP): Running PHP3 and 4 as simultaneous modules within Apache(Oct 14, 2000)
PHPBuilder: Variable Variables, PHP, and You(Oct 01, 2000)
PHPBuilder: Timing Script Execution(Oct 01, 2000)

  Current Newswire:
Apache 2.0.32 beta is available

Everything Solaris: Apache: The Basics

Apache Jakarta James Mailserver v2.0a2 Released

PostgreSQL v7.2 Final Release

Daemon News: Multiple webservers behind one IP address

Zend Technologies launches Zend Studio 2.0

NuSphere first to enable development of PHP web services

Covalent Technologies raises $18 million in venture capital

Apache 1.3.23 released

wdvl: Build Your Own Database Driven Website Using PHP and MySQL: Part 4

No talkbacks posted.
Enter your comments below.
Your Name: Your Email Address:

Subject: CC: [will also send this talkback to an E-Mail address]

See our talkback-policy for or guidelines on talkback content.

About Triggers Media Kit Security Triggers Login

All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux 2.4, Apache 1.3, and PHP 4
Copyright 2002 INT Media Group, Incorporated All Rights Reserved.
Legal Notices,  Licensing, Reprints, & Permissions,  Privacy Policy.