.xml files altered when building webhelp

This forum is for all Flare issues related to styles, stylesheets and XML.
TheGreatAndPowerfulOz
Sr. Propeller Head
Posts: 130
Joined: Mon Apr 24, 2006 12:52 pm
Location: Glen Mills, PA

Re: .xml files altered when building webhelp

Post by TheGreatAndPowerfulOz »

Dave Lee wrote:Flare modifies XML files with a .xml extension, but it will leave files alone if they have a different file extension.
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).

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>
This worked quite well for me:
  • 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
Now, it seems that the original post had to do with actually *using* the XML files to provide content in the Help system, so the file extension switch-a-roo which I've employed obviously wouldn't work for that purpose. It does work well, however, if all you're interested in doing is displaying XML source in the browser.
Austin Wright

Flare 2022 r3 (18.2.8431.26678) :: TopNav HTML5 / PDF output
pdenchfield
Propellus Maximus
Posts: 574
Joined: Tue Oct 03, 2006 7:56 am
Location: Seattle, WA
Contact:

Re: .xml files altered when building webhelp

Post by pdenchfield »

Dear MadCap,

Please add this iframe tip to the Flare documentation!
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: .xml files altered when building webhelp

Post by RamonS »

I'd send them a feature request. They may not see that request in the forums.
https://www.madcapsoftware.com/bugs/submit.aspx
pdenchfield
Propellus Maximus
Posts: 574
Joined: Tue Oct 03, 2006 7:56 am
Location: Seattle, WA
Contact:

Re: .xml files altered when building webhelp

Post by pdenchfield »

Thanks, Steve. I did just that.
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: .xml files altered when building webhelp

Post by RamonS »

Steve? My name is David. :lol:
pdenchfield
Propellus Maximus
Posts: 574
Joined: Tue Oct 03, 2006 7:56 am
Location: Seattle, WA
Contact:

Re: .xml files altered when building webhelp

Post by pdenchfield »

I guess I should have stuck with "RamonS" - haha. Thanks for the correction, Dave!
KevinDAmery
Propellus Maximus
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: .xml files altered when building webhelp

Post by KevinDAmery »

I gather he also answers to "Simon" :D
Until next time....
Image
Kevin Amery
Certified MAD for Flare
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: .xml files altered when building webhelp

Post by RamonS »

I heard my 'name' ???
KevinDAmery
Propellus Maximus
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: .xml files altered when building webhelp

Post by KevinDAmery »

See? It works...
Until next time....
Image
Kevin Amery
Certified MAD for Flare
Post Reply