PDA

View Full Version : xml site


iersel
11-24-2005, 11:15 AM
Hi, I am new here,
Actually I am new to the whole website development using popular techniques like xml and stuff. Now I wanted to know something more about it and I did some homework reading stuff and I found it so interesting that I decided to make my own website in order to learn how to use these kinds of techniques in practice.

In the attached file you find a really simple about how my page could look like (layout.html) but it is not totally what I want yet.
The actual content is still missing! and is stored in page1.xml and page2.xml (and partly in common.xml)

Now is my question:
What are the possible techniques to show the pages in their full glory?
I mean how can I combine the markup with the xml files...

I have been trying something with xsl but I didn't figure it out.
Also I have been thinking about using php because I will use that in some places but I actually prefer not to use that for this purpose...

Regards,
Nathan

James_Sheppard
11-25-2005, 10:26 AM
A Cascading Style Sheet alongside your XML and XSL will add colours and any background images to your site and show it in all its glory.

Otherwise I don't know what else is possible, as I myself are new to the world of XML.

iersel
11-25-2005, 10:36 AM
Ok, I figured it out using xsl (see attachment).
Only thing what is left is fixing php support
Because that doesn’t work yet...

Any help is well appreciated

Alex Vincent
11-26-2005, 05:29 AM
You want <?php ?> to work, right? See http://www.codingforums.com/showpost.php?p=256460&postcount=2