472,353 Members | 2,236 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

combining data&presentation and splitting it back

Hi!
I wonder if anyone could give me some hints/pointers. This is what I'm
trying to do:

say, I have the following:
- data (most likely XML) Example: <colour>red</colour>
- data validation rules (ranges, defaults, etc) (XML, schema?)
Example <colour>
<option>red</opton>
<option>amber</opton>
<option>green</opton>
<default>green</default>
</colour>

- description of data presentation (XML too) Example:
<colour>listbox</colour>

I'd like to generate a document (XTML page or Windows form, for
example), where these three come together to help user to make changes
to the data

After changes are made, I'd like to split the document and extract the
pure data.

So, could you point me to some published work in this area, or share
your thoughts, etc.

thanks and regards

kdv09
Jul 20 '05 #1
2 1542
Balrog wrote:
Hi!
I wonder if anyone could give me some hints/pointers. This is what I'm
trying to do:

say, I have the following:
- data (most likely XML) Example: <colour>red</colour>
- data validation rules (ranges, defaults, etc) (XML, schema?)
Example <colour>
<option>red</opton>
<option>amber</opton>
<option>green</opton>
<default>green</default>
</colour>

- description of data presentation (XML too) Example:
<colour>listbox</colour>

I'd like to generate a document (XTML page or Windows form, for
example), where these three come together to help user to make changes
to the data

After changes are made, I'd like to split the document and extract the
pure data.

So, could you point me to some published work in this area, or share
your thoughts, etc.


This definitely looks like something to be done by XForms. It is a way
of representing forms (like in HTML, only much more powerful) in XML,
for use with any compliant viewer. You can do exactly what you are
implying in XForms. Check out the following pages:
- Good tutorial: http://xformsinstitute.com/lesson1.php
- Small W3Schools tutorial: http://www.w3schools.com/xforms/
- Free O'Reilly book on the subject:
http://xformsinstitute.com/essentials/browse/book.php
- The W3C XForms main page: http://www.w3.org/MarkUp/Forms/
- The newest W3C recommendation (technical description of the standard):
http://www.w3.org/TR/xforms/
- XForms validator: http://xformsinstitute.com/validator/
- DENG viewer (very good, small, open source, needs Macromedia Flash
viewer): http://claus.packts.net/
- Chiba viewer (very good, but needs Java & Tomcat):
http://chiba.sourceforge.net/
- X-Smiles viewer (slow, open source): http://www.xsmiles.org/

--
Victor
Jul 20 '05 #2
Victor Engmark <vi************@cern.ch> wrote in message news:<c6**********@sunnews.cern.ch>...
...... This definitely looks like something to be done by XForms. It is a way
of representing forms (like in HTML, only much more powerful) in XML,
for use with any compliant viewer. You can do exactly what you are
implying in XForms. Check out the following pages:
- Good tutorial: http://xformsinstitute.com/lesson1.php
- Small W3Schools tutorial: http://www.w3schools.com/xforms/
- Free O'Reilly book on the subject:
http://xformsinstitute.com/essentials/browse/book.php
- The W3C XForms main page: http://www.w3.org/MarkUp/Forms/
- The newest W3C recommendation (technical description of the standard):
http://www.w3.org/TR/xforms/
- XForms validator: http://xformsinstitute.com/validator/
- DENG viewer (very good, small, open source, needs Macromedia Flash
viewer): http://claus.packts.net/
- Chiba viewer (very good, but needs Java & Tomcat):
http://chiba.sourceforge.net/
- X-Smiles viewer (slow, open source): http://www.xsmiles.org/


Victor,
thanks a lot for this lead, I'm checking it now. From what I see so
far, it looks promising and to the point:

"- XForms should use XML, both for initial data and submitted data.

- The difference between a blank form and a filled-out form should be
minimal and representable as an XML document.

- Forms should be easy to route to multiple users and locations.

- XForms should separate purpose, presentation, and form data.
Earlier, each section describing an HTML form control had to define
two things: how the control looked, and how it affected the form data
set. XForms should cleanly separate these two aspects.

- XForms should provide the 20 percent of functionality needed to
avoid 80 percent of all forms scripting.

- Popular features such as calculations and validations should be
included in the language.

- XForms should be designed in such a way to encourage those using
HTML forms to switch over by making sure that all the commonly used
features in HTML forms are still possible in XForms." (this is from
O'Reily book you've mentioned)

Thanks again
kdv09
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: 21novembre | last post by:
Hi all, I made a question several days before to describe my strange trouble of mysqldump. But I still can't figour it out. Well, I just want to...
1
by: Scott M. | last post by:
I have created a strongly typed dataset and populated it with data in my data layer. I have confirmed that the DataSet does, in fact contain my...
0
by: gauravkhanna | last post by:
Hi All I need some help for the below problem: Scenario We need to send large binary files (audio file of about 10 MB or so) from the client...
5
by: David Bartosik [MSFT MVP] | last post by:
I'm parsing an XML file with XMLDocument, each node I write to SQL server. Sometimes values in the XML have to contain an ampersand, so they are...
6
by: CoreyWhite | last post by:
Convert WAV To BMP And Back On RentaCoder one of the coders thought I just wanted him to change the extension from WAV to BMP. Another coder...
25
by: Wim Cossement | last post by:
Hello, I was wondering if there are a few good pages and/or examples on how to process form data correctly for putting it in a MySQL DB. Since...
2
by: Scott Zabolotzky | last post by:
I've got an XML file that contains both a data section and a custom schema section. The data may represent only a subset of the parameters defined...
10
by: Martin Hughes | last post by:
Hi guys, I was wondering if anyone could give me some advice. I am looking to develop an ASP.NET application that will enable several...
1
by: crazygrey | last post by:
I'm using VC++ 2005 Express on Windows XP. I'm reading and writing parallel ports' pins. I'm using 10 outputs (D0-D6, C0,C2,C3) - a combination of...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.