Hello, I am developing and xml based website and i wanted to find out if at all i can <!-- include# file="file.xml" --> in a shtml document. If not what methods can i use to import xml data into other files?
Kendall
include commands for xhtml
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Basically PHP just facilitates XSLT creating XHTML out of your XML. You could do the transformations clientside but then you're at the mercy of different browser implementations.
If you are going to be doing a lot of XML work and haven't yet played with XML and XSLT you should go hunt out some tutorials and have a go - it's a lot of fun and kinda like magic, plain boring XML in - nice pretty web page out
Mac
If you are going to be doing a lot of XML work and haven't yet played with XML and XSLT you should go hunt out some tutorials and have a go - it's a lot of fun and kinda like magic, plain boring XML in - nice pretty web page out
Mac
- kendall
- Forum Regular
- Posts: 852
- Joined: Tue Jul 30, 2002 10:21 am
- Location: Trinidad, West Indies
- Contact:
oh twigle beleev me i have i even suprised my self in creating a recursive xslt sheet that takes catalog information and listing it out in a "3 in a row " loop. i ask this question in reference to viewtopic.php?p=137143#137143 Im also reasearching ways of using it with MySQL but havent found anything understandable yet
there are some interesting articles at:
http://www.tonymarston.net/php-mysql/ph ... cles).html
http://www.tonymarston.net/php-mysql/ph ... cles).html