In my haste, I failed to mention the other option: OutputVisibleTextWithPIs. This setting will strip hidden elements from the output XML, but preserve any visible conditional text settings. --mike
On Wed, Sep 14, 2011 at 12:28 PM, Michael Pearson < [email protected]> wrote: > Hi Rick, > > This can be set in the structured application. Set your app up to include > the following elements: > XMLApplication/ConditionalText/OutputTextPI/OutputVisibleTextWithoutPIs. > With this setting in place, only the visible elements will appear in the > saved XML. Any "Filter by Attribute" hidden elements will be removed from > the XML. Another implication of this setting is that any hidden conditional > text will also be removed from the output (irrecoverably). The standard FM > DITA structured applications conditionalize the DITA <prolog> on file open, > so beware. Also, any conditions the author may have applied to any visible > text, will not be output as PIs to the XML instance. Setting demands careful > use, but it'll do what you're looking to do. > > HTH, > Mike > > On Wed, Sep 14, 2011 at 8:34 AM, Rick Quatro <[email protected]>wrote: > >> Hello Framers, >> >> I am using Filter By Attribute to filter content out of a structured >> document. The content is still in the XML file, marked with processing >> instructions. Is there a setting to prevent the content from appearing at >> all in the XML? Thanks in advance. >> >> Rick Quatro >> Carmen Publishing Inc. >> 585-659-8267 >> [email protected] >> >> >> >> >> >> >> _______________________________________________ >> >> >> You are currently subscribed to framers as [email protected]. >> >> Send list messages to [email protected]. >> >> To unsubscribe send a blank email to >> [email protected] >> or visit >> http://lists.frameusers.com/mailman/options/framers/michael.t.pearson%40gmail.com >> >> Send administrative questions to [email protected]. Visit >> http://www.frameusers.com/ for more resources and info. >> > >
_______________________________________________ You are currently subscribed to framers as [email protected]. Send list messages to [email protected]. To unsubscribe send a blank email to [email protected] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [email protected]. Visit http://www.frameusers.com/ for more resources and info.
