forum  

Re: [Forum] re-use of xml

List for Users of Carlsbad Cubes' Technologies and Products
Sat, 22 Oct 2005 10:24:41 -0700

Emil,
Take a look at example 10 on the sample page here:


With the include attribute, you can either include a whole xml document or just a sub-hierarchy using an xpointer like notation
 <panel id="pnl_footer" constraints="BorderLayout.SOUTH" include="xml/fragments.xml#PNL_OK_CANCEL"/>

This panel tag for instance would include the content of a tag with the id 'PNL_OK_CANCEL' to be found in the 'fragments.xml' document.

--wolf

On Oct 22, 2005, at 4:48 AM, List for Users of Carlsbad Cubes' Technologies and Products wrote:

Hi,

I am wondering how an xml file(a panel with standard
buttons like "OK", "Cancel", and "Apply") can be
reused; in a bigger application there are some button
panels/parts that repeat constantly.

So, my question is:

Instead of coding the same button panels in every xml
file they occur, could we write this repeating stuff
in a separate xml file and then insert it in all the
other xml that needs the given button panels with
statements like "#import myButtonPanel.xml"? Does it
conflict with the id map if we have many xml files
referring to our button panel?  

Thanks in advance,

Emil


        
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.

_______________________________________________
Forum mailing list


--
Wolf Paulus
707.202.3937

C a r l s b a d  C u b e s
Dedicated to Excellence 

CONFIDENTIALITY NOTICE:
This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

_______________________________________________
Forum mailing list
Forum@carlsbadcubes.com
http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
  • [Forum] re-use of xml List for Users of Carlsbad Cubes' Technologies and Products
    • Re: [Forum] re-use of xml List for Users of Carlsbad Cubes' Technologies and Products