SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: XML feed to viewable page
-
Mar 16, 2005, 08:35 #1
- Join Date
- Nov 2004
- Location
- Austin
- Posts
- 17
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
XML feed to viewable page
Need some assistance taking this xml and making it where I can select some of the variables to view a dataset (Freerolls) (Im assuming in html)
Thanks in advance.
Here is the code snipit:
Code:<?xml version="1.0" encoding="UTF-8"?> <tournament_schedule> <tournament id="2214716"> <name>30+3 NL Texas Holdem</name> <date>2005-03-16 00:00:00</date> <limit>NoLimit</limit> <money_type>RM</money_type> <free_roll>False</free_roll> <ticket_available>True</ticket_available> <operator_specific>False</operator_specific> </tournament> ... </tournament_schedule>
-
Mar 17, 2005, 08:24 #2
- Join Date
- Nov 2004
- Location
- Austin
- Posts
- 17
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
No one knows?
Its a standard xml feed and i want to show it on a htm page.
-
Mar 17, 2005, 20:47 #3
- Join Date
- Dec 2003
- Location
- Federal Way, Washington (USA)
- Posts
- 1,524
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you want your XML file to display the same as an HTML page, what you want to do is have a stylesheet to go with it, using XSL. W3Schools has an excellent tutorial on the subject. There's some cool stuff you can do with this!
Hope this helps.Music Around The World - Collecting tips, trade
and want lists, album reviews, & more
Showcase your music collection on the Web
-
Apr 7, 2005, 14:18 #4
Originally Posted by vinyl-junkie
http://www.w3schools.com/xsl/xsl_transformation.asp
It states "Finally, add an XSL Style Sheet reference to your XML document"
How is it possible to modify an XML document that resides on another site's server? I had already thought of saving the XML document locally on my server and editing it to fit this requirement however, that negates the benefit of a dynamically updated XML document.
Thanks in advance for your advice
-
Apr 8, 2005, 17:01 #5
- Join Date
- Jan 2003
- Posts
- 5,748
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I, therefore believe that the following link will help you to transform any XML feed to whatever you want, for example in your case it's HTML.
http://www.xml.com/pub/a/2003/01/02/tr.html
Courtesy of the Doctor
Bookmarks