Add text to a XML node in F#

Sarkos

New Member
This is my XML:\[code\]<location> <hotspot name="name1" X="444" Y="518" /> <hotspot name="name2" X="542" Y="452" /> <hotspot name="name3" X="356" Y="15" /></location>\[/code\]what I want to do is:\[code\]<location> <hotspot name="name1" X="444" Y="518"> <text> This is the text I want to add in </text> </hotspot> <hotspot name="name2" X="542" Y="452" /> <hotspot name="name3" X="356" Y="15" /></location>\[/code\]I'm not able to add the text, no problem with the new node.
 
Back
Top