Re: Newbie Question w/ Include
[email protected] Thu, 3 Mar 2005 09:30:30 -0600
| Newsgroups | gmane.comp.embedded.carlsbad-cubes |
|---|---|
| Organization | SwRI |
| Message-ID | <[email protected]> |
Sorry I was cut off before. When including xml files, how do you avoid having your ids clash? This may be a general xml question rather than SwixML specifically. Say I want to include the same xml repeatedly for the sake of reuse: File1: <panel id="panel1" include="fragments.xml#DEMOPANEL" layout="GridBagLayout" border="TitledBorder(panel1)"/> <panel id="panel2" include="fragments.xml#DEMOPANEL" layout="GridBagLayout" border="TitledBorder(panel2)"/> <panel id="panel3" include="fragments.xml#DEMOPANEL" layout="GridBagLayout" border="TitledBorder(panel3)"/> File 2: <doc> <panel id="DEMOPANEL"> <label text="Test"> </panel> </doc> "Will Arensman" <[email protected]> wrote in message news:... > When including xml files, how do you avoid having your ids clash? This may > be a general xml question rather than SwixML specifically. Say I want to > include the same xml repeatedly for the sake of reuse: > > <panel id="panel1" include="fragments.xml#DEMOPANEL" layout="GridBagLayout" > border="TitledBorder(panel1)"/> > >