insert-before


insert-before

The insert-before() function returns a sequence constructed by inserting an item, or a sequence of items, at a given position within another sequence. For example, «insert-before(("a", "b", "c"), 2, "X") » returns «("a", "X", "b", "c") » .

Argument

Data Type

Meaning

sequence-1

item()*

The original sequence

position

xs:integer

The position in the original sequence where the new items are to be inserted

sequence-2

item()*

The items that are to be inserted

Result

item()*

The constructed sequence




XSLT 2.0 Programmer's Reference
NetBeansв„ў IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (2nd Edition)
ISBN: 764569090
EAN: 2147483647
Year: 2003
Pages: 324

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net