• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Castor Mapping

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i write mapping.xml file for the xml which looks like

<Book>
<Author name="ABC">ABC PUBLICATION</Author>
<Author name="XYZ">XYZ PUBLICATION</Author>
.
.
.
<Book>

[ February 14, 2005: Message edited by: raghuveer mandal ]

[ February 14, 2005: Message edited by: raghuveer mandal ]

[ February 14, 2005: Message edited by: raghuveer mandal ]
[ February 14, 2005: Message edited by: raghuveer mandal ]
 
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think your question will be better answered in 'XML and related technologies' forum.

Here is the take on castor question. My understanding of castor is that depending on a xsd you feed to the castor api, it will create the necessary classes which will be used to gererate your xml.

Are you having trouble creating these xml generation classes?
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to XML...
 
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!