home contribute faq download

FunctX XSLT Functions

fn:unparsed-text-available

Check if a non-XML document exists

Google
Webxsltfunctions.com

Description

The fn:unparsed-text-available function checks if an an external resource (for example, a file) is available. It allows you to check first whether a resource exists before calling the fn:unparsed-text function. Note: this is an XSLT-only function; it is not available in XQuery or XPath.

Arguments and Return Type

NameType
$href xs:string?
$encoding xs:string
return value xs:string?

Examples

XSLT ExampleResults
No examples are available yet.

See Also

fn:unparsed-textOpen a non-XML document
fn:doc-availableWhether a document is available

History

Published OnLast UpdatedContributor(s)
2007-03-172007-03-17W3C, XSLT 2.0, http://www.w3.org/TR/xslt20/
Datypic XSLT Services

Recommended Reading:

XQuery