[SOLVED] transform the xml to html with php and xsl

This is a discussion on "[SOLVED] transform the xml to html with php and xsl" within the PHP Forum section. This forum, and the thread "[SOLVED] transform the xml to html with php and xsl are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 2nd, 2007, 03:05
Junior Member
Join Date: Oct 2007
Location: China
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy [SOLVED] transform the xml to html with php and xsl

I'm a newbie of php , and recently My boss asked me to study php and xsl.I know nothing about php , and I hope someone can tell me the process ......
I think I should get the data from database by php and make it as a .xml file and then make a .xsl file and then the .xsl file transform the .xml file into .html????I don't know if I was wrong , and hope someong tell me the detail process or give me some samples.......
Thank u !

  #2 (permalink)  
Old Nov 2nd, 2007, 08:25
Junior Member
Join Date: Oct 2007
Location: Israel
Age: 21
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Question Re: transform the xml to html with php and xsl

what are you trying to do?
u got me confused

xsl -> xml (manually or with php>?)
xml -> show it in html\php ?
  #3 (permalink)  
Old Nov 2nd, 2007, 12:41
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: transform the xml to html with php and xsl

Why would you transform xml to xls first?

Could you not just transform the XML straight to HTML?
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
  #4 (permalink)  
Old Nov 2nd, 2007, 13:34
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: transform the xml to html with php and xsl

I think you may want to try simplexml, it's really easy.
Here's a link to a tutorial http://www.w3schools.com/php/php_xml_simplexml.asp
Also have a look on the php.net manual.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
  #5 (permalink)  
Old Nov 5th, 2007, 01:36
Junior Member
Join Date: Oct 2007
Location: China
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: transform the xml to html with php and xsl

thank u all!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] HTML or XHTML marSoul Web Page Design 18 Dec 23rd, 2007 09:53
[SOLVED] Changing from html to CSS mcdanielnc89 Web Page Design 16 Oct 11th, 2007 04:29
[SOLVED] CSS/Html problem Rienk0r Web Page Design 12 Oct 4th, 2007 09:24
How to transform normal text into link robertboyle PHP Forum 9 Sep 13th, 2006 12:44
Transform to CSS tolis Web Page Design 1 Jul 15th, 2006 06:33


All times are GMT. The time now is 11:33.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43