I have an file which will either be empty, or will contain a single line with a single string value.
I can consume the file contents in either an XPath expression evaluator or in an XSL transform, version 1.
I simply need to know if there is a value in the file or not.
As far as I know, both tools require correctly formed XML.
Do I have any options?
(It's a boring story about why I only have XPath or XSLT 1.0 available to me)