Keith C. wrote:
I've been working with Docbook 5 in oxygen, but I've discovered they don't 
support XPointer in XIncludes. See this note I sent to their technical support:

I'm wanting to use xpointers in XIncludes as described here: 
http://wiki.docbook.org/Using%20XInclude

But when I try, I get the following message in oXygen: W[jing] 
SchemeUnsupported: The XPointer scheme 'xpointer' is not supported.

Is there a way to enable XPointer references in XIncludes to allow selection of 
content within included documents?

Will XMLMind editor support this XPointer use if we where to switch to 
XMLMind's editor?


XMLmind XML Editor (XXE for short) supports a subset of the XPointer scheme. To make it simple, everything except range-related XPath extension functions (http://www.w3.org/TR/xptr-xpointer/#xptr-functions). In other words, the main use of the XPointer scheme in XXE is to be able to include a range of sibling nodes in a document.

* If you open a document making use of this subset of the XPointer scheme, it should work OK.

* There is a very easy, safe, way to insert xincludes making use of the XPointer scheme in your document:

[a] Use "Options|Preferences", select the "Edit" tab and check "Allow advanced use of XInclude". This is done once for all. See http://www.xmlmind.com/xmleditor/_distrib/doc/help/editOptions.html

[b] In your document select a range of sibling nodes using "Select|Extend Selection to Following Sibling" (keyboard shortcut: Esc Left_Arrow; see http://www.xmlmind.com/xmleditor/_distrib/doc/help/selectMenu.html).

[c] Select "Edit|Reference|Copy as Reference" (Ctrl+Shift-C) to copy a reference to the node range.

[d] Depending on the current selection or caret location, use normal "Edit|Paste Before", "Paste" or "Paste After" (Ctr-U, Ctrl-V or Ctrl-W) to paste a reference to the node range in your document.

``Paste reference'' tutorial here: http://www.xmlmind.com/xmleditor/_tutorial/modular_doc/index.html

* There is no easy way to directly edit an xinclude element from within XXE. XXE always works in fully transcluded mode. Therefore you need to first untransclude the xinclude element in order to be able to edit it at a low-level.

See "Edit|Reference|Untransclude Reference" in http://www.xmlmind.com/xmleditor/_distrib/doc/help/referenceMenu.html

You may want to use our Evaluation Edition to check by yourself everything explained above: http://www.xmlmind.com/xmleditor/download.shtml

This being said, XMLmind XML Editor is very, very, different from oXygen. If you appreciate oXygen, it is quite unlikely that you'll appreciate XXE at all (and of course, the other way round).

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to