04-04-2008, 02:46 AM
|
#2 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
I would take the file-name to find the corresponding XML file. You will need to normalise the file-name, so remove any unnecessary slashes, et cetera. And make sure if it cannot find the XML file, it fails gracefully. Don't forget to check for an empty file-name and default to index!
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|