Hi all;

I want to parse the request coming from the clients and generate a container 
object for my applicaion and execute my application.

The request is like that
<inBag xmlns="urn:cs.com.tr/banking">
    <booleanParam>false</booleanParam>
    <currencyParam>1233.8</currencyParam>
    <csdateParam>20080412</csdateParam>
    <cstimeParam>232320</cstimeParam>
    <doubleParam>34567</doubleParam>
    <floatParam>1234</floatParam>
    <intParam>2345</intParam>
    <longParam>4567</longParam>
    <stringParam>stringParam,</stringParam>
    <inputList>
        <key>listKey1</key>
        <value>listValue1</value>
    </inputList>
    <tableParam>
        <name>name1</name>
        <age>181</age>
    </tableParam>
</inBag>    


So I want to create an hashtable called inBag and put the elements as keys and 
their values as values like

Hashtable inBag = new Hashtable ();

inBag.put("booleanParam","false");
inBag.put("longParam",4567);

I am confused with axiom and unable to find good tutorials over the net. I will 
be pleased if you show me the way to do it.

Yours



 Ibrahim DEMIR
CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org


      

Reply via email to