Top 100+ Xforms Interview Questions And Answers
Question 1. What Are The Most Important Features Of Xforms?
Answer :
A listing of maximum crucial features of XForms:
XForms is used to generate bureaucracy which can be an awful lot richer and flexible than HTML paperwork.
XForms will act as form preferred in XHTML2.0.
XForms is platform and tool unbiased.
XForms can be used to separate common sense and tool from presentation.
XForms may be used to outline records of form.
XForms may be used to shop and transport statistics into an XML report.
XForms also can be used to perform calculation and additionally to validate our forms.
XForms also help us to lessen or eleminate need of scripting.
XForms is a W3C Recommendation.
Question 2. When Xforms 1.0 Become A W3c Recommendation?
Answer :
XForms 1.0 has end up W3C recommendation seeing that October 2003.
XML Interview Questions
Question three. How Can You Say That Xforms Is Successor Of Html Forms?
Answer :
HTML Forms are used to accumulate input from internet utility. HTML Forms is a part of HTML standard. After gathering the inputs the web person try to remedy complex transactions but HTML popular does achieve that task.
To overcome from this hassle XForms is used. Because the usage of XForms take care of a richer, more secure and device independent web input.
XForms are supported by using all future browsers.
Question 4. How Xforms Is Used To Separate Data From Presentation?
Answer :
XForms may be used to perform both responsibilities to define data and to show statistics.
To Define Data: XForms uses XML to outline data.
To Display Data: XForms makes use of HTML or XHTML to show data.
Using XForms we will separate information common sense of a form from its presentation.
XML Tutorial
Question 5. How Can You Store And Transport Data Using Xforms?
Answer :
We can carry out challenge of shop and shipping information using XForms. Using XForms we will save records or to submit data from the form. We use XML to transfer facts over the net.Keep in thoughts XForms Store and Transform records in the shape of Unicode bytes.
PL/SQL Interview Questions
Question 6. How Can You Say That Xforms Is Device Independent?
Answer :
XForms is tool impartial due to the fact it's far used to separate facts from presentation and makes you capable of use statistics models for all gadgets.
It helps you to customise presentation for specific consumer interface like cell phones, hand-held gadgets and so on.
Question 7. What Is The Benefit Of Device Independent Feature Of Xforms?
Answer :
Device impartial capabilities of XForms makes you capable of upload XForms element into different XML software directly i.E. WML(Wireless Markup Language),VoiceXML etc.
SAP Crystal Reports Tutorial SAP Crystal Reports Interview Questions
Question eight. How To Define Xforms Framework?
Answer :
The foremost purpose of XForms is to collect information. Input statistics the usage of XForms can be defined into two one-of-a-kind parts.
XForm model: XForms version is used to explain the information and the logic. Using XForms, we will define what the form is, what information it incorporates and what it should do.
XForm user interface: XForm person interface is used to carry out input and output challenge on information. It defines the enter fields and the way they should be displayed.
Question nine. How You Define Xforms Processor?
Answer :
XForms processor is used in the browser to submit XForms information to the target. See how to post statistics into XML:
<person>
<fname>Ajeet</fname>
<mname>Kumar</mname>
<lname>Maurya</lname>
</person>
SSRS(SQL Server Reporting Services) Interview Questions
Question 10. What Is The Use Of Actions In Xforms?
Answer :
Actions are used to handle responses to activities in XForms.
There are kinds of movements in XForms:
Message Action
Setvalue Action
Scrum Tutorial
Question 11. What Is The Use Of Message Action?
Answer :
The <message> detail is utilized in XForms to define and show a message into XForms user interface.
For instance:
<input ref="fname">
<label>First Name</label>
<message level="ephemeral" event="DOMFocusIn">
Enter Your First Name
</message>
</input>
Note: In the above instance the message "Enter Your First Name" will displayed as a tool tip while user will cognizance at the input field.
The event="DomFocusIn" is locate to outline the event to trigger that motion.
The level="ephemeral" is locate to outline the message with a view to show as a tool tip.
Scrum Interview Questions
Question 12. What Is The Use Of Setvalue Action?
Answer :
Setvalue Action: The <setvalue> element in XForms is used to set a price which you need to show with response of an occasion.
For Example:
<input ref="size">
<label>Size</label>
<setvalue value="100" event="xforms-ready"/>
</input>
Note: In the above example, the instance element <size> will save a fee one hundred whilst the form opens.
XML Interview Questions
Question 13. How Can You Define Data Types In Xforms?
Answer :
XML Schema Data Types: XForms version supports XML Schema records types. This function enables XForms processor to check the statistics for correct input values.
To use XML Schema data kinds, you have to ought to use XML Schema namespaces into our namespace statement.
For Example:
<html
xmlns:xf="http://www.W3.Org/2002/xforms"
xmlns:xsd="http://www.W3.Org/2001/XMLSchema"
xmlns:xsi="http://www.W3.Org/2001/XMLSchema-instance">
After the use of the XML Schema namespaces, we can add kind attributes into our XForms instance factors like this:
For Example:
<xf:instance>
<person xmlns="">
<fname xsi:type="xsd:string"/>
<lname xsi:type="xsd:string"/>
<born xsi:type="xsd:date"/>
<size xsi:type="xsd:integer"/>
</person>
</xf:instance>
There are some unsupported XML Schema datatype in XForms:
Duration
ENTITY
ENTITIES
NOTATION
Java XML Tutorial
Question 14. How Can You Bind Data Types In Xforms?
Answer :
The <bind> detail is used to bind the statistics kinds in XForms. It is used to bind statistics types with their example data.
Example:
<xf:bind nodeset="/person/size" type="xsd:integer"/>
Question 15. How Can You Perform Textarea Control?
Answer :
Textarea manage is used to carry out task to manipulate multi-line person inputs.
<textarea ref="message">
<label>Message Box:</label>
</textarea>
Oracle9i Forms Interview Questions
Question 16. How Can You Perform Upload Control?
Answer :
The upload control is used to add files into server.
For example:
<upload bind="name">
<label>File is used to upload:</label>
<filename bind="file"/>
<mediatype bind="media"/>
</upload>
SAP Smart Forms Tutorial
Question 17. How Can You Perform Output Control?
Answer :
Output manage is used to manipulate how to display Xform data:
For instance:
See an example of XML record:
<instance>
<person>
<name>
<firstname>xxx</firstname>
<middlename>yyy</middlename>
<lastname>zzz</lastname>
</name>
</person>
</instance>
We can perform output control on above XML instance:
<p>First Name: <output ref="name/firstname" /></p>
<p>Middle Name: <output ref="name/middlename" /></p>
<p>Last Name: <output ref="name/lastname" /></p>
Output:
Firse Name:xxx
Middle Name: yyy
Last Name: zzz
DataGrid Interview Questions
Question 18. How Can You Define Controls In Xforms?
Answer :
XForms controls are used to control consumer interface of XForms. They are also referred to as consumer interface control elements.
I even have given you some most important commonplace controls given beneath:
<input>
<submit>
A ref attribute is connected with every controls element. That is locate to factor the XForms records version of each manage element.
PL/SQL Interview Questions
Question 19. What Is A <label> Element In Xforms?
Answer :
The <label> element is a necessary infant element for appearing enter controls. By the usage of <label> element, we can make bureaucracy comfy anduse in all distinctive varieties of devices. I.E. Label may be spoken for voice software.
EbXML Tutorial
Question 20. How Can You Perform Secret Control?
Answer :
The mystery controls are designed to perform a few unique assignment like input passwords or different hidden statistics.
For Example:
<secret ref="name/password">
<label>Pass:</label>
</secret>
Java XML Interview Questions
Question 21. What Is Xforms?
Answer :
We can outline XForms as the brand new generation of HTML paperwork.
In an XForms we use XML to create input forms at the Web.
Question 22. How To Bind Datatype In Xforms?
Answer :
If you want bind facts types in XForms than you have to use <bind> element. Which is use to bind datatype with their instance facts.
Example:
<xf:bind nodeset="/person/size" type="xsd:integer"/>
XML DOM Tutorial
Question 23. How To Perform Textarea Control?
Answer :
Using textarea control we will carry out project to govern multi-line person enter.
<textarea ref="message">
<label>Message Box:</label>
</textarea>
Structured Query Report (SQR) Interview Questions
Question 24. How To Perform Upload Control?
Answer :
We use upload manipulate perform mission to govern when we uploaded documents into server.
<upload bind="name">
<label>File is used to upload:</label>
<filename bind="file"/>
<mediatype bind="media"/>
</upload>
SAP Crystal Reports Interview Questions
Question 25. How To Perform Selection Control In Xforms?
Answer :
When we want perform manage on one or more gadgets in consumer interface of XForms we use Selection manage.
We can perform three sort of choice control :
1.Select1 Control
2.Select Control
3.Range Control
XML-RPC Tutorial
Question 26. Explain Range Control?
Answer :
Range Control: Using Range manage we will pick out a fee from various values.
Example:
<range ref="length" start="0" end="200" step="10">
<label>Length:</label>
</range>
Now, In the above example user can pick a price between 0 and 2 hundred in steps of 10.
SAP Smart Forms Interview Questions
Question 27. Explain About Select Control?
Answer :
Select Control: When we need to pick one or more items from list of objects we use pick out manage.
Example:
<select ref="languages">
<label>Languages:</label>
<item>
<label>English</label>
<value>E</value>
</item>
<item>
<label>Hindi</label>
<value>H</value>
</item>
<item>
<label>French</label>
<value>F</value>
</item>
<item>
<label>Spanish</label>
<value>S</value>
</item>
<item>
<label>German</label>
<value>G</value>
</item>
</select>
Now, In the above instance person can choose greater than language.
SSRS(SQL Server Reporting Services) Interview Questions
Question 28. How You Define Data Types In Xforms?
Answer :
XML Schema statistics kind supported with the aid of XForms model.
XML Schema Data Types: Because XFormes version helps XML Schema information sorts. Using this option XForms processor take a look at the data for proper input values.
If we want to use XML Schema information types, we ought to need to use XML Schema namespaces into our namespace declaration,
Example:
<html
xmlns:xf="http://www.W3.Org/2002/xforms"
xmlns:xsd="http://www.W3.Org/2001/XMLSchema"
xmlns:xsi="http://www.W3.Org/2001/XMLSchema-instance">
After the usage of the XML Schema namespaces, we are able to upload kind attributes into our XForms example factors like this:
Example:
<xf:instance>
<person xmlns="">
<fname xsi:type="xsd:string"/>
<lname xsi:type="xsd:string"/>
<born xsi:type="xsd:date"/>
<size xsi:type="xsd:integer"/>
</person>
</xf:instance>
I haven given you a list of XML Schema facts sorts except that XForms uses all XML schema facts kind.
List of unsupported XML Schema datatype in XForms:
period
ENTITY
ENTITIES
NOTATION
Question 29. How You Define Controls In Xforms?
Answer :
XForms controls also are informed as consumer interface factors we use to manipulate consumer interface of XForms.
I actually have given you some essential not unusual controls given below:
<input>
<submit>
a ref characteristic is attach with every controls element.That is use to factor the XForms facts model of each control element.
XMLHttpRequest (XHR) Interview Questions
Question 30. How You Define Input Control?
Answer :
One of the maximum common XForms control is enter control.
Example:
<input ref="name/fname">
<label>First Name</label>
</input>
<input ref="name/mname">
<label>Middle Name</label>
</input>
<input ref="name/lname">
<label>Last Name</label>
</input>
These enter manage will display like that,
First Name:
Middle Name:
Last Name:
Question 31. How To Perform Binding Using Bind Attribute?
Answer :
We can also carry out binding b/w the XForms model and XForms user interface With bind characteristic like that,
Example: I have given you XForms model example:
<model>
<instance>
<person>
<name> <fname/>
<mname/>
<lname/>
</name>
</person>
</instance>
<bind nodeset="/person/name/fname" id="firstname"/>
<bind nodeset="/person/name/mname" id="middlename"/>
<bind nodeset="/person/name/lname" id="lastname"/>
</model>
Now, Using bind characteristic XForms person interface can bind <input> factors like that:
<input bind="firstname">
<label>First Name</label>
</input>
<input bind="middlename">
<label>Middle Name</label>
</input>
<input bind="lastname">
<label>Last Name</label>
</input>
Using binding we are able to easily deal with more than one example version and more than one forms.
