How do people normally handle a long text string that you create in code

This is what i normally do but was hoping this is an obsolete technique? I
hate having to esacpe the characters eg the double quotes within the quotes!


                   POAck.AppendLine("<?xml version=""1.0""
encoding=""UTF-8""?>")
                   POAck.AppendLine("<!DOCTYPE cXML SYSTEM
""http://xml.cXML.org/schemas/cXML/1.2.009/cXML.dtd"";>")
                   POAck.AppendLine("<cXML payloadID=""" & Payloadid & """
timestamp=""" & TimeStamp & """ xml:lang=""en-US"">")
                   POAck.AppendLine("<Response>")
                   POAck.AppendLine("<Status code=""200"" text=""Successful
received purchase order..thank you""/>")
                   POAck.AppendLine("</Response>")
                   POAck.AppendLine("</cXML>")


regards
Anthony (*12QWERNB*)
 



Reply via email to