But, I've just discovered that unparsed-text-available() will
return true for xml files. So, I don't know how to
distinguish within my xslt which files are unparsed and which
ones aren't.
if unparsed-text-available() returns true, doc-available() will distinguish
XML from non-XML files. (Though not without some cost: an extension function
might do the job faster.)
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--