• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.9k 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 Aug 8, 2009, 9:01 PM

    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 Aug 8, 2009, 11:22 PM

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

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received