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
>  
> 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.
>  

Reply via email to