|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Dyanmic XML Tag nameHi We have been using Simple for XML serialization. In one of our requirements, we need to create an xml file of
the data fetched from a table. For e.g. A table with name “EMP_DET” has 3 columns (Name,
Age, Designation). The resulting xml file should be as follows … <row> <Name>John
Doe</Name> <Age>31</Age> <Designation>Manager</Designation> </row> …. On using @ElementMap(inline=true, attribute=false) private Map<String, String> Columns; We are getting the output as follows … <row> <entry> <String>Name</
String > <
String >John Doe</ String > </entry> <entry> <String>Age</
String > <
String >31</ String > </entry> <entry> <String>
Designation </ String > <
String > Manager </ String > </entry> </row> …. Appreciate if you can let us know of any approach that will
help to get the desired XML output. Regards ______________________________________________________________________________________ Donzil
Pinto | Sr.
Technical Architect – Products & Technology
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Simple-support mailing list Simple-support@... https://lists.sourceforge.net/lists/listinfo/simple-support |
|
|
|
Re: Dyanmic XML Tag name
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Simple-support mailing list Simple-support@... https://lists.sourceforge.net/lists/listinfo/simple-support |
| Free embeddable forum powered by Nabble | Forum Help |