Creating infopath templates XML for its platform independency - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Creating infopath templates XML for its platform independency

Last post 03-23-2011 09:44 PM by Lala Waghmode. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-23-2011 09:44 PM

    Creating infopath templates XML for its platform independency

     Respected Sir,

    Briefly I describe it here, I have to generate infopath XML for platform independence.  Let's say

    1.I have designed infopath form.

    2.I have to create XML with its schema structure with the programming

    3. Finally, I will get XML will describe me that, what are the controls(like text box,button,table) used.

      Second thing is, what is the style of that controls.

      Third thing is,What  data is being that controls.

    4.for example,I had created following XML manually which I want with programming.

     

     <?xml version="1.0" encoding="UTF-8"?>
    <kworx>

    <view>

    <!-- If no attributes are specified please use system defaults -->

    <form name="name of form" layout="border" id="form1" width="400">
        
        
    <!-- for first name -->
        
    <control type="label" id="label1" width="">
        
        <style font ="Arial" color="blue" style ="bold" size ="14">CSS</style>
            
    <value>Please enter first name</value>

            <default_value></default_value>
        
        <data_binding></data_binding>
        
    </control>

        
    <!-- for first name -->
        
    <control type="textbox" id="txt1" width="200">
            
    <style/>
        
        <value></value>
            
    <default_value>-- first name --</default_value>
            
    <data_binding></data_binding>
        
    </control>

        
    <!-- for last name -->
        
    <control type="label" id="label2" width="">


            <style font ="Tahoma" color="red" style ="bold" size ="14">CSS</style>
        
        <value>Please enter last</value>

            <default_value></default_value>
        
        <data_binding></data_binding>
        
    </control>

        <!-- for last name -->
        <control type="textbox" id="txt2" width="200">
            <style/>
            <value></value>
            <default_value>-- last name --</default_value>
            <data_binding></data_binding>
        </control>

        <!-- for city -->
        <control type="label" id="label3" width="">
            <style font ="Arial" color="blue" style ="bold" size ="14">CSS</style>
            <value>Please enter city</value>
            <default_value></default_value>
            <data_binding></data_binding>
        </control>

        <!-- for city -->
        <control type="combobox" id="combo1" width="200">
            <style/>
            <value></value>
            <default_value>-- Select City --</default_value>
            <data_binding>mylist</data_binding>
        </control>

      <!-- Gender -->

      <control type="label" id="label4" width="">

        <style font ="Arial" color="blue" style ="bold" size ="14">CSS</style>

        <value>Gender</value>

        <default_value></default_value>

        <data_binding></data_binding>

      </control>

      <!-- Gender -->

      <control type="label" id="label5" width="">

        <style font ="Arial" color="blue" style ="bold" size ="14">CSS</style>

        <value>Male</value>

        <default_value></default_value>

        <data_binding></data_binding>

      </control>


      <!-- Male -->

      <control type="radio" id="radio1" width="">

        <style/>

        <value></value>

        <default_value>true</default_value>

        <data_binding></data_binding>

      </control>
      <!-- Gender -->

      <control type="label" id="label6" width="300">

        <style font ="Arial" color="blue" style ="bold" size ="14">CSS</style>

        <value>Female</value>

        <default_value></default_value>

        <data_binding></data_binding>

      </control>


      <!-- Female -->

      <control type="radio" id="radio2" width="">

        <style/>

        <value></value>

        <default_value></default_value>

        <data_binding></data_binding>

      </control>
      <!-- Documents -->

      <control type="label" id="label7" width="300">

        <style font ="Arial" color="blue" style ="bold" size ="14">CSS</style>

        <value>SSC Certificate</value>

        <default_value></default_value>

        <data_binding></data_binding>
       
      </control>
      <control type="checkbox" id="check1" width="300">

        <style font ="Arial" color="blue" style ="bold" size ="14">CSS</style>

        <value></value>

        <default_value></default_value>

        <data_binding></data_binding>

      </control>

     
    </form>
    </view>

    <data>
            <data_list id = "mylist">    
                    <option>Pune</option>
                    <option>Mumbai</option>
                    <option>Bangalore</option>
            </data_list>
    </data>

    </kworx>

     

     5.We are going to use this xml to convert in web based form.

    6.We don't want to use Microsoft server.

    7.We have to convert this infopath xml into ZUL which we have to publish on Apache Tomcat Server. 

     

    Thanks & Best Wishes......

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.