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. 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", "", "Open Topic Read-only", "OpenReadOnlyFile", "", "Add Topic References", menu, menu( "Add Topic Reference Before", "insert", "before topicref", "Add Topic Reference After", "insert", "after topicref", "Add Topic Reference Into", "insert", "into topicref"), "Move Topic Reference", menu, menu( "Move Topic Up", "ditamap.moveUp", "" , "Move Topic Down", "ditamap.moveDown", "", "Promote Topic", "bookmap.promote", "" , "Demote Topic", "bookmap.demote", "") )font-weight, bold, background-color, #cccccc, border-bottom-width, 2px, border-bottom-style, solid, border-bottom-color, black, border-left-width, 2px, border-left-style, solid, border-left-color, black) " ", xpath("if(substring-after(substring-after(substring-after(substring-afte r(@href,'/Content/'), '/'), '/'), '/'), substring-after(substring-after(substring-after(substring-after(@href,'/ Content/'),'/'),'/'),'/'), substring-after(substring-after(substring-after(@href,'/Content/'), '/'), '/'), substring-after(substring-after(substring-after(@href,'/Content/'),'/'), '/'), substring-after(substring-after(@href,'/Content/'),'/'), substring-after(substring-after(@href,'/Content/'),'/'), substring-after(@href,'//') )" ), " " ) ); } Thanks, Jeff. Jeff Hooker, Technical Leader, Technical Communications PMC-Sierra, Inc., 8555 Baxter Way, Burnaby BC V5A 4V7 (Tel) 604.415.6000 x 2625 (Cell) 778-855-7406
-- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support