Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
<Person>
<id>12</id>
<Fname>Phil</Fname>
<Lname></Lname>
<id>13</id>
<Fname>Phil</Fname>
<Lname>0</Lname>
</Person>


I am generating XML frm sql using xmlpath
Here in this xml structure instead of
<Lname></Lname>

or
<Lname>0</Lname> 

I want it as
<Lname/>
Posted
Updated 7-Mar-13 20:41pm
v2

1 solution

 
Share this answer
 
Comments
Maciej Los 8-Mar-13 15:00pm    
Good link, +5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900