Wiki source for CommandXbase


Show raw source

======Command xbase======


=====Name=====
**xbase** Extracts the URI Base from an XML document or node

====Synopsis====
xbase [ [[SerializationOptions serialization options]] ] [file]

If file is specified extracts the base URI from that file, otherwise uses stdin.


====Description====

Example:
%%(shell)
xbase http://test.xmlsh.org/data/books.xml
%%
Result
%%
http://test.xmlsh.org/data/books.xml
%%


====Return Value====
Returns 0 if the command executed successfully, 1 if there was an error.
----
[[Commands]]
[[CategoryCommands]]


Valid XHTML :: Valid CSS: :: Powered by WikkaWiki