Subject: RE: [xsl] Unparsed-text-available returns true for XML files, so how do I distinguish XML files? From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sun, 3 Jan 2010 18:59:54 -0000 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Unparsed-text-available r, ac | Thread | [xsl] sequential numbering in xslt, a kusa |
Re: [xsl] Unparsed-text-available r, Andrew Welch | Date | Re: [xsl] Unparsed-text-available r, Syd Bauman |
Month |