On 11/14/2017 11:41 PM, Don Mankewich wrote:
I’m using the personal edition of the XMLMind DITA editor for evaluation
purposes and I was confounded by the inability to have a relative file
path with spaces in the folder name until I realised that the space had
to be represented by a ‘%20’.
DITA is not file based, but URL based. A file path like "..\My
Images\logo.png" must be specified as "../My%20Images/logo.png".
This should not be a problem unless you type the path "by hand", which
is not recommended. See below.
This isn’t particularly intuitive for a
near-WYSIWYG editor so can the ‘set link target’ attribute panel be made
to accept spaces in the file path?
Sorry but space characters are not allowed in URLs.
Also, with relative file paths, it seems to add a random number of ../
before my path which I prefixed with a single ../.
Not sure. May be after a "File|Save As"?
Before adding xrefs to a newly created document, please make sure to
save it to disk in order to give it a location. This location is then
used by XXE to compute relative file paths.
I have to edit the
xref element in the XML view to clean it up. Why is this happening?
You never need to use the XML source view. Please use the "Attributes"
tool for this.
If you want to safely specify a file path whether absolute or relative
to your document, please do not type it "by hand". Instead please use
this "split button" found in "Attributes" tool or the auto-completion in
the "Set Link Target" dialog box (displayed by the right click menu).
See attached screenshots.
Recommended readings:
- Tutorial (with screencast) "Setting attributes",
http://www.xmlmind.com/xmleditor/_tutorial/set_attribute/index.html
- Tutorial (with screencast) "Working with master documents",
http://www.xmlmind.com/xmleditor/_tutorial/master_doc/index.html , to
learn how to make the autocompletion work at its best for a DITA document.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support