[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Unparsed-text-available returns true for XML files
I use base-uri(/) and the sub-string functions to distinguish file type. Mark -------------------------------------------------- From: "Brian Newman" <brian.newman@xxxxxxxxxxx> Sent: Sunday, January 03, 2010 8:47 AM To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: Unparsed-text-available returns true for XML files, so how do I distinguish XML files? I've got a situation where I've got a number of files I need to transform. I don't know what kind of files they are going to be (they are anything from an enumerated list of file types, but can be anything from .mdb to .sql to .xml to .xls and so on). So, I need to test the file type and then process them accordingly.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|