Revision [128]

This is an old revision of CommandXquery made by DavidLee on 2008-04-25 19:04:54.

 

Command xpath


Name

xquery evaluate an XQUERY expression and print the result

Synopsis

xquery [-f xquery-file] [-i input-file] [-n] xquery-expr

Description

-f xquery-file read xquery script from file
-i input-file use input-file as the source xml document, otherwise stdin
-n do not use a source context
xquery-expr xquery expression

Example

$ xls | xquery '//file[1]/@name/string()'
.classpath

Return Value

Returns 0 if the the xquery expression executed successfully. otherwise 1


CategoryCommands

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki