home contribute faq download

FunctX XSLT Functions

XML Documents, URIs and IDs

Google
Webdatypic.com

Opening Input Documents

fn:collectionOpens a collection
fn:docOpens a document based on a URI
fn:documentOpen one or more XML documents
fn:doc-availableWhether a document is available
functx:open-ref-documentResolves a relative URI and references it, returning an XML document
fn:unparsed-textOpen a non-XML document
fn:unparsed-text-availableCheck if a non-XML document exists

IDs

functx:id-from-elementGets the ID of an XML element
fn:idRetrieves elements by their ID
fn:idrefRetrieves elements that refer to other elements based on ID
functx:id-untypedGets XML element(s) that have an attribute with a particular value
fn:generate-idGenerate an unique ID for a node
fn:keyReturn the nodes that have a specified key

URIs

fn:base-uriThe base URI of a node
fn:document-uriThe URI of a document
fn:encode-for-uriEncodes reserved characters for use in the path of a URI
fn:escape-html-uriEscapes all characters except printable ASCII characters
fn:iri-to-uriConverts an IRI into a URI
functx:is-absolute-uriWhether a URI is absolute
functx:scheme-from-uriReturns the scheme from a URI
functx:fragment-from-uriReturns the fragment from a URI
fn:resolve-uriResolves a relative URI to a base URI, returning an absolute URI
fn:static-base-uriThe base URI from the static context

Datypic XSLT Services

Recommended Reading:

XQuery