To select multiple tags in the Tree View, click on your starting tag and then hold down the SHIFT and CTRL keys before clicking on your ending tag and the entire range of tags between your starting tag and ending tag will be selected in one go (highlighted with a red border). To quickly find something in the Tree View, simply click in the grey bar at the very left of the screen next to some text in the Document Outline and the corresponding XML tag will be highlighted with a red border in the Tree View. In a DocBook v4 document, the top-level tag should be. Your middle column should show a representation of the structure of your XML document. It is also possible to easily set up your own keyboard shortcuts to make common tasks/styling easier to do, which is discussed in Chapter 4: Tips and Techniques. You will see a number of smart icons at the top of the screen that allow you to style highlighted text or to insert features into your document (such as tables, list etc.) ![]() At first this may seem like a frustrating limitation, but as you become familiar with the DocBook structure it will become easier to quickly prepare your document and you will benefit from the flexibility of being able to easily convery your document to be displayed in many different formats. The thing to keep in mind is that Word is unstructured and permits you to order your document in virtually unlimited ways, whereas XMLMind adheres to a strict DocBook DTD and thus only permits you to apply styling and structure that adheres to the DocBook framework. This is a similar interface to Microsoft Word, where you can type directly onto the canvas and style different sections of your document. If you see funny characters in this page (or any XMLMind page) then please ensure your browser is using UTF-8 encoding. The floating toc functionality is contained within an xsl file and has been tested in all main web browsers (Firefox, IE, Safari for Windows and Opera). ![]() Basically, a very cut-down version of DocBook is adopted by the floating toc, with the aim of providing as much flexibility as possible from the fewest possible number of nodes, since handling every possible permutation of node constructs would be near to impossible.įor an example of a much more complex (and arguably better structured) on-line help file, please see the Generic Interface Library documentation (as referred to as best practice regarding use of chapters). This is not a feature of DocBook, but more to do with the way the floating toc (table of contents) functionality works on web pages created from DocBook documents.Īt first this may all seem rather confusing, but all should become clear later in the document when you get to the Structuring Rules section. Therefore, articles can appear outside of chapters, as with this Introduction section of the document. You will note that in the above structure any chapters are treated like a special type of title or placeholder rather than being wrappers (parent nodes) for articles or sections.
0 Comments
Leave a Reply. |