Database Reference
In-Depth Information
<exist:qname>
(exist:prefix?,
exist:localname,
exist:namespace?)
</exist:qname>
<sx:sequence>
(sx:value+)
</sx:sequence>
<sx:value type? = string >
(text() | element())
</sx:value>
Example B-1. variables XML document
<variables xmlns= "http://exist.sourceforge.net/NS/exist"
xmlns:sx= "http://exist-db.org/ xquery/types/serialized" >
<variable>
<qname>
<localname> my-var </localname>
</qname>
<sx:sequence>
<sx:value type= "xs:string" > some value </sx:value>
</sx:sequence>
</variable>
<variable>
<qname>
<localname> author </localname>
<namespace> http://book/example/ </namespace>
</qname>
<sx:sequence>
<sx:value>
<firstName xmlns= "" > Adam </firstName>
</sx:value>
<sx:value>
<lastName xmlns= "" > Retter </lastName>
</sx:value>
</sx:sequence>
</variable>
</variables>
Search WWH ::




Custom Search