473,394 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

XForms capabilities - "editing" an XML file

I am quite new to XForms, but I need to do a feasibility study to see
whether a system I'm supposed to make can be done without any scripting
or programming language (to make it simple and not need any installation
except for an Xforms reader). The problem is, from what I've read, I
cannot find clear answers to whether XForms can do everything it will
need to...

The challenges are as follows:
- One input.xml file is generated by selecting rather a lot of data from
a database [1]
- The XForm must be able to display only a subset of this data,
according to an arbitrary search string (this could perhaps be an XPath
expression, but should be "human-readable" for non-techies)
- Generally speaking, the search would have to be able to display any
number of levels of element contents (no elements have mixed contents)
- For example, the search page would prompt to choose any of "slots",
"jobs", or "documents", the number of levels, and type an ID (with
wildcards) which the elements must match to be displayed in the results page
- The XForm must be able to generate "ref" attributes dynamically (by
combining two values from the input.xml for each "ref"), e.g. like
ref="slot_QBBI_.A12R1"
- When submitting, the XForm must overwrite _only_ the subset of
input.xml which was displayed (to avoid data loss)

Any help would be greatly appreciated!

--
Victor Engmark

[1] Example XML:
<?xml version="1.0" encoding="iso-8859-1"?>
<data>
<slot>
<id>QBBI_.A12R1</id>
<description>Interconnection MB-MB</description>
<type></type>
<dcumStart>455.9407</dcumStart>
<otherId>QBBI_A12R1=RI18</otherId>
<parent></parent>
<item></item>
<equipment></equipment>
<comment></comment>
<createdOn>2004-02-03</createdOn>
<createdBy>MTF</createdBy>
<job>
<id>10559068</id>
<status>Pending</status>
<result></result>
<phase></phase>
<evmId></evmId>
<responsible></responsible>
<providedBy></providedBy>
<executedBy></executedBy>
<actualStartDate></actualStartDate>
<actualEndDate></actualEndDate>
<comment></comment>
</job>
<job>
<id>10559069</id>
<status>Pending</status>
<result></result>
<phase></phase>
<evmId></evmId>
<responsible></responsible>
<providedBy></providedBy>
<executedBy></executedBy>
<actualStartDate></actualStartDate>
<actualEndDate></actualEndDate>
<comment></comment>
</job>
</slot>

<slot>
<id>QBBI_.A13R1</id>
<description>Interconnection MB-MB</description>
<type></type>
<dcumStart>509.3907</dcumStart>
<otherId>QBBI_A13R1=RI18</otherId>
<parent></parent>
<item></item>
<equipment></equipment>
<comment></comment>
<createdOn>2004-02-03</createdOn>
<createdBy>MTF</createdBy>
<job>
<id>10559079</id>
<status>Pending</status>
<result></result>
<phase></phase>
<evmId></evmId>
<responsible></responsible>
<providedBy></providedBy>
<executedBy></executedBy>
<actualStartDate></actualStartDate>
<actualEndDate></actualEndDate>
<comment></comment>
<job>
<id>10559080</id>
<status>Pending</status>
<result></result>
<phase></phase>
<evmId></evmId>
<responsible></responsible>
<providedBy></providedBy>
<executedBy></executedBy>
<actualStartDate></actualStartDate>
<actualEndDate></actualEndDate>
<comment></comment>
</job>
<job>
<id>10559081</id>
<status>Pending</status>
<result></result>
<phase></phase>
<evmId></evmId>
<responsible></responsible>
<providedBy></providedBy>
<executedBy></executedBy>
<actualStartDate></actualStartDate>
<actualEndDate></actualEndDate>
<comment></comment>
</job>
</job>
<job>
<id>10559085</id>
<status>Pending</status>
<result></result>
<phase></phase>
<evmId></evmId>
<responsible></responsible>
<providedBy></providedBy>
<executedBy></executedBy>
<actualStartDate></actualStartDate>
<actualEndDate></actualEndDate>
<comment></comment>
<job>
<id>10559086</id>
<status>Pending</status>
<result></result>
<phase></phase>
<evmId></evmId>
<responsible></responsible>
<providedBy></providedBy>
<executedBy></executedBy>
<actualStartDate></actualStartDate>
<actualEndDate></actualEndDate>
<comment></comment>
</job>
<job>
<id>10559087</id>
<status>Pending</status>
<result></result>
<phase></phase>
<evmId></evmId>
<responsible></responsible>
<providedBy></providedBy>
<executedBy></executedBy>
<actualStartDate></actualStartDate>
<actualEndDate></actualEndDate>
<comment></comment>
</job>
</job>
<document>
<edmsId>ACL609040010</edmsId>
<file>blah.txt</file>
<nc>true</nc>
</document>
<document>
<edmsId>ACR108710000</edmsId>
<file></file>
<nc></nc>
</document>
<document>
<edmsId>LHC-HQB-CA-0001</edmsId>
<file></file>
<nc></nc>
</document>
</slot>
</data>
Jul 20 '05 #1
0 1281

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

Similar topics

3
by: Paul | last post by:
I have an Access 2000 database with a form that is giving me some major headaches. When you open the form, it displays all records and allows editing, but has AllowAdditions set to False so that...
11
by: Junkguy | last post by:
I need some help programmatically causing a row in a DataGrid to "flush" its contents to its bound data (in Visual Studio 6 using Windows Forms with C#). My issue is I want to send an update to...
0
by: Junkguy | last post by:
I need to be able to tell if the blank row of a DataGrid has been edited or not. In a DataGrid, you may notice that if you click on the asterisk row, the asterisk will change to a triangle, but...
2
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
5
by: Chris | last post by:
What is going on here... I have my site running locally on my machine, and when I don't have an internet connection (like when Im on the train) I get this error when I try to open an asp.net...
30
by: bblais | last post by:
Hello, Let me start by saying that I am coming from a background using Matlab (or Octave), and C++. I am going to outline the basic nuts-and-bolts of how I work in these languages, and ask for...
14
by: Arne | last post by:
A lot of Firefox users I know, says they have problems with validation where the ampersand sign has to be written as &amp; to be valid. I don't have Firefox my self and don't wont to install it only...
1
by: Benny Ng | last post by:
Dear All, Now I met one problem in the development of my one application. I have one ASP.NET page. It's for disply the information of customer. But now I have one new requirement. It's to...
25
by: tekctrl | last post by:
Anyone: I have a simple MSAccess DB which was created from an old ASCII flatfile. It works fine except for something that just started happening. I'll enter info in a record, save the record,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.