Encoding HTML within XML

doN vELiu

New Member
I have a big XML file which contains some HTML\[code\]<Orchard> <Recipe> <Name>Generated by Orchard.ImportExport</Name> <Author>admin</Author> </Recipe> <Data> <BodyPart Text="<p>My HTML</p><p align ="center">blah blah</p>"/> </Data></Orchard>\[/code\]I want to encode the HTML, but leave the XML unencoded.I've given regular expressions a shot but couldn't come up with a solution.Any ideas?Cheers
 
Back
Top