YouTip LogoYouTip

Func Document

XSLT document() Function | Rookie Tutorial

Rookie Tutorial -- Learning is not just technology, but also a dream!

XSLT Tutorial XSLT Element Reference XSLT Conversion Tool Deep Dive
  • Programming
  • Web Applications & Online Tools
  • AI Tools, Chatbots & Virtual Assistants
  • Scripting Languages
  • Computer Science
  • Development Tools
  • Web Design & Development
  • Programming Languages

XSLT document() Function


XSLT Function Reference Complete XSLT Function Reference

Definition and Usage

The document() function is used to access nodes in an external XML document. The external XML document must be valid and parseable.

One way to use this function is to look up data in an external document. For example, if we want to find the Celsius value corresponding to a Fahrenheit value, we access a document containing pre-calculated values:


Syntax

 node-set document(object,node-set?) 

Parameters

Parameter Description
object Required. Defines the URI of the external XML document.
node-set Optional. Used to resolve relative URIs.

XSLT Function Reference Complete XSLT Function Reference
← Func ElementavailableFunc Current β†’