How to display ?

Results 1 to 3 of 3

Thread: How to display ?

  1. #1
    Join Date
    Dec 1969

    Default How to display ?

    How to display the XML document onto a ASP page ??<BR><BR>Thank you

  2. #2
    Join Date
    Dec 1969

    Default RE: How to display ?

    Something like this:<BR><BR><BR>Dim objXMLDoc<BR><BR>Set objXMLDoc = Server.CreateObject("Microsoft.XMLDOM") <BR>objXMLDoc.async = False<BR>objXMLDoc.load "myFile.xml"<BR><BR>Response.Write Server.HtmlEncode(objXMLDoc.xml)<BR><BR>

  3. #3
    Join Date
    Dec 1969

    Default Are you sure about that???

    The last line: Server.HTMLEncode will convert every &lt; into &amp;LT; -- effectively *destroying* all tags in the text you write out. So if the browser is expecting various &#060;TAGS&#062; and it gets, instead, &amp;LT;TAGS&amp;GT; ... well, does that work?<BR><BR>I haven&#039;t used XML in this way, so of course I could be way off base. But I&#039;d like you to confirm your choice of functions here?<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts