XIncluding chunks, XUpdating or XQuerying them later
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 1
- Joined: Wed Jun 14, 2006 5:21 pm
XIncluding chunks, XUpdating or XQuerying them later
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 (Or if I decide let us say to host my xml files in an
eXist Native Database I could use its enhancement to XQuery)
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 or easy to accomplish using oXigen XML solutions.
Generation of the GUI to edit should be done using a
W3C schema.
Could anyone point me to a good direction here?
Any help highly appeciated. Thanks to you all,
Nestor Urquiza
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 (Or if I decide let us say to host my xml files in an
eXist Native Database I could use its enhancement to XQuery)
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 or easy to accomplish using oXigen XML solutions.
Generation of the GUI to edit should be done using a
W3C schema.
Could anyone point me to a good direction here?
Any help highly appeciated. Thanks to you all,
Nestor Urquiza
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: XIncluding chunks, XUpdating or XQuerying them later
Post by sorin_ristache »
Hello,
Regards,
Sorin
<oXygen/> does not have such built-in support.nestoru wrote:too much custom code for something that maybe is
already
integrated or easy to accomplish using oXigen XML solutions.
Generation of the GUI to edit should be done using a
W3C schema.
I think this is the support that <oXygen/> can offer in your case.nestoru wrote: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 (Or if I decide let us say to host my xml files in an
eXist Native Database I could use its enhancement to XQuery)
if I maintain somewhere the XInclude rules just to
know what to update
Regards,
Sorin
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service