Rookie Tutorial -- Learning is not just technology, but also a dream!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
- XSLT Tutorial
- XSL Languages
- XSLT Introduction
- XSLT Browsers
- XSLT Transformation
- XSLT <template>
- XSLT <value-of>
- XSLT <for-each>
- XSLT <sort>
- XSLT <if>
- XSLT <choose>
- XSLT Apply
- XSLT Client
- XSLT Server
- XSLT Edit XML
- XML Editors
- XSLT Summary
- XSLT Examples
- XSLT Elements
- XSLT Functions
- XSLT Conversion Tool
- Programming
- Web Applications & Online Tools
- AI Tools, Chatbots & Virtual Assistants
- Scripting Languages
- Computer Science
- Development Tools
- Web Design & Development
- Programming Languages
XSLT document() Function
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. |
YouTip