Revision [1885]

This is an old revision of Functions made by DavidLee on 2013-02-08 18:37:15.



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.

Functions are invoked using the Function Call Syntax

jnewCoreCreates a Java Object
quoteCoreConcatenate all arguements as a single string and quote it
QNameCoreCreates a QName
integerXSCasts argument as an xs:integer
stringXSCasts argument as an xs:string
attributeXSCreate an attribute node
elementXSCreate an element node
documentXSCreate a document node
closeReaderStAXCloses a StAX Reader
getAttributeStAXGets an attribute value from a StAX START_ELEMENT Event
getDataStAXGets the Data of a StAX Event
getEventTypeStAXGets event type of a StAX Event
getNameStAXGets name of a StAX Event as a QName
getNamespaceStAXGets namespace URI of a StAX Event as a String
hasNextStAXAdvances the StAX Stream to the next matching event
nextEventStAXReturns the next event
newEventReaderStAXCreates a new XMLEventReader object
json:booleanJSONCreates a JSON boolean value
json:nullJSONCreates a JSON null value
json:arrayJSONCreates a JSON value
json:jsonJSONCreates a JSON object or array from a string
json:objectJSONCreates a JSON object
json:numberJSONCreates a JSON number
json:pathJSONEvaluates a JsonPath on a JSON object
json:stringJSONCreates a JSON string
json:valueJSONCreates a JSON value

See Also XS Functions
See Also StAX Functions
See Also Commands
See Also Java Objects
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki