| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|xslt of a dynamically generated xml page|
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
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.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved