<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi ,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I tried the Oracle's SQL - XML utility and it does
what i want. Except a few things.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I generated the following XML file as a result to a
query to my oracle database.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><ROWSET><BR> <ROW
num="1"><BR> <SPNAME>Huntington services
Company
</SPNAME><BR>
<CUSTPERMID>123456789123456
</CUSTPERMID><BR>
<CUSTLOGINID>jamesb
</CUSTLOGINID><BR>
<FIRSTNAME>james </FIRSTNAME><BR>
<LASTNAME>Bond </LASTNAME><BR> </ROW><BR> </ROW><BR></ROWSET></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The ROWSET and the ROW tags were introduced by
the builder itself. I would like the document to look like :</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><CUSTID></FONT></DIV>
<DIV><FONT face=Arial size=2><SPNAME>My Own Business Services
Company </SPNAME><BR>
<CUSTPERMID>123456789123456
</CUSTPERMID><BR>
<CUSTLOGINID>jamesb
</CUSTLOGINID><BR>
<FIRSTNAME>james
</FIRSTNAME><BR>
<LASTNAME>Bond
</LASTNAME><BR> </CUSTID><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>This is very important because this xml file will
be sent to the client who will "validate" it. Since ROWSET and ROW are not a
part of standard message format we use... an exception will be
thrown.</FONT></DIV>
<DIV><FONT face=Arial size=2>Is there any way to customize the output from the
builder so that it conforms to a predefined DTD ?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Abhishek.</FONT></DIV>
<DIV><FONT face=Arial
size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>
_/
Abhishek Srivastava<BR>
_/
Hewlett Packard ISO <BR>
_/_/_/ _/_/_/ -------------------
<BR> _/ / _/ _/
(Work) +91-80-2251554 x1190<BR>_/ _/
_/_/_/ (Ip)
15.10.47.37
<BR>
_/
(Url) <A
href="http://sites.netscape.net/abhishes/homepage">http://sites.netscape.net/abhishes/homepage</A>
<BR>
_/ You've
heard it all by now. Get wired or get whacked.
<BR>
You're networking or you're not working. Dot-com or die
<BR>
- SUN
MICROSYSTEMS <BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</FONT></DIV></BODY></HTML>