Misfortunes of element for the chapter of the DocBook DTD

Hi all

We have 11 Frame and a doc defined by the 4.2 xDocbook - I know it's way back, but this is not our issue.  :-)

We add a < etc > element in favor in our documents.  It exists in Docbook and appears in various elements parents, including a < chapter > element.  We need to insert it anywhere in a chapter.

Our rule of the general chapter was pretty simple: Section title.

Now, we just want the opportunity to add an etc. anywhere, can we add a Section.  I tried this, which seems logical:

Title (Section |) Etc.) +

With this, we can insert one or more items etc as the first elements, but if we try to put one after a Section element, we get errors of analysis who etc. is not allowed in a chapter.  I tried many ways to edition ESD and have not been able to support an etc. to appear anywhere.

I think - what I read and looking at the DTD - than the DTD Docbook support an etc. to any place. I did not personalize the chapter element in the DTD on element etc, even if we add a < textinset > element a few years previously, so that the main content of a chapter in the DTD now looks like this:

<! ENTITY % bookcomponent.content

' + ((% divcomponent.mix;)).

(sect1 * |) (refentry.class;)*|simplesect*|textinset*|section*)) %

| (sect1 + |) (% refentry.class;) + | simplesectunique + | + section) ">


And the element chapter itself is present (default Docbook):

<! ENTITY % chapter.element "INCLUDE" >

<! [chapter.element %; [

<! Chapter of the ELEMENT (chapterinfo?,)

(% bookcomponent.title.content;),.

(% nav.class;) *;

tocchap?

(% bookcomponent.content;),.

(% nav.class;) *) >

One thing I don't understand, is that the element etc. is always in parens, unlike any other.

In the case where someone can help with this, I think that I need to paste the error (sorry, it's for the eyes, but it reveals the details of the entire chapter element):

-----------------

"Etc." is not valid for the content model ' (chapterinfo?, title, subtitle?, titleabbrev?, ((toc | beaucoup | indice |))) Glossary | Bibliography)) *, tocc PAH?, (((textinset | calloutlist | glosslist | itemizedlist | orderedlist | segmentedlist | simplelist | codeannotlist | variablelist | attention | important |)) Note | Tip | WARNING | literallayout | line | isting programl | programlistingco | screen | screenco. screenshot | Synopsis | cmdsynopsis | funcsynopsis. class synopsis | fieldsynopsis | constructorsynopsis | destructorsynopsis | methodsynopsis | formalpara | PA ra | simpara | address | blockquote. graphic | graphicco | mediaobject. mediaobjectco. informalequation | syntax | informalfigure | informaltable | equation | example | Figure | table | msgset. procedure | sideba r | qandaset. anchor | Head of bridge | Note | editorialnote | highlights | Summary | authorblurb | epigraph | IndexTerm. beginpage | tocchap | etc.)) +, (sect1 * | etc. * | * simplesect | textinset * | * section)) | Sect1+ | + refentry | simplesect + | + section), ((toc|lot|index|glossary|bibliography)) *)'

----------------

Thanks in advance for any help, I appreciate it.

-Shelley

Shelley Hoose

RogueWave software

Shelley,

I had to read your entire message before that I didn't know that your validation error is XML rather than FrameMaker. They are in the definition of % bookcomponent.content. Note that the +'s in the subexpression:

(sect1 + |) (refentry.class;) + | simplesectunique + | section + %)

are inside parentheses, rather than after it. To paraphrase, this subexpression allows one or several elements of sect1, one or more sequences of % referentry.class, one or more items of simplsect or one or several elements of section. It does not brewing these four possibilities, as would the change created by the removal of the +'s internal and put one single + after the closing parenthesis:

(sect1 |) (%refentry.class;)|simplesect|section)+

Note that this last is parallel to what you have in your EDD.

