[Home] [By Thread] [By Date] [Recent Entries]
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.
|

Cart



