The Pyrrho Database Management System

Malcolm Crowe, University of the West of Scotland

 

Pyrrho SQL syntax

XML Support

XMLFunction = XMLComment | XMLConcat | XMLDocument | XMLElement | XMLForest | XMLParse | XMLProc | XMLQuery | XMLText | XMLValidate .

XMLComment = XMLCOMMENT ( Value ) .

XMLConcat = XMLCONCAT ( Value {, Value } ) .

XMLDocument = XMLDOCUMENT '(' Value ')' .

XMLElement = XMLELEMENT ( NAME id [ , Namespace ] [, AttributeSpec ]{ , Value } ) .

Namespace = XMLNAMESPACES ( NamespaceDefault |( string AS id {, string AS id }) ) .

NamespaceDefault = (DEFAULT string) | (NO DEFAULT) .

AttributeSpec = XMLATTRIBUTES ( NamedValue {, NamedValue }) .

NamedValue = Value [ AS id ] .

XMLForest = XMLFOREST ( [ Namespace ,] NamedValue { , NamedValue } ) .

XMLParse = XMLPARSE ( CONTENT Value ) .

XMLProc = XMLPI ( NAME id [, Value ] ) .

XMLQuery = XMLQUERY '(' xml [ PASSING NamedValue { , NamedValue }] ')' .

XMLText = XMLTEXT '(' xml ')' .

XMLValidate = XMLVALIDATE '(' (DOCUMENT|CONTENT|SEQUENCE) Value ) .

NO VALUE is the default for the standalone property.