Preserve conditional text in XML with FM 7.2 files

Using FM 7.2, you add conditional text in an XML file, save the file (in XML format) and then reopen, are preserved conditional text? I know that it works with later versions of FM, but it also works with FM 7.2?

Thank you very much

Jesus

According to the parameters of conditional text in the application definition in structapps.fm or in another application definition file, Yes. Conditional text in XML support has been added in FM 7.1.

-Lynne

Tags: Adobe FrameMaker

Similar Questions

  • Get a JButton text of XML with special characters

    Then... I have this little app that takes care of each button, label, etc. of an external XML text
    as a language pack. BUT the part of Spanish language has special characters like "n" and I can't get it to appear correctly...
    I use XStream to load the xml file.

    Any ideas?

    Thanks in advance

    You have an encoding nothing

  • Conversion with conditional text in table

    I take the first steps in converting unstructured structure image. A single document is fairly clean except for one question: my structure breaks around conditional text in tables. (The tables have a their own, but the conditional text questions f3ew seems to make the problem worse) I don't know how it should be treated. Structure tags are displayed in the view below.

    condTable.png

    And here's the view of the Structure:

    TblStruct.png

    Is this something that can be implemented with a qualifier, and if so, how? In addition, in the mapping of conversion table, is there any dependency order, as well, on which appears the conditional text element?

    Martine

    As Michael says, a conversion table does not convert the structure conditions. In a structured document, we apply, removes, shows and hides the conditions in the same way as is done on an informal document. The only difference is that you can select entire items and treat them with conditions.

    In a sense, FrameMaker treats conditions like processing instructions. If you need to export a document structured in XML and view it with a browser or a text editor, you can find instructions for treatment that punctuate the beaches of conditional text.

    So, once again as Michael, the text says conditional is not breaking your structure. It is superimposed on the structure.

    Van

  • Conditional text in Table - problems with setting the line height

    Hey there,

    I'm German, but I try to express my problem in English as I can. Not always easy with different menu names. Hope you get what I mean! :-)

    As you can see in my attached screenshot, I placed the text in a table.

    Text height is set: minimum 1.5... so it adapts to the amount of text.

    That's what I want - it should adjust the height of the conditional text marked/s.

    It always adjusts the height when I blind on the first line lines oder between (for example line 2 + 3 4).

    But if I want to blind on the last lines, there is a number at the end and an extra empty line with #.

    I know the # means hidden following text, but why it works with the red/green text.

    There are also some hidden text (green), but the brand # is just after the last word - not in a new line.

    Does anyone have a solution for this?

    Thanks in advance!

    Screenshot_conditional_text.png

    So far, it's ok. A sign of the end of a text paragraph forces a new line.

    To change, do the following:

    For each condition, you need another condition for the paragraph sign that comes immediately after the condition. Not after each paragraph of a condition, but at the end of each consecutive numbers of the paragraphs of the same condition.

    So in your third example you will need more of two conditions:

    1. one for the paragraph at the end of the condition «meaasurements» sign

    2. one for the sign of paragraph at the end of the condition 'price 2 '.

    Whenever you perform other invisible conditions, you must also disable the new conditions that sign a single control paragraph.

    See the following screenshots:

    Uwe

  • How to show/hide conditional text on the text selected with the FDK API

    Hello!

    Do you know how to show/hide conditional text in a selected text using the FDK API? I managed to do it on the whole document, but I need to do on specific selected text...

    Thanks in advance,

    Stefano

    Hi Stefano,

    This is not possible, the conditions are the properties of the document and cannot be changed from visible to hidden or v.v. for the full document.

    If you really need a more detailed method, you must create a separate condition for the selected text.

    -Michael

  • Can I export only conditional text 'show' for a mif?

    When I export a document with conditional text to a pdf file, just the conditional text which has the value 'show' (and the unconditional text) appears in the pdf file.  It's good, but I want the same thing when you export a mif.  There are two reasons for this:

    (1) we have an internal tool that analyzes a mif and retrieves the data in some tables to fill a database.  The tool is not analyze PDF files.  And the tool does not always correctly, manage conditional text lines conditional in particular the table text.  The tool will work fine if the conditional text was already "solved" when exporting to the mif.

    (2) I would use the Boolean logic for conditional text, which is available in FM9 but I need to supply files to other groups in society who use FM7.  Their FM7 wouldn't show conditional text correctly if it depends on nothing else than to the logic of the GOLD.  But they would be happy to accept files mif which had no conditional text because it had been "resolved" when I generated a file mif7 for them.

    I tried different ways to convert a pdf into a mif file, but no process seems to preserve the formatting and text editable. I'd be ready to accomplish this somehow roundabout on Framemaker, Acrobat Pro or another tool.

    But the happiest result for me would be to discover that FM9 already has the ability to export only the conditional 'show' and the text unconditionally to a mif.

    Or is it possible to make a copy of the document and then somehow automate the removal of conditional text 'hide' and 'show' unconditional conditional text conversion?

    doc_engineer,

    You could manually delete the conditions hidden from the files before the Save as MIF, by choosing the option remove all text hidden as well. If you want to completely automated, however, you need to perform some shows, in which case I would recommend setting your post-processing tool in order to recognize the conditional text correctly, rather than make FM do something which is less-than-optimal, IMHO.

    Your best bet of all would be to abandon the MIF format altogether and use a structured XML author, with which you can use for the conditional metadata attribute values. With this, you could also abandon the model of FrameMaker condition for a much more robust system of conditionalizing content tag. It would be more flexible and certainly easier to design the post-processing step, as there are many tools available for the treatment of XML metadata and the ability to analyze the attribute values is commonplace among them.

    Russ

  • conditional text find/replace problem

    Hello!

    For a few hours, I'm trying to solve this case: I want to apply conditions (conditional text) to all paragraphs according to the name of the applied style. So, for example, text with paragraph called "BODY" style should have "BODY" of the conditional text etc. I figured out mechanism, but I can't solve the problem with passing to find/replace.

    Here is my code:

    (function() {
        if (app.documents.length > 0) {
            processDocument(app.documents[0]);
        }
        function processDocument(aDoc) {
            var paraStyles = aDoc.allParagraphStyles.sort();
            for (var j = 0; paraStyles.length > j; j++) {
                var currentStyle = paraStyles[j].name;
                if(aDoc.conditions.item (currentStyle) == null){
                    var varConditions = aDoc.conditions.add({name: currentStyle});
                }
                doFindChange(currentStyle);
            }
        }
    }())
    function doFindChange(currentStyle) {
        app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.nothing;
        
        app.findGrepPreferences.appliedParagraphStyle = currentStyle;
        app.changeGrepPreferences.appliedConditions = currentStyle;
        
        app.activeDocument.changeGrep();
    }
    

    I know what's wrong, but I have no idea how to change.

    Could someone help me?

    Thanks in advance!

    You have some problems in the code:

    1 move the actual paragraph style (and not just its name) to findGrepPreferences (your variable, currentStyle is a string, although this can work, it is better [especially for paragraph in the groups styles] to adopt the paragraph style real itself).

    2. Ditto for the appliedCondition: give changeGrepPreferences the condition itself, not just its name.

    3. it seems that changeGrepPreferences.appliedConditions expects a range of disorders, then give him a table even if it has only one member.

    Ariel

  • Any shortcut? -to apply a particular conditional text

    Hello

    Is there the 'shortcut' keyboard keys I can push to apply a specific condition in the text that I score? -It's too heavy to click with the "arrow/mouse" every time I have to mark the text to be conditioned.

    If it is not is it easy for Adobe to make this option to access specific conditional text?  -I see the different colours next to each conditional text but y at - it a way I can give a shortcut to each that related to different colours? IM thinking to push the buttons of the keyboard as Ctrl + y etc.

    I'd appreciate the help.

    Use quick apply. Press Cmd/Ctrl-return. The dialog box apply Quick will pop up. Then start typing the name of the condition to you. You can apply conditions like that with just a few keystrokes. It totally ignores the arrow/mouse.

  • Remove the conditional text

    In my text selected with two conditional text (red and green). I must remvoe the conditional text in red in the selected text

    How to do this

    Try this:

    (function removeConditionalText(/*Text*/tx,/*UIColor*/uiColor,/*bool=false*/STRICT)
    // -------------------------------------
    // Remove any text within tx having a uiColor condition applied.
    // (If STRICT is true, do not affect text undergoing multiple conditions.)
    {
        var ranges = tx.textStyleRanges,
            a = ranges.everyItem().getElements(),
            conds = ranges.everyItem().appliedConditions,
            i = a.length,
            t, c;
    
        while( i-- )
            {
            t = conds[i];
            if( STRICT && t.length != 1 ) continue;
            while( (c=t.pop()) && !(c=c.indicatorColor==uiColor) );
            if( c ) a[i].remove();
            }
    
    })(app.selection[0],UIColors.RED);
    

    @+

    Marc

  • Guidelines for the use of conditional text

    I'm looking for instructions on the use of conditional text. Our company has grown, and that the range of products has increased, the number of conditional text tags has increased. We are up to 30 tags and continues to grow. I was struck my colleague to start breaking this system a bit, because I'm afraid, it becomes a House of cards. Colleague has been 20 years and grew up with the system - it's the only one that it is used. He sees nothing wrong with it. The tags are in its abbreviation. When I mentioned that everybody don't would not new understand them, his response was that they would teach them eventually. Also, it's starting to get to the point where some sentences are be mislabeled, causing many errors.

    Are there guidelines I refer who say in the use of conditional text is too large so that it's not just my word? 


    Milmacrose

    You might want to take a look at Matt Sullivan & Sarah O'Keefe book (edition Fundamentals - unstructured FrameMaker 11; Chapter 24) for some background information on the consequences of the use of the multiple conditional tags. Depending on what your choice (i.e. to hide or show content based on the condition tag), you can get in very complex situations with some items possibly requiring each combination of tags applied to prevent display (or display) as needed. Even with simple simple conditional tags, it can reach a very large number of unique tags required (mathematically, you are summing a series of combinations). For example, [as used in the Book], given a product in Light versions, Standard and Pro with specific online requirements & Print for Mac, Windows and Unix, there are 32 conditional tags applied correctly. If you have content that should appear in a few versions, it climbs easily up to 47 unique tags. You'd be better trying to herd a bunch of cats in a field of grass cat...

  • Conditional text in the output for the Responsive HTML5 file structure

    I am looking at transforming our old help .chm help Responsive HTML5. I'm looking blog a William van Weelden on the subject (fusion Multiscreen HTML5 help). I hope it applies to sensitive HTML5 as well.

    My question is about the structure of output folder. Its structure looks like this:

    merging_html5_folder_structure_output.png

    merging_html5_folder_structure_merged_project.png

    My application is available in two modes (Mode A and B of the Mode for example). Therefore, I have conditional text in sections Mode A and Mode B. should create folders of output under each child for each mode project? If so, do I have to create them in each folder profile screen so (so far, I don't know what profile I need other than the desktop).

    I use RoboHelp 11.0.4.291.

    Reactive help works different from Multiscreen (it's easy!). See: http://www.wvanweelden.eu/blog/2014/03/18/adobe-robohelp-merging-responsive-html5-help

    With the help of reagents, you have only 1jeu of content for all devices. If you want 2 different CBT applied, you will need to create two outputs.

  • Books of fusion and OCD using conditional text

    Hi all

    I'm trying to merge four books with similar content in one book by using conditional text.

    Instead of going to and comparing the three output files (pdf) one by one, I went through and tried to compare the documents/chapters in each book one by one. I applied the conditions for text added or deleted accordingly (it was a shortcut, and I know, not really advisable). But the problem I am facing now is that the table of contents do not work, if I try the technique of comparison.

    My question is, are at - it another way to merge several books and their tables of contents in one only book and table of contents, other than each chapter line-by-line reading and apply conditional text tags to associated content?

    Any help would be appreciated!

    Thank you

    RG

    Post edited by: Rashmi gourn Hello... anyone? No help is available for conditional tagging in Framemaker, AFAIK. Wait for some sort of answer from the experts here... Kind regards

    Simply create a new book file that contains all the files (with the exception of the generated - including the table of contents). Then create the appropriate - including the TOC generated files. You can import the existing formatting from the relevant files generated in an other books.

  • sort by alphabetical order of conditional text tags

    Is it possible to reorder tags within the pod of conditional text so that they are in alphabetical order?

    Assuming that they are presented in the same order as they appear in the data structures, it should be possible to save the document with MIF and reorganize all the

    # end of Condition

    Tags inside

    # end of ConditionCatalog

    then re - save the MIF, open and re - save as. FM.

  • Additional page created through conditional text won't go away

    I created a page with conditional text in Framemaker 11.  Whenever I have my terms, a blank page is created.  This page doesn't go away when I save or update the file.
    It gets deleted only if I delete the extra page.  Could be the cause of this page to stick around?

    This weekend I sent my problem Arnis file to look at.  Here is his answer:

    Arnis Gubins wrote:

    The reason why the extra page appeared when the Conditions have been used was due to having the text block high set to autologin as well as using the position of frame anchored to the "Below the line" for the two graphics of the logo. The text block is too small to hold the two graphs at once, so with the activated automatic connection, FM creates another copy of this block of text on a new page to hold the other graphic of the logo. When you enable or change conditions, FM must all show and then hide the (s) appropriate, he would always add this block of additional text on the new page to display two graphs (because that's what autoconnect).

    There are remedies.

    1. simply disable the automatic connection setting.

    2. place the graphics of the logo using the parameter "outside the text" for the had. This allows you to overlay the graphs one atop the other as you would not trigger a "automatic formatting" to create a new text frame, if the two should be made.

    3. you could also do both, to be sure that a new page is not triggered.

    Disable the automatic connection setting not fix the issue of the extra page being created and not removed.  I need a little more work to do on moving the frame and keep my layout the same.

    Thanks for all the help Arnis Gubins

  • Conditional text sync

    Hello

    We are a translation company that translated enormous Indesign books with many tables (and numbers). To make sure that no errors are made in the figures, I have implemented a process where we create a new condition for all numbers in the document and then hide the condition.

    It is possible to open all the files in a book by using a script. I then create the condition in a single file in the book and using search & replace in all the Documents, I am able to apply the condition of all the documents in the book. I can also use the options "Synchronize book" to set the condition to the invisible on all documents in the book.

    If all this works perfectly.

    However, when we need to finish the files, I need to remove the condition of all the documents in the book. If I remove the condition in the style source document and then synchronize, the condition is not deleted in the other documents in the book? I can use find & replace to replace our back to the "unconditional" condition, but the condition remains in the list of conditional text, and we want that he went.

    Is it possible to delete a condition for all open documents, or all documents in a book? For the moment, we need to go through all the documents and to remove the condition of each.

    (that we translate books with 20 + documents in 25 languages, is 25 20 + time to click, which is a bit tedious )

    Kind regards

    Geert

    I think you need to generate scripts too.

    It does not disappear when you synchronize because that's the way it is supposed to work. You add missing components, Redefine even those appointed and let alone anything not defined in the source.

Maybe you are looking for

  • Photosmart more 210 c

    Why can´t, I read an SD card? When I put it into the slot in the printer I have can´t read on my broadcast. It says "put in a disc in unit X:".

  • Windows update web page does not load

    It loads this 72.14.205.100 then said that it can not display the page is not automatically updated or the other I tried to clear browser, disable updates, change software distribution / download to download.old all ideas

  • Speaker Bluetooth does not. Aspire V

    Acer Aspire laptop V Windows 10 upgrade\ I was able to establish a connection to a bluetooth speaker, but the speaker still does not play and the noise continues through the laptop speakers. Bluetooth speaker works with other devices. Please tell how

  • Brightness @ '0' HP slate 7 How to return my brightness?

    Just bought a Hp slate 7 and all by adjusting the brightness I turned it to zero and now I have a black screen! I've been typing blindly hoping that I can readjust but not luck. Can someone help me please? and would also like to know why it is possib

  • VPN failover to WAN, test

    Hello I had a previous post on this topic. After receipt of the resolution of the data center has added a new problem to my test plan. The purpose of this test VPN is ping on a real server, VPN tunnel through, without the possibility of remoest cause