Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Display XML tags in file?

    Scheduled Pinned Locked Moved webGUI
    2 Posts 1 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wmsigler
      last edited by

      I am using the PHP execute under Diagnostics->Execute command, in order to read an xml file via file_get_contents($xmlfile). However, when the xml file is output, all the xml tags are gone, with only the text inbetween the tags. I need to be able to see the tags. Is there a simple way to do this? Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • W
        wmsigler
        last edited by

        I found a workaround by using fopen and fwrite to a file. :P

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.