Hello Dear Sirs !
First of All I WAS VERY WONDERED when i find the "Castor" project .
It was really good idea to create this stuff .
I tried to use it in my programs and just surprised how your project really
tailored to XML programmers needs .
THANKS A LOT FOR YOUR TERRIFIC WORK TO ALL THE DEVELOPERS !
But a some time ago I have encountered with some Parsing problem ....
May be my quastion is to stooped , but i still can not find an answer .
I have to parse From Java Class to XML and Vice Versa next kind of XML :
************************ First Question
*****************************************
<Inputs>
< Line LineNumber = '0'
Selected 'yes'
Attribute='Value of Attribute'
IDFormat='Format to Apply'
<Value Name ='Rate'>4.89</Value>
<Value Name ='Subscribtion'>yes</Value>
<Value Name ='EnrolmentDate'>12.12.2002</Value>
<Value Name ='ProviderName'>Somebody</Value>
</Line>
< Line LineNumber = '1'
Selected 'no'
Attribute='Value of Attribute'
IDFormat='Format to Apply'
<Value Name ='Queue'>2Q</Value>
<Value Name ='IVR'>yes</Value>
<Value Name ='EnrolmentDate'>31.12.2002</Value>
</Line>
< Line LineNumber = '3'
Selected 'yes'
Attribute='Value of Attribute'
IDFormat='Format to Apply'
<Value Name ='CustomerName'>NA</Value>
<Value Name ='Vacancy'>yes</Value>
</Line>
</Inputs>
************************ End of First Question ***************************
*********************** Second Question
***************************
<Inputs>
Value< ItemAttribute = 'CurentItemAttribute' ItemProperty ='
ItemProperty' >
Value<ItemAttribute = 'CurentItemAttribute' >
Value<ItemProperty =' ItemProperty' >
Value< ItemAttribute = 'CurentItemAttribute' ItemProperty ='
ItemProperty' >
Value<ItemAttribute = 'CurentItemAttribute' >
Value< ItemAttribute = 'CurentItemAttribute' ItemProperty ='
ItemProperty' >
Value< ItemAttribute = 'CurentItemAttribute' ItemProperty ='
ItemProperty' >
</Inputs>
*********************** End of Second Question
***************************
And I dont know How I can MAP these XML formats to Java Classes and vice
versa .........
(to my pitty It is not my idea to assemble it in this manner and this is
not given to some improvement change .... )
In your examples all things look so simple and understandable ... but I
have no idea about my case .....
Please , help me with this ....
Are these kinds of XML can be really somehow binded and work together with
"Castor" ?
It it really possible to do these things ?
I will really appreciate your attempt to help me .
Thank you ,
Marat
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev