Hunting, Sam (LNG-EWR) wrote:
> 1. How do I "view source" with XMLmind? I want to see the angle
> brackets!
[[[I'm going to add what follows to the FAQ]]]
Sorry, there is no source view.
When I really need to see/edit the XML using a text editor, I use the
following macro.
===
<command name="editXMLSource">
<macro>
<sequence>
<command name="XXE.save" parameter="[ifNeeded]" />
<command name="run" parameter='emacs "%D"' />
<command name="XXE.open" parameter="[reopenIfNewer]" />
</sequence>
</macro>
</command>
<binding>
<keyPressed code="ESCAPE" />
<charTyped char="e" />
<command name="editXMLSource" />
</binding>
===
Copy attached customize.xxe to C:\Documents and
Settings\<user>\xxe2\config\ (~/.xxe2/config/ on Linux and Mac) and
restart XXE.
Then open a document in XXE and press "Esc" then "e" to launch the text
editor.
Note that you'll need to adapt the above macro if you don't use emacs as
your text editor.
> 2. How do I find the CSS stylesheet? I want to edit it manually.
XXE is not designed to allow the users to specify and/or edit a CSS
style sheet (or an XSLT style sheet) for their documents.
Generally the CSS style sheets which appear in the Style menu have been
specified in an XXE configuration.
For example, the DocBook configuration is found in
<XXE_install_dir>/config/docbook/docbook.xxe.
This configuration references CSS style sheets found in
<XXE_install_dir>/config/docbook/css/.
You'll probably want to modify
<XXE_install_dir>/config/docbook/css/docbook2.imp ("imp" like "@import")
which is used to style the most commonly used elements.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: customize.xxe
Type: text/xml
Size: 1145 bytes
Desc: not available
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20041123/c0d9ba98/attachment.xml