OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Challenge

[ Lists Home | Date Index | Thread Index ]

Hi Mark,

Firstly, thanks for a first concrete example of how you would do it (at
least we got finally some sample code).

If I understand well, the Xform is processed on the server side. The XML
document is filled on the server not in the browser. However it's quite
close, the process is
a) Create an XForm document to bind widgets to xml elements. This should
provide sufficient information to an XForm processor to relate a visual
object to an XML element. So far so good.

What is missing now is a way, at least on a certain browsers (probably not
all) to modify the XML document on the client side and send it back to the

I am also trying myself to respond to the challenge. I think your solution
is a step toward a solution. I am thinking how I can make the browser to set
the XML document before sending it back to the server. This way, we would
have a real apps on the client side. 

Here is my Hypothesis:
a) I create an XSLT stylesheet taking your XForm document and transforming
it into HTML
b) The transformation can occurs on the client side in modern browsers like
Mozilla or IE. But they are not handling the XML document the same way. Some
investigation to be done there.
c) I know that IE simultaneously keep the XML document, the XSLT document
and the HTML document in memory. Any one of these documents can be accessed
at run time through their respective DOM.
d) The trick now is to relate some of the HTML elements to some of the XML
element. Not easy, but I'll persevere.

Except performing transformation on the server side or using a server to do
the data content insertion, any other ideas? Come on, I though the actual
XML based tools where able to do what XAML proposes to do? 

Anyway, thanks a lot for all of us who answered to the challenge.

Didier PH Martin


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS