From: Paul V. <pa...@vi...> - 2004-08-08 11:51:31
|
Hi Nando, > it looks to me that XXE does not allow <sect*> tags in an easy > way. Is that true? If you press the button with the paragraph sign (near the right end of the toolbar) you can choose between <section> and <sectN> tags. The ones that aren't allowed at the cursor position will be disabled. To create a sibling section following the one you're in, it can be done even quicker: in the Node Path bar (below the toolbar, this can show e.g. "book chapter section section para" or "article sect1 sect2 para warning", depending on where you are), Ctrl-Click on the node you want to "duplicate" and a new, empty node of that type will be added. With Shift-Click, the new node will be inserted before the current one. This works for all types of nodes, not only sections. (There are also other ways, e.g. via the menus or the "Insert After" box, but these take more time.) > I have only found the ability to use <section> tags, optionally > nested, but IIRC it's not the recommended practice, is it? It wasn't, but our transformation stylesheets have been improved at this point so now it doesn't matter anymore. Use what you like. > Also, it produces unreadable XML code. Can it be instructed to > prettify it some way or should I open the files with XML Spy to > achieve that? Somewhere after a version upgrade (I don't remember which one) XXE suddenly wrote out prettified, very readable XML files. Via Options -> Save you can configure indentation, line length etcetera. It pays to check for new versions every now and then; they seem to be getting a lot of user feedback, and listening to it. Greetings, Paul Vinkenoog |