PDA

View Full Version : XSL & XML guru help appreciated


iersel
12-02-2005, 01:39 PM
Hi, I have become really interested into some 'new' internet techniques and that resulted in trying something from my own

I thought it would be easy (and very handy) to create my own homepage whit use of some XSL techniques

The idea was to create all my homepages in simple html without all the stuff what would be placed on every page; that would be putted into a different page what actually defines the menu, navigation, layout and so on

That way it would be easy to add new pages, change the look radically or whatever else without doing lots of rewriting

But unfortunately I have been unable till now to get this working...

Attached you find a file what contains an example to illustrate my problem
In the zip file are 2 xml files and two other files
-layout.xml should describe the look and feel of the entire homepage (this file should normally not be accessed directly by the visitor)
-xhtml_basic.xml contains the actual contents for a page. This file is viewed by the visitor
-this file should use style.xsl to apply the look and feel as described in layout.xml
-finally there is a CSS file

I have been trying to get this working but all my attempts have been in vain

If someone could suggest me how to accomplish all this, that would be great
Or maybe you know an alternative?

Thanks in advance!

Regards Nathan



Oh, one final note.
IE seems not to parse the xml files as I would expect... but FF does!

KC-Luck
12-02-2005, 05:18 PM
your zip is plagued with many errors, and you haven't even created any XSL code at all??

iersel
12-02-2005, 07:05 PM
I think you used IE, as I said FF does it well (if I rename the files to layout.html it works as well with IE for me)
I just checked with my browser if I could read the xml files, my browsers doesn’t complain at all

I have been taking out my XSL because nothing what I tried was working...

I thought that way it was easier/cleaner to read what I was trying to accomplish

iersel
12-05-2005, 02:11 PM
thread closed

http://www.codingforums.com/showthread.php?t=73995