Thanks a lot, actually eXist was my next step and I will be posting
soon there the same question.
regards,
Nestor

On 6/5/06, Jörn Nettingsmeier <[EMAIL PROTECTED]> wrote:
Nestor Urquiza wrote:
> Hello guys,
> I need to be able to include xml chunks from several entity xml files
> into a a master one that is supposed to be shown to users.
>
> Those users should be able to edit the final xml file but when doing
> so they should be actually updating the chunks.

i'm pretty sure that this is impossible with lenya's currently available
mechanisms. iiuc, lenya's authoring infrastructure is based around the
assumption of single documents.
you might want to look into cforms to create custom form interfaces, and
  maybe those could be bound to several different xml files.
you could also try some behind-the-scenes trickery: let the user edit
this one file and save it, and then hack it into pieces and let some
pipeline magic do the actual updating of the real source files. sounds
like a world of pain, though.

and you will find that updating single elements in xml files is
non-trivial and hard to get right for the general case, since you don't
know if the chunks you aim for will be unique or what to do if they
don't exist yet.

i would also suggest to evaluate an xml database for your needs, such as
eXist (i'm trying to integrate it into my lenya setup atm). the problem
is that their XMLDBTransformer has issues atm, but it does have really
nice xquery/xupdate support.

regards,

jörn

--
"Open source takes the bullshit out of software."
        - Charles Ferguson on TechnologyReview.com

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736

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



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

Reply via email to