Name

create-pi — Creates a "processing instruction" XML tree entity.

Synopsis

entity create-pi ( piname string ,
pivalue string );

Description

This is an internal XQUERY function and you will probably never need to call it explicitly. It is not a part of library of standard XQUERY 1.0 functions.

This function creates an XML entity of sort "processing instruction". If pivalue is an empty string, the resulting processing instruction will have no value at all, exactly as if the pivalue is not passed at all.

Parameters

piname

Name of processing instruction that should be created

pivalue

String data stored in processing instruction

Return Types

XML tree entity of type "processing instruction"