Release of FrameMaker XML question

I have a problem with an attribute not be exported in XML format by FM8.

Here is the excerpt of the DTD:

<! ELEMENT std.table.header (+ std.table.row) >
<! ATTLIST std.table.header
CDATA #REQUIRED passes
rowsep CDATA '1 '.
>

The first question I had was "collar" does not present as an attribute in the structured view. I solved it in question (with the help of MarttiP) by adding it to the EDD as shown below:

Element (container): std.table.header
General rule: std.table.row +.
List of attributes
Name: whole passes required

Now I'll have is on the export of XML, the "collar" attribute is not exported and I get an error "required attribute"cols"unplanned". Any suggestions?

Mike

Add this rule to write:

element 'std.table.header '.
{
is part of fm;
"collar" attribute is the attribute of fm;
}

This replaces the built-in handling for the cols attribute without affecting the CALS tables.

Ian

Tags: Adobe FrameMaker

Similar Questions

  • FrameMaker XML training

    Hello

    They asked me if I can help the training structured FrameMaker XML, but read the Adobe site and came short.

    In my view, that the ask is for rules creation, EDD, model and around XML using FM 15 trigger. It is more that I can do it comfortably, but feels like a 4 day course of someone who has the process down.

    USA/Canada is the hangout on the Web in the classroom.

    Thoughts? Links?

    See you soon,.

    Sean

    Hi Sean,.

    On the East Coast, discover Alan Houser training structured to FM. See: Group Wellesley, Inc. | Technical Communication, Technologies and best practices tools and on the. Group Wellesley, Inc..  I worked with Alan on contracts to Front Runner training.

    If you wish to venture out of country, there are also Bernard Aschwanden ( smarter Edition ) here in the Toronto area.

    Kind regards

    Arnis

  • ist Framemaker XML author in FM 12 included oder muss are extra so werden?

    ist Framemaker XML author in FM 12 included oder muss are extra so werden?

    If you buy the "full" version of FrameMaker 2015, you can switch between FrameMaker and FrameMaker XML Author.

    You can do it in the preferences (> edit > Preferences > Interface product):

    After the restart FrameMaker, FrameMaker will be in the "FrameMaker XML Author" Mode. Of course, you can also switch to "full" in the same way.

    Please note that switching is possible with a license "full".

  • FrameMaker-&gt; XML-&gt; FrameMaker questions

    Hello

    I have currently about 150 pages fm submits, that were originally unstructured, but I managed to make a structure of work for her. There are mainly paintings, which have references, images, graphics, tables and internal stuff, so all normal technical document. Reason I'm structuring it and what about XML is that we have another file XML where we will add data in this document, and currently, it is done by hand and we want to do it my machine. These things are done by the magic of programmers who can better c-related speaking in tongues English.

    I can make the XML of this fine, so that the XML that is created is valid and structure looks like, it is very well copied as XML. Graphics, images and internal tables are currently inside anchored like graphics frames, since they were something similar in the informal document and read/write rules that transform images EPS, because internal tables do not work like SVG, I prefer otherwise, because it is also the XML and anchored frames have some links referring to other parts of the document. SVG would be also easier to manage in programming (or so I think) as the EPS. If anyone can think of the best way to do this, I'm open to suggestions.

    Question now is when I opened this created XML in FrameMaker, it loads first half-hour (computer is Intel T2500 2 GHz, 2 GB of RAM, computer laptop XP Pro SP3 and FM is version 10), then displays the 9 error pages records concerning 'framemaker cannot insert table (cell) at the current position cell' and then document appears as 600 to 1000 pages 'masterpiece' where 150 pages seems normal but after this first page If displays of new and tables is presented as a column in the page. It was suggested that if the file is created by FrameMaker, FrameMaker it would open normally, but apparently this is not the case.

    Reading/writing-rules currently look like this: (if it is useful at all)

    {"Table" element

    is the table fm "Table" element

    }


    element {"TableHead"

    is the fm "TableHead" table header element

    }

    element {"TableBody"

    is part of fm "TableBody table body."

    }


    element {'Row'

    table fm line item is "Row".

    }

    element {'cell'

    is fm "Cell" table cell element

    }


    cross reference fm 'HRef' element's "HRef";


    element {'Row'

    is the element of row in table fm 'ROW '.

    }


    'Cell' is fm "CELL" table cell element


    element {"Graphic"

    is the graphic element of fm;

    writer anchored frame {}

    export to file ' $(entity) .eps "as"EPS ".

    specify the size in pt;

         }

    }


    element {"Equation"

    is fm equation element.

    export equation writer to file ' $(entity) .eps "as"EPS ".

    }

    There are some things that might look odd for some people. There are a few conditional text in FM submit and without rules as

    'Cell' is fm "CELL" table cell element

    XML is not valid against the DTD.

    I'd appreciate any help. I can also provide other files here, but due to NDA reasons, real document is no-go, but I think that if the structure is needed to see, the DTD is very good.

    Ian, Russ,

    As you probably know both, it is perfectly acceptable to have multiple rules read/write for a type of item. In this case, the rules include:

    element {'Row'

    table fm line item is "Row".

    }

    element {'Row'

    table fm line item is "ROW".

    }

    or

    element {'cell'

    is fm "Cell" table cell element

    }

    'Cell' is fm "CELL" table cell element

    The first pair of rules said FrameMaker when it creates XML, FrameMaker and PLACE items that both are output as an XML line items. The second pair of rules said the items FrameMaker and CELL are saved as XML as cell.

    When there are several relevant mappings, FrameMaker uses the first to appear in the rules of r/w. When is the reading of XML documents by using these rules, he could map a line XML line or LINE item and a cell to cell or CELL. Since mixed case of these two rules version appears before the version all uppercase, when reading XML, FrameMaker elements with the same name as the XML namespace it creates.

    Ejlamsa,

    Your FrameMaker EDD has both row and LINE (cell and CELL)? If this isn't the case, you can remove rules for the types of items you don't use.

    Insofar as the error messages and the wrong document when you open XML, Ian is quite correct that FrameMaker needs to know the number of columns there are in the table. If your DTD does not yet of this attribute, the simplest solution is to add a. It is possible using a plug-in or script to create columns as needed, but it's a lot more effort.

    -Lynne

  • Performance of XML question

    Hi all

    I have the query in order to retrieve the xml values in the table using XMLTABLE. The XMLTABLE extract about 280 columns. It takes 30 seconds to give the output. How to tune this XML query? or what is the best way.

    DB version:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    "CORE 11.2.0.1.0 Production."

    AMT for Linux: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    Query:

    SELECT OUTPUT.*

    OF AM_CUST_WS_MB t

    , XMLTABLE ('. t.CUSTXML PASSAGE des/ROOT/Types_of_Financials)

    COLUMNS

    PATH of VARCHAR2 (75) of Types_of_Financials '. / @VALUE',

    PATH of VARCHAR2 (75) of FY_Ended_DD_MM_YY '. / FY_Ended_DD_MM_YY/@VALUE',

    PATH of VARCHAR2 (75) of Operating_Months '. / FY_Ended_DD_MM_YY/Operating_Months/@VALUE',

    ..

    ..

    .. / * more than 200 columns described here * /.

    ..

    ..) OUTPUT

    Thank you

    Fame

    OK, this could be problematic:

    XMLTYPE COLUMN CUSTXML STORE AS CLOB BASICFILE

    You can recreate the table like this:

    create table am_cust_ws_mb)

    xmltype custxml

    )

    custxml XMLType column store as xml binary securefile;

    and test again?

  • FrameMaker 11 - question automatically fill leader Info

    Hi all

    We have a problem with the file Info... fields in FrameMaker 11 being automatically filled by the unwanted text, even after we removed it.

    Subject fields and key words contain the text we want to remove all the files in a book.  We open each file and delete the text, save the files, and then close the book.  When we reopen the book, all the files have the unwanted text of back once again in the subject and keywords fields.

    Ideally, we would like to completely remove the text unwanted from the files (a reference to the number of the piece of a piece of equipment).  However, we cannot find where text is stored.  It does not appear in the list of Variables, but must have been manually added by a previous writer because it is a specific company reference number.

    Anyone know where the text is stored?  How to remove the text from the File Info fields without it returning?

    Thanks for the help!

    Emma

    It is a bug.

    The information is stored in two locations in the MIF:

    • End # PDFDocInfo
    • at the end # of DocFileInfo.

    To remove a value, you must remove it from these two places to the MIFID. I suggest that you remove the entire DocFileInfo. Then change the PDFDocInfo so that it contains only the values that you want to keep.

    Please also report this as a bug to https://bugbase.adobe.com/index.cfm .

    FYI, the DocFileInfo is XML encoded in hexadecimal. After decoding, it looks like this:

    http://www.w3.org/1999/02/22-rdf-syntax-ns#">

    "xmlns ="http://purl.org/dc/elements/1.1/"

    "xmlns:XMP ="http://ns.adobe.com/xap/1.0/"

    xmlns:PDF ="http://ns.adobe.com/pdf/1.3/" >. "

    application/framemaker

    DELETE THIS

    FrameMaker 10.0

    0116 03-12 T 10: 24:38 + 01:00

    0116 03-12 T 10: 26:01 + 01:00

    0116 03-12 T 10: 26:01 + 01:00

    FrameMaker 10.0

    DELETE THIS

    I think that while you're editing the document, FrameMaker using only one of these structures (PDFDocInfo/DocFileInfo). But when you save the document, it is then their merger, copies data from the unused structure if the other structure is empty.

  • Beginner XML questions

    Hello

    First post on the forums in a long time and the first here altogether. I hope it's okay jump in.

    I have a little experience of FM not structured for several years ago and use Ventura (13 years) to my company's books (long directories - 3 000 + / volume). I made some scripts in Ventura have so little experience in programming.

    We are looking to switch to XML rather than text files tagged Ventura can import because of its lack of support, problems, perhaps due to Win7, and the effort required to maintain files to import. I downloaded the trial FM 11 and have been experimenting a bit with XML back and forth and also import what we already have in XML. If a bit I'm sure very simple questions. and thanks in advance:

    I was going through the tutorials from Adobe and everything I can find online. It seem not to be well reviewed books on Amazon that deal with structured FM 9-11. Some that look promising for XML are about 10 years old - I think not that our needs are sharp, so should I get something this old, or stay with most recent although we complain? Any recommendations? If I can get the hang of it with something that is not specific FM will be really difficult to adapt this knowledge to the FM band?

    I find EDD, DTD and schema to be rather confusing. Someone explain the difference in simple terms or direct me to a video, etc.? Assuming that I start with an XML file that is created in one other purpose, not meant to be FM, need more than one of them? Do you do first?

    Ventura if I want to have two separate data elements (off the coast of the database) on the same line, say a left-aligned with the other right aligned, programmers put both with a tab, and that is controlled by a tag paragraph in Ventura with a tab on the right. With XML, if I understand it correctly, you wouldn't do that in the XML file - I'm probably not ready to understand the method, I just want to know if this is possible without doing something like having paragraph of second properties point to have no line breaks. If so, where that would be appropriate, ESD, DTD, etc.?

    XML in FM can include inline graphics? What about an Excel chart?

    Thank you

    Gary

    Hi Gary,.

    a lot of questions, he

    But lets start with the first things first.

    For your general understanding: XML separates basically content layout. You can add metadata to the content by adding attributes to some semantic purposes or to include information for your page layout process (or any information that you feel should be here).

    XML is essentially made up of elements, attributes and entities. Those that are defined in a DTD or a schema. ESD does the same for the management of content structured in FM. To stuff FM back and forth into XML and vice versa, you will need both a DSP for handling in FM and the DTD or schema of XML processing. Basically the two similar at first, but ESD will be also some layout information included as well as routines to facilitate the production of structured content (so called context rules).

    The translation between XML and FM requires also some reading/writing-rules governing the specific elements of the FM and values to create "correct" XML files

    Your layout (-> master pages), styles of paragraph and character, etc. pre-set styles of paintings, graphics and so on, are stored in a template file, which is used when you import an XML file to the FM band.

    These are the basics that you are handling.

    Everything that affects page layout will be on the side of the FM of things (if you use it to publish stuff).

    Everything that affects the structure is mainly done on the DTD and the reading/writing-rules side (but has an equivalent in ESD).

    So, for your search:

    XML books who have 10 years maybe not the best choice, because they will probably have a lot of references to SGML, which doesn't help much. But some who are about 5 years old will do just fine - not much changed on the side of XML (unless you decide to use the XML schema).

    For FM11, it is preferable to use guides for FM9 (those are the most comprehensive) and use this forum.

    If you insured the most, I would say to book some consultant for training on the creation of ESD. This will help avoid a lot of frustration later and pays really fast off the coast.

    It can also provide answers to specific questions such as the ones you posted above (Yes, graphics work).

    Once your done with that, you need to do a search, if one of the XML flavors already established already meet your needs in general (I'm talking about DITA, DocBook, S1000D and others) or if you want to develop your own structure (which needs a mayor of brainstorming, but could better meet your needs).

    Soon Alex

  • The user of FrameMaker start question

    I have almost zero experience with Framemaker.  During my days of thesis, I used framemaker for a short time and returned to the latex!  Finally, 10 years, I've been using Microsoft Word.

    Now, after I've finished about 30% of the book, my Publisher is pushing me to move to Framemaker.  (I have concluded that this thing of Framemaker is the BEST software EVER WRITTEN or my Publisher really really hate Microsoft Word!)  :-):-))

    As everyone here has more experience with Framemaker, I ask for advice on the following:

    I have about 10 chapters in a book of engineering graduate with a large number of visio diagrams, tables and a large NUMBER of equations.  Equations were created using Microsoft Word 2007 Equation Editor.

    I first have to import the given in a book in framemaker and then continue to write in Framemaker.  I do not have the luxury to learn first of all the software for several hours and then start using it.  I'm looking for so for pointers on a quick way to get productive with it.

    Here are my specific questions:

    1. What is the best way to reliably import the current word document in a framemaker book?  (Currently, it's a single word file and is one of the reasons to move to Framemaker to be able to deal with the separate files for each chapter.  I don't mind create a separate for each chapter in Word file - if it comes to that.)

    2. What is the best place to learn more about how to perform the task described in the previous question?

    3. What is a good reference - either electronic or the dead - trees version I need once I start using Framemaker?  The software I have is Framemaker 9.0, and it seems to be still too recent for books.  But it is pretty close to Framemaker 8 can I go out with one more book for my current needs?

    4. how import Visio diagrams works with Framemaker, moving forward?

    If you have any other useful suggestions, I welcome them also.

    Thanks for your time.

    See you soon; "best,

    Shankar swamy

    He long ago, in a universe of FrameMaker far away, square1.nl used to
    advertise a product or service or both who converted various
    graphics to editable FM chart. Give them a try.

    In addition, there used to be a conversion utility that converted from latex
    to the mif or vice versa all or maybe both. I don't know if he
    would help you to find a way to convert, create new or recreate your
    Word equations to latex, then to the FM band; I don't know if the utility works
    for equations. I'm not sure if this is a FM-unix utility only, or if
    There is a version of Windows. Just a wild stab here.

    FM9 interface offers radically different appearances than any
    FM sooner, you may know, but many frequently used features and
    the controls are always accessible through the menus of the FM, even if some call it
    the new interface elements, and some call it the 'old'. Adobe has a
    Webcast of the FM 9 interface in use free online; Maybe a list any
    Member can give the link. It is not only educational about the user interface,
    but also as to its use in a certain number of common situations.

    IMO, anyone who is comfortable in latex should be able to manage in FM,
    especially with some experience recovered memory and resources of
    This and other lists of FM.

    Good luck! Stay in touch with assistance list. It is always
    educational for me (and probably many others, too) all what
    interesting and creative, corners that you can paint yourself in what
    convert to or from FM.

    Kind regards

    Peter
    __________________
    Peter gold
    Know-how ProServices

  • XML question: How do I search for children without grandchildren

    With an XML document:

    var xml =

    < root >

    < name L1 = "First" >

    < garbage / >

    < / L1 >

    < name L1 = "Second" >

    < garbage / >

    < / L1 >

    < / root >

    I need a XMLList tags < L1 > without their children, then the output should be:

    < name L1 = "First" >

    < name L2 = "Second" >

    Can someone help me with the syntaxt actionscript to accomplish this XML query? I could not find an example that does not return the children of the < L1 > tags as well.

    Thank you

    David

    Well, if you need exact release, you could use this line:

    trace (xml.toXMLString (match) (/<\s*L1.*?>/g) .join ('\n'));

    This approach much faster that doing redundant xmlfiltering + removal of garbage, hope this helps

  • Manifest.XML questions

    Hello

    I use Photoshop CC 2015 and CC extensions Manager. I'm trying to install the Panel of editing beauty 3.0.1 but it does not work because of the error message that manifest.xml is not correct. Reinstall the new version of the extension manager does not help. Any idea?

    Please see this thread: Add it will not install

  • Join XMLs Question

    I have 5 games of XMLs that are generated by a single package to places like CLOB diiferent...
    On the 5th, the first is a straight select query and the rest are from the SYS_refcursors
    I was wondering how I can I join all those who, under a start and end tag

    Well, if they are already in form CLOB, why not just create a new CLOB where you add on the required node start and end, such as

    l_new_clob := '' || l_clob_1 || l_clob_2 || '';
    

    or if they are in the format XMLType, you can use XMLElement and XMLConcat of them for putting it all together

    SQL> SELECT XMLElement("root",XMLConcat(XMLType(''),XMLType('')))
      2  from dual;
    
    XMLELEMENT(ROOT,XMLCONCAT(XM
    --------------------------------------------------------------------------------
    
    
    
    

    Note: All "XMLType ("")" would be your XMLType. Lazy to create the complete example which is an XMLType variable.

  • XML question

    I'm eventid parameter (if I'm passing eventid = 200) & after which is is a number when I show this event ID Message.

    now, I try as below. but do not get the result... Cau u help me... ?

    var eventID:String = this.loaderInfo.parameters.eventid;
    
    var myXML:XML;
    var myLoader:URLLoader = new URLLoader();
    myLoader.load(new URLRequest("http://www.sitename.com/events/idlist.xml"));
    myLoader.addEventListener(Event.COMPLETE, processXML);
    
    function processXML(e:Event):void
    {
              myXML = new XML(e.target.data);
              trace(myXML.Message.EventId);
              
       if(myXML.Message.EventId == eventID)
              {
                   trace("Yes this is 200");
                    mytxt.text = myXML.Message.MessageName;   
            }
    
    }
    

    trace

    < EventId > 100 < / EventId >

    < EventId > 200 < / EventId >

    < EventId > 300 < / EventId >

    My XML

    <?xml version="1.0" standalone="yes"?>
    <Messages>
      <Message>
        <EventId>100</EventId>
        <MessageName>Sample1</MessageName>
      </Message>
      <Message>
        <EventId>200</EventId>
        <MessageName>Sample2</MessageName>
      </Message>
      <Message>
        <EventId>300</EventId>
        <MessageName>Sample3</MessageName>
      </Message>
    </Messages>
    

    If you say "Yes well ' so I don't undersatand not what you're having a problem with.  As I said already, you should check all the individual values, which means that you probably want to check in a loop.

    for (var i: uint = 0; i

    If (myXML.Message [i]. EventID == eventID) {}

    myTxt.Text = myXML.Message [i]. MessageName;

    }

    }

  • JS - Can XML Question - I add attributes using Javascript?

    I want to add an attribute to an element tag, but I don't see how to do it programmatically. Is this possible? Also, is it possible to appoint a tag element dynamically? For example:

    How to add a child element is to use the appendChild as follows:

    XMLObject.appendChild(<childElement/>);
    XMLObject.childElement= "something";
    

    or just add it like this:

    XMLObject.childElement = "something";
    

    Right? (Side Question: is there a difference between these two methods?).

    What I want to do, is to add a dynamic attribute to a child named statically, or to create a child named dynamically.

    I could not understand this. Any ideas?

    Maybe take a look at Mozilla's E4X tutorial: https://developer.mozilla.org/en/E4X_Tutorial/

    There is no need eval() here. (There are usually not.) Use:

    XMLObject.appendChild(<{nameReference}/>);
    

    To add an attribute, you can use:

    XMLObject.@new_att = "the value";
    

    Jeff

  • Very basic XML question

    I am currently using two tables to load a sequence of videos in 2 areas of the Flash animation.

    var zoneAarray:Array = new Array ("movie1.mp4", "movie2.mp4", "movie3.mp4");

    var zoneBarray:Array = new Array ("movie4.mp4", "movie5.mp4", "movie6.mp4");

    var clipA:String = zoneAarray [0];

    var clipNumberA:int = 0;

    var clipTotalA:int = zoneAarray.length-1;

    var clipB:String = zoneBarray [0];

    var clipNumberB:int = 0;

    var clipTotalB:int = zoneBarray.length-1;

    Everything works fine, but I would like to import the list of videos from an XML file instead of hard-coding it in Flash.
    TIA,-Eric

    Large. Please mark the thread as answered.

  • Export XML question FM9

    Hello

    When you export to XML "File-Save as XML".

    FM exports all the information. Following is the display of the Structure:

    refsetup.png

    The XML output from this is:

    < ref >
    < Ref-installation-item id = "o00009-9-1230-783-00004" >
    < local link = "m00003-9-1230-783-00001" id = "m00003-9-1230-783-00001" > < / Ref-installation-point >.
    < Ref-installation-item id = 'o00009-9-1230-783-00007' >
    < local link = 's00001-9-1230-783-00050' id = ' s00001-9-1230-783-00050 "> < / Ref-installation-point >.
    < Ref-installation-item id = "o00009-9-1230-783-00010" >
    < local link = "o00031-9-1230-783-00001" id = "o00031-9-1230-783-00001" > < / Ref-installation-item > < / Ref > ".

    As you can see the text of 'link' element is missing and is not closed... any ideas?

    Of course - that would be my answer.  You don't need to force it to a frame of link - it can be treated as any other XML structure assuming that you have code that knows how to convert a link in HTML from the original XML structure.  Make a container and get rid of the rules R/W and it should come out just like the original DTD specification.

    Jim

Maybe you are looking for