Revision [1560]
This is an old revision of Functions made by DavidLee on 2010-11-18 10:40:01.
Functions
The following functions come with xmlsh. Those in the "Core" set are in the main (unnamed) namespace and can be used without an import statement.
Other functions are available only after importing the corresponding module.
Function | Set | Description | |||
---|---|---|---|---|---|
quote | Core | Concatenate all arguements as a single string and quote it | |||
QName | Core | Creates a QName | |||
jnew | Core | Creates a Java Object | |||
x | x | x | |||
integer | XS | Casts argument as an xs:integer | |||
string | XS | Casts argument as an xs:string | |||
|closeReader | StAX | Closes a StAX Reader | |||
getAttribute | StAX | Gets an attribute value from a StAX START_ELEMENT Event | |||
getData | StAX | Gets the Data of a StAX Event | |||
getEventType | StAX | Gets event type of a StAX Event | |||
getName | StAX | Gets name of a StAX Event as a QName | |||
getNamespace | StAX | Gets namespace URI of a StAX Event as a String | |||
hasNext | StAX | Advances the StAX Stream to the next matching event | |||
nextEvent | StAX | Returns the next event |
See Also XS Functions
See Also StAX Functions