fonto:curated-text-in-node

The license could not be verified: License Certificate has expired!

Type: Function

This function will return the curated text from a given node. Any text content under detached and removed nodes will be ignored. Newline characters will be inserted in places where a boundary from inline context to a block context is crossed. Newline characters will also be inserted for break elements.

Note: Make sure to import this function's namespace before calling this function. Refer to the example below on how to do this.

import module namespace fonto = "http://www.fontoxml.com/functions";
fonto:curated-text-in-node($node)

Refer to the example on the XPath/XQuery Fonto specific examples page for a more detailed example on how to use this function.

Arguments

# Name Type Description
1. $node Node

The node to return the curated text of.

Returns

Type: String

A string containing the curated text.

Was this page helpful?