version 1.5, 1999/12/14 10:00:45 |
version 1.7, 2000/02/28 13:22:27 |
|
|
%% $OpenXM: OpenXM/src/kan96xx/Doc/xml.sm1,v 1.4 1999/11/20 05:17:31 takayama Exp $ |
%% $OpenXM: OpenXM/src/kan96xx/Doc/xml.sm1,v 1.6 1999/12/15 09:17:15 takayama Exp $ |
%% xml.sm1 XML support for sm1. |
%% xml.sm1 XML support for sm1. |
%% This package requires ox.sm1 |
%% This package requires ox.sm1 |
[(parse) (ox.sm1) pushfile] extension |
[(parse) (ox.sm1) pushfile] extension |
(xml.sm1 : 1999, 11/20 Sat) message |
(xml.sm1 : 1999, 11/20 Sat) message |
%%%%% These should be under /usr/local/OpenXM or OpenXM_HOME |
%%%%% These should be under /usr/local/OpenXM or OpenXM_HOME |
/oxpath.java-support (lib/java-support) def |
/oxpath.java-support (lib/java-support) def |
|
/@@@.xml null def |
|
|
[(getenv) (OpenXM_HOME)] extension |
[(getenv) (OpenXM_HOME)] extension |
tag 0 eq { |
tag 0 eq { |
|
|
[/in-cmo2xml /ob] pushVariables |
[/in-cmo2xml /ob] pushVariables |
[ |
[ |
/ob arg1 def |
/ob arg1 def |
|
@@@.xml tag 0 eq { |
|
xmlconnect |
|
}{ } ifelse |
@@@.xml ob oxpushcmo |
@@@.xml ob oxpushcmo |
|
@@@.xml 1 oxpushcmo |
@@@.xml (CMO2OMXML) oxexec |
@@@.xml (CMO2OMXML) oxexec |
@@@.xml oxpopcmo /arg1 set |
@@@.xml oxpopcmo /arg1 set |
] pop |
] pop |
|
|
[/in-xml_to_cmo /ob] pushVariables |
[/in-xml_to_cmo /ob] pushVariables |
[ |
[ |
/ob arg1 def |
/ob arg1 def |
|
@@@.xml tag 0 eq { |
|
xmlconnect |
|
}{ } ifelse |
@@@.xml ob oxpushcmo |
@@@.xml ob oxpushcmo |
|
@@@.xml 1 oxpushcmo |
@@@.xml (OMXML2CMO) oxexec |
@@@.xml (OMXML2CMO) oxexec |
@@@.xml oxpopcmo /arg1 set |
@@@.xml oxpopcmo /arg1 set |
] pop |
] pop |
|
|
arg1 |
arg1 |
} def |
} def |
|
|
|
/xml_tree_to_prefix_string { |
|
/arg1 set |
|
[/in-xml_tree_to_prefix_string /sss] pushVariables |
|
[ |
|
/sss arg1 def |
|
sss isString { |
|
}{ |
|
(string xml_tree_to_prefix_string) error |
|
}ifelse |
|
sss xml_to_cmo cmoTreeToPrefix /ans set |
|
/arg1 ans def |
|
] pop |
|
arg1 |
|
} def |
|
|
|
|
/OMproxy-testsuits2 { |
/OMproxy-testsuits2 { |
xmlconnect |
xmlconnect |
1 1 30 { |
1 1 30 { |
|
|
} for |
} for |
(Done.) message |
(Done.) message |
} def |
} def |
|
|
|
|
|
|
|
|