71 users online (1 members and 70 guests)  

  Results 1 to 1 of 1


  1. Replies: 3
  2. Replies: 6
  3. Launching cgi script in New Browser Window    Forum: CGI Perl Forum
    Replies: 2
  4. document.write question    Forum: Javascript Forum
    Replies: 5
  5. Javascript document.write problems    Forum: Javascript Forum
    Replies: 3
  1. #1
    Talks_44's Avatar
    New User

    Join Date
    Oct 2007

    Question about using Javascript to write XML tags and all to the browser window

    I'm trying to display a Javascript dynamically generated XML, tags and all in a browser. I would prefer to save it to a file, but since JS can't do that, outputting it to the browser will work. I know this would be better suited to another language solution, but this is what they want. My problem is that when I try to document.write() the tags they do not display, because JS assumes I want to use them as working tags.

    For example as soon as it sees <? it does not display anything, here is what I have tried.


    Is there another way that I can output this?
    Last edited by HTML; 03-08-2012 at 11:57 AM.

Tags for this Thread