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.

With an example:

books.xml
--------------
<books>
<book isbn="foo" author="bar"/>
.....
</books>

bookstores.xml
---------------------
<bookstores>
<bookstore>
<book isbn="foo" author="bar"/>
...........
</bookstore>
</bookstores>

libraries.xml
---------------------
<libraries>
<library>
<book isbn="foo" author="bar"/>
...........
</library>
</libraries>
or <libraries>

A given user updating now libraries realize the author for isbn "foo"
is not "bar" but "xar" so whenever he updates libraries he should
actually be updating books.xml.

I am just trying to reuse any work already done about this problem. I
can use XInclude to get the books chunks into the libraries and
bookstores files. I can use XSLT to present a pretty form to the user
and then whenever the user hits submit for a change I can use XUpdate
if I maintain somewhere the XInclude rules just to know what to update
but too much custom code for something that maybe is already
integrated in Lenya.

Generation of the GUI to edit should be done using a W3C schema and I
am wondering if something is not also built within Lenya for this
matter.

Could anyone point me to a good direction here? Maybe what I am trying
to accomplish is just even within the cooon framework but since Lenya
is built on top and with many CMS features I think I am asking to the
right community.

Any help highly appeciated. Thanks to you all,
Nestor Urquiza

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

Reply via email to