previous next
XQueryX
A natural transformation ought to be to XQueryX, the official XML syntax for XQuery:
<xqx:module xmlns:xqx="http://www.w3.org/2005/XQueryX">
<xqx:mainModule>
<xqx:queryBody>
<xqx:addOp>
<xqx:firstOperand>
<xqx:integerConstantExpr>
<xqx:value>1</xqx:value>
</xqx:integerConstantExpr>
</xqx:firstOperand>
<xqx:secondOperand>
<xqx:integerConstantExpr>
<xqx:value>2</xqx:value>
</xqx:integerConstantExpr>
</xqx:secondOperand>
</xqx:addOp>
</xqx:queryBody>
</xqx:mainModule>
</xqx:module>