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

Home Posts Topics Members FAQ

Avoiding duplication of XML Schema in XForms document

When my XML Schema contains

<xsd:sequence >
<xsd:element name="id" type="slt_code"/>
</xsd:sequence>

, I don't want to duplicate this information by having to type

<xf:bind id="slotId-bind" nodeset="id" required="true( )"
type="xsi:slt_c ode"/>

in the XForms document. How can I ensure that the data is filled in, and
conforming to the slt_code type, without this redundant information?

--
Victor Engmark
Jul 20 '05 #1
0 1287

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

Similar topics

0
1306
by: Victor Engmark | last post by:
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...
2
10703
by: Michael Hertz | last post by:
Assume there is a XSD schema which describes the maximum possible number of fields which can occur in a XML document. How do I create such a form either as a HTML form or a text file from the XSD schema source? The DOM tree is automatically created by the parser. So there is only the need to create a form from this DOM tree. I feel that such a tool should be already available because it is a standard task. Does someone know such a...
0
1431
by: inquirydog | last post by:
Hello- XML clearly allows recursive xml (ie- elements to appear in themselves- examples are in mathml- functions of functions of functions, or xhtml, tables in tables in tables). My question is whether xforms can be used to edit such dialects of xml. To be concrete, consider this toy example- Two elements exist, <evalope> and <letter>. <envalope> can contain <letter>s and other <envalope>s as follows.
0
3401
by: arti | last post by:
Hi all. I have a problem/question with XForms. I have 2 instnace in my document, instance1 and instance2. <xforms:instance xmlns="" id=instance1"> .... </xforms:instance> <xforms:instance xmlns="" id=instance2">
0
1269
by: Brian | last post by:
However can ask the following questions (or provide a solution) will be dubbed hero of the year: Is it possible to generate an XForms document automatically from an XML Schema document, so that upon submission of the XForms document, an XML file will be generated that can then be validated by the aforementioned XML Schema document? (I think just about everyone agrees this is a big YES). Okay, if so, can I have a list of available...
2
2151
by: wumingshi | last post by:
Hi, When validating an XML instance, sometimes the schema is not enough to expression the validation rules. Additional validation rules may be expressed in an application-specific way. For example, using XPath or Java method. So is there a concept and/or standard for post-schema validation or application validation? Is there any hook in XML standards that allow me to hook up with my customized validation? Additionally and more...
1
1730
by: spark86 | last post by:
I currently have an xform where I'm trying to have the user input first and last name and then when it submits it goes to a file with the path first_last.xml. Here is what I have currently: <xforms:model id="patientModel"> <xforms:instance id="patientInstance"> <patient xmlns=""> <fname></fname> <lname/> </patient>
2
1486
by: li72 | last post by:
Hi. I’m new to XForms society and struggling with a basic concepts. However, I’m trying to transform an xml doc into XForms using XSLT. The browser renders the Xforms just fine but there is no effect to bind element. For instance the third UI control should be rendered as a calendar because its type is xs:date However, I got a normal input box instead. Also property required= “true()” has no effect. Any help is much appreciated. Here is my...
0
1030
by: li72 | last post by:
As you can see in binding part, the node<age /> should be returned as a calendar or any form of date picker instead of an input box. In addition, none null values submission is not achieving. I defined this problem as a binding issue but I find no clue to solve it. Moreover, this example is tested on X-Smiles and firefox with plug-in as well. Your help is much appreciated Here is my xhtml doc. <?xml version="1.0" encoding="ISO-8859-1"?>...
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
9426
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9280
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
8144
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
4525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.