Dragenesis
Registered User.
- Local time
- Today, 01:36
- Joined
- Dec 18, 2007
- Messages
- 16
Different users generate different xml files every day and, every day, I have to have to summarize what is in the xml files. I wrote a small script using loadxml command to load the xml files and extract the information I want from them. However, in order to load the files, I must pass on a file path and the file path is case sensative. This is a problem since the file names don't always stay the same. For example, a file that is usually named "Tiana.xml" may be named "tiana.xml" or "tiana-friday.xml" or "tiaNa.xml", depending on what the user types in. How do I make it so that the xml file will load regardless of case and use some kind of wildcard to pass to the loadxml procedure?