The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
Please vote in the Forum Structure Poll. Polling will close at 2PM EST on January 21, 2025.
So I'm creating a site for the OU basketball time. Actually not creating, but just sprucing up a halfassed job done. I know how to manipulate code and all of that but I've never dealt with XML before.
What I need it for is to have the XML file feed the site stats for individual players and even coaching records. I just don't know how to go about that.
Are you creating the XML file? reading the XML file?
Big difference.
Generally speaking you need an XML parsing API to translate the markup into usable data. Basically languages have one somewhere, usually built into the game.
PHP is not available, just on a local system running a kiosk-like display (touch screen.)
Just need a way to keep stats updated for players and the team. Right now I'm doing it all graphically which isn't bad, but I'd rather update one XML file than 20+ psds into PNGs.
Jasconius: I'm not quite sure what you're saying. I'd be creating an XML file and reading the XML file from the individual pages for the players.
You can get the browser to do all the work by using XSLT.
Basically you make the XSLT code "page" that works with your data, and then you just transfer your .xml files and load them in the browser and you'll get a nicely formatted page. The .xml will reference your XSLT page so that the browser knows to look for it and find out how you want the data displayed.
This is why when you browse say the WoW Armory and you request an .xml file, it looks nothing like XML but is a well styled page.
Even if you were to go with a server side technology like PHP, ASP.NET, or JSP, you would want to use an XML library to transform using XSLT. The thought of manually parsing XML files makes me cringe.
Posts
http://php.net/manual/en/book.simplexml.php
That's what we use on our site to load content. Would this work for you?
Big difference.
Generally speaking you need an XML parsing API to translate the markup into usable data. Basically languages have one somewhere, usually built into the game.
we also talk about other random shit and clown upon each other
Just need a way to keep stats updated for players and the team. Right now I'm doing it all graphically which isn't bad, but I'd rather update one XML file than 20+ psds into PNGs.
Jasconius: I'm not quite sure what you're saying. I'd be creating an XML file and reading the XML file from the individual pages for the players.
Basically you make the XSLT code "page" that works with your data, and then you just transfer your .xml files and load them in the browser and you'll get a nicely formatted page. The .xml will reference your XSLT page so that the browser knows to look for it and find out how you want the data displayed.
This is why when you browse say the WoW Armory and you request an .xml file, it looks nothing like XML but is a well styled page.