The reason why this refentry.class %; is in brackets is that she could be declared to be a subexpression by using commas, which cannot be used at the same level as the existing vertical bars. No jurisdiction parens are needed in the other terms in the expression, because they are simple elements that are not connectors.

-Lynne

Tags: Adobe FrameMaker

Similar Questions

  • Hello.  Y at - it a means or an application to stop locking the screen EXTREMELY annoying on the Apple Watch.  It's clearly a myopic element for the Apple team because I can't even use the timer without being incredibly bored.  Thank you.

    Hello.  Y at - it a means or an application to stop locking the screen EXTREMELY annoying on the Apple Watch.  It's clearly a myopic element for the Apple team because I can't even use the timer without being incredibly bored.  Thank you.

    Hello

    You can enable the detection of wrist as well as an access code and unlock it with the iPhone:

    • On your iPhone, in the application of the watch, go to: My Watch (low left tab) > General > wrist Detection - this turns on.
    • On your iPhone, in the application of the watch, go to: Watch My > Passcode > Passcode turn on (choose a Simple 4 digit access code or a longer).
      • Also in the password settings screen, select Unlock with iPhone.

    After putting on your wrist, your watch don't unlock then after whatever you do first: unlock your watch manually or unlock your iPhone. Then, it will remain unlocked until you delete the monitoring of your wrist, when that it locks automatically.

    You can also set your watch to the screen to reactivate automatically when you lift your wrist, even select what is displayed on the screen to wake up:

    • On your iPhone, in the application of the watch, go to: Watch My > General > screen Wake:
      • Active screen Wake on revival of wrist, and;
      • Choose if the watch should resume last activity or see the Face of the watch.
  • The use of Premiere Elements for the first time, cannot open the prproj file

    Help!  I use Premiere Elements for the first time, and I can't open a prproj file

    You're absolutely right, prproj's Premiere Pro.

  • Create the XML element for the cell in the chart CC2015

    Hello world

    I am currently working with the xml element.

    And I want to create xml, table cell element.

    For now, I can create xml for the graphic cell by select graphic image of that cell, and then call the AutoTag() function.

    But I want to create an xml element of a chart without selected cell.

    I found the function () Utils < IXMLElementCommands >-> CreateElement()

    but it doesn't seem to work with a graphic table cell structure.

    Does anyone know how to do?

    Thanks in advance.

    Try,

    InterfacePtr cellContent (tableModel-> QueryCellContentBoss (gridAddress));

    if(cellContent == Nil) {}

    break;

    }

    InterfacePtr cellXMLReferenceData (cellContent, UseDefaultIID());

    {if(!cellXMLReferenceData)}

    break;

    }

    XMLReference cellXMLRef is cellXMLReferenceData-> GetReference();.

  • Related XML element for the Address object tags

    Hi all

    I'm trying to insert a child object address related, in an account object. I have successfully done a test, but now I can not all data in the field "Address 2" because it says that the item is not defined in the EAI integration.

    Someone at - it a complete list of tags for the Address object? I already tried 'Address2', 'Address_2' and 'StreetAddress2', but none of this seems to work.

    I also resorted to the use of the service API to get mapping for the Account object and RelatedAddress object. object mapping has just returned to me the shipping and billing address fields while the object of RelatedAddress reported that there was.

    I hope someone can help me out here, because trying to find the element tag name is driving me crazy!

    Hello!

    In the WSDL of account, you have the ListOfAddress object. If you use it, fill in the field "StreetAddress2" should work...

    Max

  • "Some elements for the following products cannot be installed successfully."

    ↑ This is the message I get when I try to install CS6 on my new laptop computer. It's an Aspire V 15 Nitro with Windows 10. I had the Production Premium on my old computer, so now I'm trying to download it to this new. You had to do the download of the internet because the new machine is not a CD player. A took a few tries to start the installation program - it asked me to reboot a couple of times before it would do so, but finally got that going, then got the error 'some elements not installed successfully '. It is said that he didn't install Photoshop, first, Flash, or Illustrator, but when I go in my programs, I seem to have and be able to run everything except the first.  I tried to shoot to the top of the analytical error... and got a webpage "error-file not found". Also, don't know if it's related, but I'm having similar problems to install Autodesk Maya. I appreciate really any ideas on what could be going on here.

    Cloud & Win10 https://helpx.adobe.com/creative-cloud/kb/Windows_10_compatibility_FAQ.html

    -In addition, only CURRENT products will be tested and updated for compatibility with Windows 10

    - so if you have an older program, update you to Windows 10 at YOUR risk of problems

    -You can get CS6 and previous programs to install and run, or you can not (some do, some don't)

    An idea that MAY work to install or run some programs in Windows 10 old... works for some, not for others

    -http://www.tenforums.com/tutorials/15523-compatibility-mode-settings-apps-change-windows-1 0 - a.html

    - or run as Administrator http://forums.adobe.com/thread/969395 to assign FULL permissions can help... said yet, but sometimes it is necessary for all Adobe programs (this is same as using an administrator account)

  • Whenever I try to install CS6 Master Collection it says "some elements for the following products cannot be installed successfully."

    I tried reinstalling over and over again and don't know what to do. If anyone can help me I would gladly appreciate it!

    All uninstall cs6.

    clean http://www.adobe.com/support/contact/cscleanertool.html

    then install.

    If this fails, attach a screenshot of the error message.

  • How to customize the CSS for the right-click menu?

    I have the Chromedit extension installed, and I want to customize the design of my context menu to look "Flat" as menu right-click chrome. It would also be nice to make all the other menus, such as the Firefox button to be flat. What is the item in the context menu of firefox CSS? Specifically, I would like to know the names of the CSS elements for the

    - entire menu
    - any menu element
    

    In fact, incidentally, is there a systematic way of knowing the name of element CSS for a browser component? Any extension to this?

    Edit: I chose the solution of cor - el on the advice of jscher2000, however, for the future visitors convinience, here is the link to the complete solution of jscher2000:

    Response 584137

    Have you tried that?

    #context-openlinkprivate {
     background-color: #4281F4 !important;
     -moz-appearance: none !important;
    } 
  • How to change the position of an element with the code?

    Hello! I'm doing a drag & drop, in this case, they send me a question and answer 4 options, the user has to drag the correct answer in a box, then the change in question and a new 4 responses is displayed. But I can't ' "reset" of the position of my movable elements for the next question.

    Please help me =)

    I use this code:

    () yepnope

    {

    Nope:]

    "js/jquery-ui-1.9.2.custom.min.js,"

    "js/jquery.ui.touch-punch.min.js,"

    'css/jquery-ui-1.9.2.custom.min.css '.

    ],

    full: init

    }

    );

    function init() {}

    var point = sym.$("Stage");

    var Rect1 = sym.$("Rect1");

    var Rect2 = sym.$("Rect2");

    var Rect3 = sym.$("Rect3");

    var Rect4 = sym.$("Rect4");

    Rect1.html("1");

    Rect2.html("2");

    Rect3.html("3");

    Rect4.html("4");

    Rect1.CSS ("text-align", "Center");

    Rect2.CSS ("text-align", "Center");

    Rect3.CSS ("text-align", "Center");

    Rect4.CSS ("text-align", "Center");

    Rect1.draggable ({containment: Stadium});

    Rect2.draggable ({containment: Stadium});

    Rect3.draggable ({containment: Stadium});

    Rect4.draggable ({containment: Stadium});

    Rect1.draggable ("option", "back", "invalid"); / / If the user does not move the right answer, return to initial position, but if he answer right, the draggable to line up on the box.

    Rect2.draggable ("option", "back", "disabled");

    Rect3.draggable ("option", "back", "disabled");

    Rect4.draggable ("option", "back", "disabled");

    / / droppable box

    var dropCase1 = sym.$("dropCase1");

    dropCase1.css ("position", "absolute");

    dropCase1.droppable({)

    accept: caso, / / my "case" var evolves according to the current issue. for this I use a switch/case statement.

    Drop: function (event, ui) {}

    Console.log ("good");

    }

    });

    }

    Hi, chino_10.

    I tried!

    1 set 4 rectangles & dropCase.

    2. Add the code

    var correctID = sym.$("Rect1").attr("id");  //correct rect
    
    function init(){
      sym.$("dropCase").droppable({
        accept:".button",
        tolerance: "fit",
        drop:function(evt, ui){
          if(ui.draggable.attr("id")==correctID){
            console.log("correct");
            ui.draggable({revert:false}); //turn off revert flag
          }else{
            console.log("incorrect");
          }
        }
      });
      $(".button").draggable({revert:true});
    }
    
    //load jQuery-ui from CDN & init
    yepnope({
     nope:"http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js",
     complete:init
    });
    
    

    HTH. UME.

  • Looking for the right program

    I would like to make a stop-action film, essentially a slideshow with a few changes of images fast, with a coordinated soundtrack.  What Adobe program, if any, would do that?

    Hello

    You can use After Effects and Premiere Pro and Premiere Elements for the same thing.

    After Effects and Premiere pro are part of the cloud creative Premiere Elements is a perpetual license.

    Kind regards

    Abhijit

  • Exit 6 and code in C++ 2008 Redistributable Package game - 13 elements for Windows (64-bit)

    "We encountered the following problems: Setup has detected that a reboot of the machine can be pending." It is recommended that you exit Setup, restart your computer and try to reinstall. I chose to ignore, because it is there never a reboot of the machine in the meantime. The installation begins. At the end of installation, I get an error: "some elements for the following products cannot be installed successfully." Once I have watch the file errors, I find, "Exit Code: 6 please see specific errors below for troubleshooting." For example, ERROR: - summary - 0 fatal Error (s), 2 error (s) - payload: Microsoft Visual C++ 2008 Redistributable Package (x 64) 9.0.30729.5677 {512B6D21-18F9-11E2-93C1-00215AEA26C9}---ERREUR: third payload Installer vcredist_x64.exe failed with exit code: 1603 ERROR: cannot install Microsoft Visual C++ 2008 Redistributable Package (x 64). Please try to install by double-clicking the executable file to "E:\Valori\PSE 13\payloads\Microsoft VC 2008 Redist (x 64) \vcredist_x64.exe", or download and install the latest Microsoft Visual C++ 2008 Redistributable Package (x 64) Microsoft Web site - www.microsoft.com. Help!

    Exit code: 6, Exit Code: 7 Installation error - http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html

    The problems with the Setup logs. CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for more information on how to review your Setup logs

  • Mac keeps crashing "no directory for the bundleID element: com.apple.cloudd.

    My mac mini crashes several times a day.  I have collected several Console logs when the accident took place (see below for more details).  It seems that the problem is:

    "No directory for the bundleID element: com.apple.cloudd.

    I'd like to find out program that is causing the computer down (full machine reboots)?  How can I solve this problem?

    A few details...

    = Presentation of the material =.

    Model name: Mini Mac

    Model identifier: Macmini7, 1

    Processor name: Intel Core i5

    Processor speed: 2.6 GHz

    Number of processors: 1

    Total number of cores: 2

    (By heart) L2 Cache: 256 KB

    L3 Cache: 3 MB

    Memory: 8 GB

    Boot ROM version: MM71.0220.B03

    Version of the SCM (System): 2.24f32

    Serial number (System): C07NT9MAG1HW

    Material UUID: FDCB795C-A2BF-5D6D-94F3-F98871A90B89

    = NEWSPAPERS FOR EXAMPLE 1 =.

    Crash at 07:22 (screen displayed this time on the clock at the time of the accident)

    30/11/15 7:16:03.742 PM DashlanePluginService [29307]: iextension: here?

    7:19:40.671 30/11/15 PM firefox [21134]: set intl.ime.nstextinput.enable to true in: config to the difficulty of entry.

    30/11/15 com.apple.WebKit.WebContent [22900 7:20:37.499 PM]: ignoring controlTimebase defined by customer, because AVSampleBufferDisplayLayer has been added to a Synchronizer

    30/11/15 com.apple.WebKit.WebContent [22900 7:20:45.263 PM]: ignoring controlTimebase defined by customer, because AVSampleBufferDisplayLayer has been added to a Synchronizer

    7:20:55.956 30/11/15 PM firefox [21134]: set intl.ime.nstextinput.enable to true in: config to the difficulty of entry.

    30/11/15 7:25:11.064 PM distnoted [271]: time absolute # distnote proxy server: time civil 102.815157338: Mon Nov 30 19:25:11 2015 pid: 271 uid: 504 root: no

    30/11/15 7:25:12.403 PM nsurlsessiond [281]: no directory for the bundleID element: com.apple.cloudd

    30/11/15 7:25:13.712 PM ReportPanic [280]: unable to connect (panicHeaderLabel) out of (ReportPanicAppDelegate) (NSTextField): missing setter or instance variable

    30/11/15 7:25:13.712 PM ReportPanic [280]: unable to connect (panicMessageLabel) out of (ReportPanicAppDelegate) (NSTextField): missing setter or instance variable

    30/11/15 7:25:13.712 PM ReportPanic [280]: unable to connect (reportButton) out of (ReportPanicAppDelegate) (NSButton): missing setter or instance variable

    30/11/15 7:25:13.715 PM ReportPanic [280]: ReportPanic cannot stat /Library/Logs/DiagnosticReports/Kernel_2015-11-24-214348_kelley2015s-Mac-mini.p anic

    30/11/15 7:25:14.324 PM pboard [292]: try to break the link previous memory shared when starting returned an error.  Continue...

    = NEWSPAPERS FOR EXAMPLE, 2 =.

    Crash at 08:55 (screen displayed this time on the clock at the time of the accident)

    8:54:09.088 26 11 15 PM QuickLookSatellite [4488]: could not get the extension of sandbox for path=/Users/family/Library/Caches/com.apple.quicklook.satellite. Errno:1

    8:54:09.088 26 11 15 PM QuickLookSatellite [4488]: could not get the extension of sandbox for path=/Users/family/Library/Caches/com.apple.quicklook.satellite. Errno:1

    8:55:10.785 26/11/15 PM firefox [326]: set intl.ime.nstextinput.enable to true in: config to the difficulty of entry.

    8:57:58.043 26 11 15 PM distnoted [266]: time absolute # distnotete proxy server: time civil 114.108837760: Thu Nov 26 20:57:58 2015 pid: 266 uid: 504 root: no

    8:58:04.336 26 11 15 PM ReportPanic [271]: unable to connect (panicHeaderLabel) out of (ReportPanicAppDelegate) (NSTextField): missing setter or instance variable

    8:58:04.336 26 11 15 PM ReportPanic [271]: unable to connect (panicMessageLabel) out of (ReportPanicAppDelegate) (NSTextField): missing setter or instance variable

    8:58:04.336 26 11 15 PM ReportPanic [271]: unable to connect (reportButton) out of (ReportPanicAppDelegate) (NSButton): missing setter or instance variable

    8:58:04.421 26 11 15 PM ReportPanic [271]: ReportPanic cannot stat /Library/Logs/DiagnosticReports/Kernel_2015-11-24-214348_kelley2015s-Mac-mini.p anic

    8:58:04.426 26 11 15 PM nsurlsessiond [272]: no directory for the bundleID element: com.apple.cloudd

    These must be run as administrator. If you have only one user account, you are the administrator.

    Run the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    In the Console window, select

    DIAGNOSIS AND diagnostic USE information reports ▹ System

    (not diagnose them and use Messages) in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu bar.

    There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points downwards. You will see a list of reports. A report of panic has a name that begins with "Kernel" and ends with ".panic." Select the most recent. The content of the report is displayed at right. Allows you to copy and paste to validate all of the content, text, not a screenshot.

    If you don't see any report, but you know, there was a panic, you have chosen diagnostic and using the list of Log Messages. INFORMATION on the USE of DIAGNOSTIC AND choose instead.

    In the interest of privacy, I suggest that, before posting, you change the UUID ' anonymous, ' a long string of letters, numbers and dashes in the header of the report, if it is present (it cannot be). "

    Please do not post other types of diagnostic report.

    I know that the report is long, perhaps several hundred lines. Please report all this anyway.

    When you post the report, an error message may appear on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • Can I programmatically change the default property to create for all elements of the front panel?

    Can I programmatically change the default property to create for all elements of the front panel?

    I need to make the logout button, when click on, takes care of all the default values of my fron Panel.

    There is no way to programmatically call the functionality of an editor 'Use default' or 'Load Default'. To do it yourself, you will need to write your default values for each control explicitly in the diagram, when the user press the logout button.

  • Type a table defined clusters to hold configuration data - definition of default values for each element of the array

    Hello

    I was wondering if I could get some information and opinions on the use of an array of type defined clusters to store configuration data.  I am creating a program to test several EHR and wanted to have a control of type defined for each HAD with the information needed to create the DAQmx tasks for all signals for it must HAVE.  I am eager to do so that the data are encoded in hard and not in a file that the user might spoil.

    Controls of type def are then put into a Subvi who chooses as appropriate, one based on the enumeration of Type DUT connected to a case structure.

    I have problems with the control of the defined type.  I see issues when you try to save a configuration unique to each element of the array in the array of clusters.  Somehow, it worked at first, but now by clicking on "Operations on the data--> default font of the current value ' on individual elements of the cluster or the entire cluster (array element) does not save data when I re - open the command def.  What I am doing wrong?  I'm trying to do something with the berries of the clusters that I shouldn't do?

    I enclose one of the defined reference type controls.  I tried to change it bare to see if that helped, but no luck.

    To reproduce, change the resource string for the element 0 of the array and do the new value by default.  Then close the def of type, and then reopen it.  The old value is always present in this element.  The VI is saved in LabVIEW 2012.

    The values of a typedef are not proprigated to the instances of the control. They get if created WHEN data values have changed. They will be not updated with the changes to come. You must create a VI specifically to hardcode your values or to implement a file based initialization. The base file would be much better and more flexible. If you don't want users to change the data simply encryption. There is a wedding blowfish library that you can download.

  • Look for the string of the numbered array element.

    This is my first post, so I'll probably miss one thing or another.  I will look nothing missed as soon as possible. I write code LV to test additional County stored in a CSV text file. Counties represent the stimulated current of a diode in a beam of radiation. The product is a QA device for a medical radiation treatment machine. The Integrator output proportional to the current diode accumulates as a whole into account in the text file. My LV code puts the numbers in the tables, calculates the incremental time derived and analyzed statistically. Numbers of the columns in the table data represent unique components. Default number of data column is sorted in a 1 d table has no column number. As if not column 10 represents CR39 of PCB 11. I need an algorithm how to connect a string such as CR39-PCB11 to the element of the array 1 d failure or relate to the string to the column in the data table that fails. Could you suggest a way to do this?

    If I understand you correctly, instead of these numbers that are in the Updates (odd) 'zero', you want to get premium channels. For the moment, the operator uses a lookup table, to find the chain (component) that corresponds to the column number.

    It's easy, because you only need an array of strings (corresponding to the column number 0 n) and use the array index with the index of the column. Place it in a loop for get all the clues of failures (the loop autoindexing for).

    Felix

Maybe you are looking for