Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need little Help Please.

 
sam patel
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic