Let me try that and see how it goes.
Roger Whitcomb | Architect, Engineering | [email protected]| Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 | USA <http://www.google.com/maps?f=q&hl=en&geocode=&q=500+Arguello+Street+%7C +Suite+200+%7C+Redwood+City+%7C+CA+%7C+94063+%7C+USA+&sll=37.0625,-95.67 7068&sspn=50.557552,73.037109&ie=UTF8&t=h&z=16&iwloc=addr> | +1 650-587-5596 | fax: +1 650-587-5550 From: Greg Brown [mailto:[email protected]] Sent: Tuesday, September 07, 2010 11:50 AM To: [email protected] Subject: Re: Wrapping my head around WTKX / BXML references Could you accomplish this with includes? Put the common sections in their own files and then include those into the master file(s)? On Sep 7, 2010, at 2:35 PM, Roger L. Whitcomb wrote: I have a common menu section with a number of elements that is a sub-menu of many other menu items. Could this be defined once and then referenced multiple times in the WTKX file, so I don't have to repeat the same stuff over and over? Here is my repeated section (and as you can see, it too has nested repeated sections): <Menu.Section> <Menu.Item buttonData="CREATE To"> <menu><Menu><sections> <Menu.Section> <Menu.Item buttonData="New Query Editor Window"/> </Menu.Section> <Menu.Section> <Menu.Item buttonData="File..."/> <Menu.Item buttonData="Clipboard"/> </Menu.Section> </sections></Menu></menu> </Menu.Item> <Menu.Item buttonData="ALTER To"> <menu><Menu><sections> <Menu.Section> <Menu.Item buttonData="New Query Editor Window"/> </Menu.Section> <Menu.Section> <Menu.Item buttonData="File..."/> <Menu.Item buttonData="Clipboard"/> </Menu.Section> </sections></Menu></menu> </Menu.Item> <Menu.Item buttonData="DROP To"> <menu><Menu><sections> <Menu.Section> <Menu.Item buttonData="New Query Editor Window"/> </Menu.Section> <Menu.Section> <Menu.Item buttonData="File..."/> <Menu.Item buttonData="Clipboard"/> </Menu.Section> </sections></Menu></menu> </Menu.Item> </Menu.Section> <Menu.Section> <Menu.Item buttonData="SELECT To"> <menu><Menu><sections> <Menu.Section> <Menu.Item buttonData="New Query Editor Window"/> </Menu.Section> <Menu.Section> <Menu.Item buttonData="File..."/> <Menu.Item buttonData="Clipboard"/> </Menu.Section> </sections></Menu></menu> </Menu.Item> <Menu.Item buttonData="INSERT To"> <menu><Menu><sections> <Menu.Section> <Menu.Item buttonData="New Query Editor Window"/> </Menu.Section> <Menu.Section> <Menu.Item buttonData="File..."/> <Menu.Item buttonData="Clipboard"/> </Menu.Section> </sections></Menu></menu> </Menu.Item> <Menu.Item buttonData="UPDATE To"> <menu><Menu><sections> <Menu.Section> <Menu.Item buttonData="New Query Editor Window"/> </Menu.Section> <Menu.Section> <Menu.Item buttonData="File..."/> <Menu.Item buttonData="Clipboard"/> </Menu.Section> </sections></Menu></menu> </Menu.Item> <Menu.Item buttonData="DELETE To"> <menu><Menu><sections> <Menu.Section> <Menu.Item buttonData="New Query Editor Window"/> </Menu.Section> <Menu.Section> <Menu.Item buttonData="File..."/> <Menu.Item buttonData="Clipboard"/> </Menu.Section> </sections></Menu></menu> </Menu.Item> </Menu.Section> <Menu.Section> <Menu.Item buttonData="EXECUTE To"> <menu><Menu><sections> <Menu.Section> <Menu.Item buttonData="New Query Editor Window"/> </Menu.Section> <Menu.Section> <Menu.Item buttonData="File..."/> <Menu.Item buttonData="Clipboard"/> </Menu.Section> </sections></Menu></menu> </Menu.Item> </Menu.Section> Then, I want to add this whole thing multiple times so: <Menu.Item buttonData="Script Table as"> <menu><Menu><sections> <Menu.Section> <Menu.Item buttonData="CREATE To"> <menu><Menu><sections> . . . <Menu.Item buttonData="Script View as"> <menu><Menu><sections> <Menu.Section> <Menu.Item buttonData="CREATE To"> <menu><Menu><sections> . . . <Menu.Item buttonData="Script Stored Procedure as"> <menu><Menu><sections> <Menu.Section> <Menu.Item buttonData="CREATE To"> . . . Is there a way I can do this with references?? (I know, NEWB question).... Thanks, Roger Whitcomb Architect, Engineering Ingres Corporation [email protected] PHONE +1 650.587.5596 FAX +1 650.587.5550 www.ingres.com <http://www.ingres.com/> This transmission is confidential and intended solely for the use of the recipient named above. It may contain confidential, proprietary, or legally privileged information. If you are not the intended recipient, you are hereby notified that any unauthorized review, use, disclosure or distribution is strictly prohibited. If you have received this transmission in error, please contact the sender by reply e-mail and delete the original transmission and all copies from your system.
