I am working on developing some Java skills, expressly to better utilize 
XMLmind's strengths.

In the meantime, you have saved my bacon yet again. Thank you.

Jeff.



----- Original Message ----
> From: Hussein Shafie <hussein at xmlmind.com>
> To: Jeff Hooker <jeff at itwriting.ca>
> Cc: "xmleditor-support at xmlmind.com" <xmleditor-support at xmlmind.com>
> Sent: Tuesday, December 2, 2008 10:18:49 AM
> Subject: Re: [XXE] Updating relative paths
> 
> Jeff Hooker wrote:
> > 
> > Our Docbook-based CMS allows component-based checkout, but the method used 
> creates a new level in the directory hierarchy which breaks relative paths.
> >? 
> > I've written a couple of simple XSL scripts that add and then strip the 
> changes needed to make the documents resolve correctly. Is there a simple way 
> of 
> running these inside of XMLmind? I'd prefer to just let users trigger them 
> with 
> buttons on the toolbar, so I've been looking at the various Convert commands 
> but 
> haven't found a good answer yet.
> >? 
> 
> * The simplest way to do this is to write a command in Java[tm] (invoked
> by a toolbar button) which modifies the document being edited. See
> http://www.xmlmind.com/xmleditor/_distrib/doc/dev/command.html
> 
> * If you want to use your XSLT style sheets, it is also possible to
> write a simple macro-command --
> http://www.xmlmind.com/xmleditor/_distrib/doc/commands/macro.html -- which:
> 
> [1] Save the document being edited to disk using "XXE.save [ifNeeded]"
> -- http://www.xmlmind.com/xmleditor/_distrib/doc/commands/XXE.save.html.
> 
> [2] Invokes your XSLT scripts by the means of a process command --
> http://www.xmlmind.com/xmleditor/_distrib/doc/commands/process.html --
> to transform the file containing the document being edited.
> 
> [3] Uses "XXE.open [reopen]" --
> http://www.xmlmind.com/xmleditor/_distrib/doc/commands/XXE.open.html --
> to replace the document being edited by the updated one.
> 
> Something like:
> ---
> ? 
> ? ? 
> ? ? ? 
> ? ? ? ? 
> ? ? ? ? 
> ? ? ? ? 
> ? ? ? 
> ? ? 
> ? 
> 
> 
> ? 
> ? ? 
> ? ? 
> ? 
> 
> ---
> 
> 
> --
> XMLmind XML Editor Support List
> xmleditor-support at xmlmind.com
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support


Reply via email to