Update of /cvsroot/monetdb/MonetDB5/src/modules/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29061/src/modules/mal
Modified Files:
batxml.mx
Log Message:
added calc.xml(str) and batcalc.xml(str)
Index: batxml.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/batxml.mx,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- batxml.mx 25 Aug 2007 18:03:31 -0000 1.11
+++ batxml.mx 31 Aug 2007 16:57:12 -0000 1.12
@@ -86,20 +86,15 @@
command xml.element(name:str, s:bat[:oid,:xml]) :bat[:oid,:xml]
address BATXMLtag
-comment "The basic building block for XML elements are namespaces,
-attributes and a sequence of xml elements. The name space and
-the attributes may be left unspecified.";
+comment "The basic building block for XML elements are namespaces, attributes
and a sequence of xml elements. The name space and the attributes may be left
unspecified.";
command xml.options(tag:str, option:str,left:bat[:oid,:xml]):bat[:oid,:xml]
address BATXMLoptions
comment "Create the components including NULL conversions";
-
command xml.element(name:str, ns:xml, attr:xml,
s:bat[:oid,:xml]):bat[:oid,:xml]
address BATXMLelement
-comment "The basic building block for XML elements are namespaces,
-attributes and a sequence of xml elements. The name space and the
-attributes may be left unspecified(=nilt).";
+comment "The basic building block for XML elements are namespaces, attributes
and a sequence of xml elements. The name space and the attributes may be left
unspecified(=nilt).";
command xml.concat(left:bat[:oid,:xml],right:bat[:oid,:xml] ):bat[:oid,:xml]
address BATXMLconcat
@@ -107,7 +102,7 @@
pattern xml.forest(val:bat[:oid,:xml]...):bat[:oid,:xml]
address BATXMLforest
-comment "Construct an element list");
+comment "Construct an element list";
command xml.agg(grp:bat[:oid,:oid],val:bat[:oid,:xml]):bat[:oid,:xml]
address BATXMLagg
@@ -117,14 +112,17 @@
address BATXMLgroup
comment "Aggregate the XML values over grouping specified";
-
command xml.root(val:bat[:oid,:xml], version:str,
standalone:str):bat[:oid,:xml]
address BATXMLroot
comment "Contruct the root nodes";
command xml.isdocument(val:bat[:oid,:str]):bat[:oid,:bit]
address BATXMLisdocument
-comment "Validate the string as a document"
+comment "Validate the string as a document";
+
+module batcalc;
+command xml(src:bat[:oid,:str]):bat[:oid,:xml] address BATXMLstr2xml;
+
@{
@include ../kernel/kprelude.mx
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins