On 06/20/2013 11:20 PM, Jeff Hooker wrote:
Hello Hussein,
In the CSS for my map file, I’m using the “:before” peusdo-element on
topicrefs to display and abbreviated path to the associated resource
(see the xpath command near the end of the reference).
It works fine when the ditamap is first opened, but as soon as I change
the href value the display goes blank and will not refresh.
This looks like an XXE crash. Please refer to this FAQ:
---
XXE seems to freeze when I do such and such action. What's going on?
---
http://www.xmlmind.com/xmleditor/faq.html#display_exception_in_console
If you find something wrong with XXE, please make sure to send us a
*usable* bug report (XXE version, easy way to reproduce the problem
using the stock XXE, etc).
How to write a usable bug report is explained here:
http://www.xmlmind.com/xmleditor/support.html#bug_report
I’ve tried
using the “refresh” command with all its variations without effect. What
do I need to do to force XXE to reprocess/redraw the content for the
topicref element?
topicref:before[navtitle] {
content: paragraph(content(item-collapser(), " ",
attr(navtitle), " ",
drop-site(icon, icon(drop),
command, "setObject",
parameter, "href anyURI -
'%{value}'"), " ",
command-button(icon,
icon(pop-right),
menu, menu("Set Navigation
Title ", "putAttribute", "navtitle",
"Select Connecting Topic",
"putAttribute", "href",
"Open Topic for Editing",
"editTopicRefDocument", "",
You seem to attempt to create a rudimentary DITA map editor. If your
users really want this feature, you'd better explicitly request it from
us. We cannot promise that we'll implement it but at least, we'll be
informed that an important feature, may be a show stopper, is missing
from our product.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support