I actually ran into this issue a year or so ago, when I tried to display the contents of some sample XML files in an <iframe> within one of my topics (I write for a software development company whose products utilize XML files as source files for data imports, etc., and I wanted to show users some examples).Dave Lee wrote:Flare modifies XML files with a .xml extension, but it will leave files alone if they have a different file extension.
In the end, I went with Dave Lee's idea and saved my XML files with a TXT extension, then called them up in the <iframe> as follows:
Code: Select all
<iframe frameborder="1" src="MyXMLFile.txt"><p> </p></iframe>
- My XML files were included in the compiled project
- The content of my XML files wasn't "messed with", since Flare considered them to be innocent little text files
- The XML content was displayed in the <iframe>, just as it would have been if the src value were a file with the XML extension