Popup a snippet shows xml code

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
henkjans
Sr. Propeller Head
Posts: 104
Joined: Wed Feb 02, 2011 1:59 am

Popup a snippet shows xml code

Post by henkjans »

hello,

in my project I use a snippet to popup clicking a certain word in a topic.
doing so the snippet is shown in its xml format, see example below:

----------
<?xml version="1.0" encoding="utf-8" ?>
- <html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="2" MadCap:lastHeight="66" MadCap:lastWidth="1422">
- <body>
<p>Text1</p>
<p> </p>
<p>Text2</p>
</body>
</html>
----------

instead of only Text1 and Text2
where do I set this right?
Thanks,
Henk Jan Schut
The Netherlands
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Popup a snippet shows xml code

Post by LTinker68 »

I'm not quite sure what you're asking. Are you saying after inserting a snippet you want to be able to break its link to the snippet file so you can edit its contents? If so, right-click on the inserted snippet and select Convert to text.

Or are you asking something else?
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Popup a snippet shows xml code

Post by NorthEast »

Do you mean you've created a topic popup link to a snippet file ?

You can't have popups/links directly to snippet files, you need to insert the snippet in a topic, and create the popup/link to the topic.
henkjans
Sr. Propeller Head
Posts: 104
Joined: Wed Feb 02, 2011 1:59 am

Re: Popup a snippet shows xml code

Post by henkjans »

Thanx for all the reply.

I think Dave understands my question. Yes, I defined a snippet which I used as a popup in a topic.
So this is not possible.

What I want to do was:
use texts for popups but the texts may not be part of the total Help file.

Does anybody know a way to handle??

SORRY, I ALREADY FIND THE ANSWER MYSELF. :oops:
Simply do not add the topics to the TOC. :lol:
Thanks,
Henk Jan Schut
The Netherlands
i-tietz
Propellus Maximus
Posts: 1219
Joined: Wed Oct 24, 2007 4:13 am
Location: Fürth, Germany

Re: Popup a snippet shows xml code

Post by i-tietz »

henkjans wrote:use texts for popups but the texts may not be part of the total Help file.
...
SORRY, I ALREADY FIND THE ANSWER MYSELF. :oops:
Simply do not add the topics to the TOC. :lol:
I understand even less now ...
TOC? Are you producing "print output" (e.g. PDF)? Because in any other case the content of the TOC hasn't got anything to with the volume of the help - you can always find all topics via the Search.
If you're not producing print output but some sort of online help, you can build two targets: One for the popups, one for the rest. To implement that you need conditions or SourceControl software.
Inge____________________________
"I need input! - Have you got input?"
Post Reply