Skip to content
Archive of posts tagged XSLT

Dynamically Assigning XSLT And XML Files Via PHP And Apache mod_rewrite

Recently asked on Yahoo! Answers:
How to work with XML files in PHP?
I’ve a couple directories filled with thousands of xml files.
Also all these xml files should be reachable with their filename (but have .php at the end instead of .xml) in the url.
For example in the article directory the xml file named “news.xml”should be reachable [...]

Using National Weather Service XML Feeds With ASP.NET, ADO.NET And XSL

In a previous article, I noted that I would provide ASP.NET code to consume the National Weather Service’s XML current observation feeds. Here it is.
In the case of PHP, I opted to create a class that would provide a simple array of values from the feed, as well as some predefined outputs for the feed [...]