That worked beautifully Hussein, thanks.

Regards,
Jeff.

-----Original Message-----
From: xmleditor-support-boun...@xmlmind.com 
[mailto:xmleditor-support-boun...@xmlmind.com] On Behalf Of Hussein Shafie
Sent: Thursday, November 10, 2016 4:37 AM
To: Jeff Hooker
Cc: 'xmleditor-support@xmlmind.com'
Subject: Re: [XXE] Linked-list for form-based input in XMLmind.

EXTERNAL EMAIL


Please find attached to this email, linked_lists_demo.zip, a simplified version 
of the add-on you sent us.

This simple add-on called "Linked List Demo" demoes the linked lists described 
in your email. See attached screenshot.

The implementation was quite simple. Excerpts from
linked_lists_demo/pairs.css:

---
pair {
     display: table-row;
}

first,
second {
     display: table-cell;
     border: 1px solid #E0E0E0;
     padding: 1ex;
}

first:after {
     display: inline;
     content: " " command-menu(icon, icon(pop-down),
                               command, "setValues",
                               values,
xpath("join(document(resolve-uri('menus.xml',
$styleSheetURL))//menu/@label, '\A ')")); }

second:after {
     display: inline;
     content: " " command-menu(icon, icon(pop-down),
                               command, "setValue",
                               values,
xpath("join(document(resolve-uri('menus.xml',
$styleSheetURL))//menu[@label=string(current()/../first)]/item/@label,
'\A ')"));
}
---

where menus.xml contains the labels below.




On 11/07/2016 09:01 PM, Jeff Hooker wrote:
>
> I've attached the quick addon I built (for XMLmind 6.0, although given how 
> simple it is, it's likely compatible with anything) and a small sample 
> manifest file.
>
> The first two columns (Ph1 and Ph2) are the sample targets. If "Release to 
> Business Case" is selected from Ph1, then the following options should appear 
> for Ph2:
>
> Project Schedule
> Opportunity Brief
> Opportunity Assessment Report
> Business Case Template
> Product Description (Product Brief)
> PM Checklist - Release to Business Case Development Template
>
> If "Release to Design" is selected instead, then the following should appear:
>
> Project Mandate Template
> Technical Feasibility Report
> Project Plan (timeline & resource plan) Operations Checklist: Release 
> to Design - IC New Package Form RTD Product Test Plan FAST entries 
> tracking sheet for OPNs Cost Model Qualification Plan (Draft) 
> Operations Checklist: Release to Design - Modules Module Flow: 
> Specification Review Record(s) Marketing Requirements Doc (MRD) 
> Systems Requirements Spec (SysRS)* Final Business Case PIC 
> Presentation PM Checklist Release to Design
>
> In all cases, the full set of options would be known before the manifest is 
> opened, so they could be stored in the CSS or an XML file which is read into 
> XMLmind when the addon is loaded.
>


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

Reply via email to