Christiansen, Michael wrote:
> 
> I'm teaching a course on XML at a local Jr. College and am thinking 
> about using your standard version in class. I'm impressed with its 
> features, but can't find a way of displaying / editing a document in its 
> raw text format. Is this something that can be done? I understand that 
> its a primitive view when compared with your element views, etc. but I 
> feel that when introducing the basic concepts, its important to provided 
> this experience.
> 

I use the following macro-command to do that:

---
   <!-- =================================================================
     Use external editor to edit XML source of current document
     and automatically reload it when done.

     On Windows, replace emacs by the path to your favorite text editor.
     (Mine is C:\emacs\bin\emacs!)
     Make sure that this editor supports Unix-style newlines
     and the encoding you have chosen for your XML documents.
   ================================================================= -->

   <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>
---

See http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch03s02.html



Procedure:
----------
[1] Copy attached file to <XXE_user_preferences_directory>/config/.

[2] Modify it using a text editor or using XXE. You need to change 
'emacs "%D"' to something that works on your system.

[3] Restart XXE.


---
PS: The right place to ask this kind of question is xmleditor-support AT 
xmlmind DOT com.
-------------- 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/20050601/110852ea/attachment.xml
 

Reply via email to