Corba data -> XML

Thillai (thillai@ix.netcom.com)
Tue, 22 Sep 1998 12:25:15 -0400


Hi,

I know only little bit about XML. I like to know whether a CORBA operation
can be expressed in XML document type definition?

For example if the IDL has something like

interface z
{
typedef sequence<String, 5> t1;

void x(in int p1, in t1 p2);
}

and I want to store the parameters for the operation in a file.

I like to have a XML data file like
<interface>
z
<operation>
x
<inparameter>
<param>
p1
<value>10</value>
</param>
<param>
p2
<value><nelems>5</nelems><0>abc</0><1>efg</1><2>hij</2><3>
klm</3><4>nop</4></value>
</param>
</inparameter>
</operation>
</interface>

If there is no maximum limit for the type t1 then no. of elements in the
sequence might vary.

For this file is it possible to write DTD. (I will read about DTD and find.
Before that any expert comment will be helpful)

If it is possible then is it possible to write XSL for getting values from the
user. (no. of elements in the sequence might vary at runtime).

Thillai
AT&T
Middletown, NJ