Hello,

I include here a part of my previous posting:

I have some questions about repligard's working. I have read Henri's
notes.

1.
---------
<type name="person">
   <field type="text" name="username" />
   <field type="password" name="password" />
   <link link="topic" name="department" />
</type>

Besides field, we also have an element called link, that links objects
to each other. After parsing the XML schema file, Repligard creates a
graph noting relations between different objects. If the person has a
link
for a topic, then when exporting the person, the topic should also be
exported and vise versa.
----------

Now, this linking is recursive, right? E.g., the linked object's
dependencies also satisfied...

Here is an example from repligard.xml:

  <type name="topic">
[...]
    <link name="up" link="topic"/>
  </type>

So, if I export a topic, it exports its upper topic, until it reaches
the upper topic 0, which doesn't exist, so doesn't exported. BUT! Then
the dependency tree starts to the other direction, and every topic (and
article) is exported below this root topic? Graphically:


                  []               []
                 /  \             /  \
             -> []  []           []  []
               /   /  \
              []  []  []*

If I put the topic marked with arrow into the repligard.conf, then the
whole first tree will be exported (including the one marked with *),
with all articles attached to it, not only _its_ subtopics and articles?
If not, then I don't understand this bidirectional dependency.
-----------

Now I have tried it out, and it _does_ work like I have imagined...

Circum

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to