aspose file tools*
The moose likes Web Services and the fly likes Need little Help Please. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Need little Help Please." Watch "Need little Help Please." New topic
Author

Need little Help Please.

sam patel
Ranch Hand

Joined: Jun 13, 2002
Posts: 103
Hi,
I have a ResultSet and from that I am creating a XML file. Once i have a result in my xml file this is what i have....
<PID>2</PID>
<UNDERWRITER />
<POLICYNUMBER />
<VIEWED>0</VIEWED>
<DOB>1941-03-20 00:00:00</DOB>
My problem is is there a way i can take out the <underwriter /> <policynumber/> ..... or the ones that are null.....
Can you please show me how about this can be done.
Thanks in advance.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12671
    
    5
Are you trying to do this on the client side or the server side? Is your XML file parsed into a DOM or is it just text at the point you want to change it?
Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need little Help Please.
 
Similar Threads
date range in xsl
how to get the data stored in xml into html
problem with struts and jsp page rendering space in a string
XML Help Please!!!!!
Help need :