Welcome to WebmasterWorld Guest from 54.242.206.44

Forum Moderators: httpwebwitch

Message Too Old, No Replies

xslt of a dynamically generated xml page

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

New User

10+ Year Member

joined:July 19, 2005
posts:4
votes: 0


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

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

Junior Member

10+ Year Member

joined:May 18, 2002
posts:126
votes: 0


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.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members