Welcome to WebmasterWorld Guest from 54.226.62.251

Forum Moderators: httpwebwitch

Message Too Old, No Replies

xslt of a dynamically generated xml page

     

hame22

4:01 pm on Jul 19, 2005 (gmt 0)

10+ Year Member



There is a dynamic xml page produced by php that I want to stylise in my own page using php and xsl template into html.

It has a url lie "http://domain/phppage.php?id=3

the id variable changes the content displayed within the xml page

is it possible to do this and how do i go about it.

is it possible to do this to a local file that I have aswell.

I can easily transform the page however not into pure html, i still get the xml in the source code

thanks in advance

athinktank

9:35 pm on Jul 19, 2005 (gmt 0)

10+ Year Member



Hello hame22 and welcome to Webmaster World!

Everything you asked about is possible, you can reference things both locally and remotely.

i still get the xml in the source code

It maybe as simple as adding
 
<xsl:output method="html" />

to your xsl as a top level element. It maybe more complicated than that. If this does not do the trick, then repost with code samples.

This [sniptools.com] seems like a good example too.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month