Revision [1629]

This is an old revision of Functions made by DavidLee on 2010-12-07 06:18:26.

 

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.

Functions are invoked using the Function Call Syntax

FunctionSetDescription
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





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