Forum Moderators: phranque

Message Too Old, No Replies

XML Processor

PHP preferably

         

Filipe

4:45 pm on Sep 20, 2002 (gmt 0)

10+ Year Member



I want all the articles in my database stored in XML format. Thing is, I'll need something to take that XML and turn it into HTML for my website. I'm familiar with XML rules and syntax, but not so much with it's application on the web. Is there a system in PHP which will chop up my XML and turn it, according to my rules, HTML? Or have I missed the point entirely?

Gibble

6:18 pm on Sep 20, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That is exactly the point. You use a processor like Sablotron (php has functions to control it) and transform your XML document with XSLT into HTML.

Nick_W

6:21 pm on Sep 20, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Everything I've read (and everything I intend to do someday ;)) points to Sablotron.

My host won't install it.... Sods!

Nick

Filipe

9:03 pm on Sep 20, 2002 (gmt 0)

10+ Year Member



Yep, read up more on it.

Sablotron is the only XSLT processor supported by the PHP XSLT extensions. Find more here:

PHP exenstions: [php.net...]
Sablotron XSLT Library: [gingerall.com...]