473,729 Members | 2,376 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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>In terconnection MB-MB</description>
<type></type>
<dcumStart>455. 9407</dcumStart>
<otherId>QBBI_A 12R1=RI18</otherId>
<parent></parent>
<item></item>
<equipment></equipment>
<comment></comment>
<createdOn>20 04-02-03</createdOn>
<createdBy>MT F</createdBy>
<job>
<id>10559068</id>
<status>Pending </status>
<result></result>
<phase></phase>
<evmId></evmId>
<responsible> </responsible>
<providedBy></providedBy>
<executedBy></executedBy>
<actualStartDat e></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>
<actualStartDat e></actualStartDate >
<actualEndDate> </actualEndDate>
<comment></comment>
</job>
</slot>

<slot>
<id>QBBI_.A13R1 </id>
<description>In terconnection MB-MB</description>
<type></type>
<dcumStart>509. 3907</dcumStart>
<otherId>QBBI_A 13R1=RI18</otherId>
<parent></parent>
<item></item>
<equipment></equipment>
<comment></comment>
<createdOn>20 04-02-03</createdOn>
<createdBy>MT F</createdBy>
<job>
<id>10559079</id>
<status>Pending </status>
<result></result>
<phase></phase>
<evmId></evmId>
<responsible> </responsible>
<providedBy></providedBy>
<executedBy></executedBy>
<actualStartDat e></actualStartDate >
<actualEndDate> </actualEndDate>
<comment></comment>
<job>
<id>10559080</id>
<status>Pending </status>
<result></result>
<phase></phase>
<evmId></evmId>
<responsible> </responsible>
<providedBy></providedBy>
<executedBy></executedBy>
<actualStartDat e></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>
<actualStartDat e></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>
<actualStartDat e></actualStartDate >
<actualEndDate> </actualEndDate>
<comment></comment>
<job>
<id>10559086</id>
<status>Pending </status>
<result></result>
<phase></phase>
<evmId></evmId>
<responsible> </responsible>
<providedBy></providedBy>
<executedBy></executedBy>
<actualStartDat e></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>
<actualStartDat e></actualStartDate >
<actualEndDate> </actualEndDate>
<comment></comment>
</job>
</job>
<document>
<edmsId>ACL6090 40010</edmsId>
<file>blah.tx t</file>
<nc>true</nc>
</document>
<document>
<edmsId>ACR1087 10000</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 1306

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

Similar topics

3
4620
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 the user has to use my New Record button. When you click the New Record button, the form presents a new record for editing. My client wants to use the Escape key to cancel changes to new or existing records. On existing records, Access already...
11
5945
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 a database from a menu command while the user is editing a DataGrid. This is unusual in regard to examples and normal practice in that the cell of the DataGrid still has the focus. In all examples I can find, the user normally presses a button on...
0
1272
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 no "new" blank asterisked row will be added to the bottom *until* you type some data. How can I tell if you have begun to type data into this row or not? Here is the reason I need this. I need to call CurrencyManager.EndCurrentEdit() on a row...
2
8401
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 submitting the form to update the database. The server doesn't have the client side value any more. It seems to me that as I begin to write the client side javacript code for form validation and client side editing capabilities in order to save...
5
2122
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 project: "The web server reported the following error when attempting to create or open the web project located at the following URL: 'http://localhost'. The server name or address could not be resolved."
30
2911
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 some help to find out how the same thing is done in Python. I am not sure what the standard is. In C++, I open up an editor in one window, a Unix shell in another. I write the code in the editor, then switch to the shell window for compile...
14
5934
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 because of this, so I hope some of you gurus can enlighten me with this :) In what circumstances can the "&amp;" in the source code be involuntary changed to "&" by a browser when or other software, when editing and uploading the file to the web...
1
2287
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 combine the "Edit" and "Display" funtions into this page. (It means if user want to edit the customer information, this page would provided editing page to the user; If the user want to display the customer information, this page would providev the...
25
20556
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, and try to move to another record and get an Access error "Record is too large". The record is only half filled, with many empty fields. If I remove the added data or delete some older data, then it saves ok and works fine again. Whenever I'm...
0
8917
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8761
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9281
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9200
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9142
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8148
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6022
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.