I believe that is why they call them, Relational Databases. On Tue, Dec 16, 2008 at 11:01 AM, Cerebrus <[email protected]> wrote:
> > The purpose of XML is to store data in a hierarchical/relational > format. What you are doing seems to violate that express purpose. When > one piece of data is dependent on another, that marks a relation > between the data. > > On Dec 16, 2:54 pm, Daniel Lee <[email protected]> wrote: > > hello,everyone! > > Maybe the title is a little confusing, but that's my problem. > > > > Now my xml file has two parts. The first part stores data which might > > be changed. The second part stores some "actions" which use the data > > in first part as its parameters. I need to ensure that when I execute > > "actions" of second part, it can always get the newest parameters. It > > sounds like "pointer", right? > > > > What I do now is storing the XPath expression of wanted data of first > > part in second part where need it. So I can find right value of > > parameters according to these paths. But in this way, many XPath > > expressions are stored in xml file. I think this is a bad style. > > > > Can anyone give me some advice about this? > > > > Thanks. >
