Results 1 to 4 of 4

Thread: Generate xml files based off different schemas?

  1. #1
    Join Date
    Jan 2005
    Posts
    9

    Default Generate xml files based off different schemas?

    This is not relevant to Spring, but I'm not sure whereelse I could post. I have a common set of data, and a few different xml schemas. What is the best approach to generate different xml files based off these xml schemas? I would expect a process that take the data and a xml schema, and then spit out a xml file. Is it possible? Thanks for your help.

  2. #2
    Join Date
    Jun 2005
    Location
    Dallas, Texas
    Posts
    19

    Default

    Do you mean something like Middlegen-Hibernate-r5? Where it reads some database tables and automatically creates the hbm and java files for you?

  3. #3
    Join Date
    Jan 2005
    Posts
    9

    Default

    I meant to pull data out of db and generate a xml file for a given dtd or schema file.

  4. #4
    Join Date
    May 2005
    Location
    Boise, Idaho
    Posts
    3

    Default Hibernate XML Mapping

    Hibernate 3.0 supports exporting managed objects to XML. The structure of the XML is specified in the hbm.xml mapping files.

    http://www.hibernate.org/hib_docs/v3.../html/xml.html

    While this won't satisfy your requirement of exporting to different schemas, you could export to one XML schema than use XSL to get to the other schemas.

    --david

Similar Threads

  1. changing hibernate schemas at runtime
    By kbaum in forum Data
    Replies: 8
    Last Post: Dec 19th, 2011, 09:38 PM
  2. Reusable 'Module' configuration files?
    By zanfolim in forum Architecture
    Replies: 6
    Last Post: Sep 28th, 2006, 06:52 AM
  3. Generate Hibernate Map Files
    By gono in forum Data
    Replies: 5
    Last Post: Jun 24th, 2005, 02:54 PM
  4. Only Role Based security!!!!!!!!????????
    By sajid2045 in forum Security
    Replies: 6
    Last Post: Apr 22nd, 2005, 10:59 AM
  5. Unexpected behaviour with multiple config files
    By rgitzel in forum Container
    Replies: 7
    Last Post: Mar 8th, 2005, 07:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •