OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: create valid XML from DTD and database

[ Lists Home | Date Index | Thread Index ]
  • From: mark hu <mark@fintrack.com>
  • To: Michelle_Zhao@amsinc.com, xml-dev@lists.xml.org
  • Date: Wed, 09 Aug 2000 17:02:26 -0400

Yes, you can - and the way that our stuff works now is: construct a HashMap
to host all your particular Resultsets and then at the end of XML document
ending - since you can retrieve a Id-Name pair, it's very easily to apply
DTD rules against this gerenated document.

"Life Is A Piece Of Cheese"
----- Original Message -----
From: <Michelle_Zhao@amsinc.com>
To: <xml-dev@lists.xml.org>
Sent: Wednesday, August 09, 2000 3:39 PM
Subject: create valid XML from DTD and database

> I am trying to write a Java program to create XML from a given DTD file
and data
> from Oracle database. Is there a way to filter the ResultSet through the
DTD so
> that a valid XML file could be generated? Any guide would be much
> Michelle


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS