How to create a xml structure in a pdf form

Hi guys of genius.

can anyone help me create a correct (root, subroot1, subroot2, etc) xml structure in a pdf form and not only the single tag?

Example: I give a pdf with form to fill out and after I extracted the xml data. Now, I have this:

<? XML version = "1.0" encoding = "UTF-8"? >

" < fields = xmlns:xfdf ' http://ns.Adobe.com/XFDF-transition/ "

> < A1classe

> 1995 < / A1classe

> < A1cognome

> Fanna < / A1cognome

> < A1nome

> Tonino < / A1nome

> < Annodifondazione xfdf:original = 'Anno di fondazione.

> 1965 < / Annodifondazione

> < C1classe

> 1976 < / C1classe

> < C1cognome

> Di Gennaro < / C1cognome

> < C1nome

> Antonio < / C1nome

> < Campionato

> ECCELLENZA < / Campionato

> < Campodigioco

> Comunale di Villabartolomea < / Campodigioco

> < Colorisociali

> Giallo Rosso < / Colorisociali

> < D1classe

> 1984 < / D1classe

> < D1cognome

> Fontolan < / D1cognome

> < D1nome

> Beppe < / D1nome

> < Girona

> A < / Girona

> < P1classe

> 1980 < / P1classe

> < P1cognome

> Zoff < / P1cognome

> < P1nome

> Dino < / P1nome

> < P2classe

> 1974 < / P2classe

> < P2cognome

> Adrien < / P2cognome

> < P2nome

> Claudio < / P2nome

> < S1cognome

> Baudo < / S1cognome

> < S1mansione

> President < / S1mansione

> < S1nome

> Pippo < / S1nome

> < S2cognome

> Togni < / S2cognome

> < S2mansione

> vice President < / S2mansione

> < S2nome

> Darix < / S2nome

> < Sede

> via Pisacane, 8 - Villabartolomea < / Sede

> < Squadra

> VILLABARTOLOMEA < / Squadra

> < T1cognome

> Dallara < / T1cognome

> < T1mansione

> Dall'allenatore < / T1mansione

> < T1nome

> Toni < / T1nome

> < T2cognome

> silvan < / T2cognome

> < T2mansione

> Magazziniere < / T2mansione

> < T2nome

> Mago < / T2nome

> < / fields

>

and I need this:

<? XML version = "1.0" encoding = "UTF-8"? >

" < root xmlns:xfdf =" http://ns.Adobe.com/XFDF-transition/ "

> < attaccanti >

< A1classe

> 1995 < / A1classe

> < A1cognome

> Fanna < / A1cognome

> < A1nome

> Tonino < / A1nome

>

< / attaccanti >

< Annodifondazione xfdf:original = 'Anno di fondazione.

> 1965 < / Annodifondazione

>

< centrocampisti >

< C1classe

> 1976 < / C1classe

> < C1cognome

> Di Gennaro < / C1cognome

> < C1nome

> Antonio < / C1nome >

< / centrocampisti >

< Campionato

> ECCELLENZA < / Campionato

> < Campodigioco

> Comunale di Villabartolomea < / Campodigioco

> < Colorisociali

> Giallo Rosso < / Colorisociali

>

< difensori >

< D1classe

> 1984 < / D1classe

> < D1cognome

> Fontolan < / D1cognome

> < D1nome

> Beppe < / D1nome

> < / difensori >

< Girona

> A < / Girona

> < portieri >

< P1classe

> 1980 < / P1classe

> < P1cognome

> Zoff < / P1cognome

> < P1nome

> Dino < / P1nome

> < P2classe

> 1974 < / P2classe

> < P2cognome

> Adrien < / P2cognome

> < P2nome

> Claudio < / P2nome

> < / portieri >

< company >

< S1cognome

> Baudo < / S1cognome

> < S1mansione

> President < / S1mansione

> < S1nome

> Pippo < / S1nome

> < S2cognome

> Togni < / S2cognome

> < S2mansione

> vice President < / S2mansione

> < S2nome

> Darix < / S2nome

> < / società >

< Sede

> via Pisacane, 8 - Villabartolomea < / Sede

> < Squadra

> VILLABARTOLOMEA < / Squadra

> < technical >

< T1cognome

> Dallara < / T1cognome

> < T1mansione

> Dall'allenatore < / T1mansione

> < T1nome

> Toni < / T1nome

> < T2cognome

> silvan < / T2cognome

> < T2mansione

> Magazziniere < / T2mansione

> < T2nome

> Mago < / T2nome

>

< / technical > < / root

>

Thanx, Paolo

I think for better control over XML you need of a XFA form with all its strengths and its limitations. AcroForms can have names like this: subroot1.data3 which would give

... that could be handy to transform. Specification of XFDF here: http://partners.adobe.com/public/developer/en/xml/XFDF_Spec_3.0.pdf

Tags: Acrobat

Similar Questions

  • How to create a data base so that PDF forms will populate the database, because they are submitted?

    I am trying to create PDF forms that will be filled by several members of an organization. I want to be transmitted electronically and then complete a database so that the data does not have to be reintegrated into a database.

    I usually use Microsoft access but certainly know how to use the values separated by comma (CSV) or Microsoft Excel.

    Currently, I use Acrobat X Pro.

    Acrobat has a built-in feature that will create a CSV file for a range of responses that you receive, full PDF or data files (FDF). In Acrobat 10 you would select: Tools > forms > more shape Options > manage form data > merge data files into spreadsheet

    If you have distributed the form so that you receive responses in the Tracker, there is an option export to CSV so when displaying answers.

  • How to create a field date in my Contact form.

    How to create a field date in my Contact form. Ideally, it would offer a timetable for the user to choose from.

    Hello

    You cannot add a calendar field in Muse. However, if you decide to host your site on Business Catalyst, you can add the Date field to your form in the form Builder Web of BC and then add the form code to your Muse site using the feature to insert the HTML code.

    Kind regards

    Aish

  • How can I attach additional pages to a PDF form?

    How can I attach additional pages to a PDF form?
    I have a secure form that I need to add pages at the end to provide all the necessary information. is there a way to do this?

    They really give instructions to add pages in the PDF file, or simply add printed pages?

    Basically, you would need Acrobat to insert pages in a PDF file (unless the creator of the PDF has provided a mechanism to do this with the reader).

  • How to create an XML Document and convert it into a string? (send through wireless network)

    Hello

    I am now able to post data to a web server by using Blackberry JDE (medical use).

    Now, instead of display the plain text, I would like to send an XML file.

    I am able to do it using this code on a 'normal ': Java application

    import java. IO;
    Org.w3c.dom import. *;
    Import javax.xml.parsers. *;
    Javax.xml.transform import. *;
    Javax.xml.transform.dom import. *;
    Javax.xml.transform.stream import. *;

    public class {XML
    Public Shared Sub main (String [] args) {}
    try {}
    DocumentBuilderFactory plant = DocumentBuilderFactory.newInstance ();
    DocumentBuilder builder = factory.newDocumentBuilder ();
    Doc document = builder.newDocument ();
               
    Root element = doc.createElement ("root");
    doc.appendChild (root);
               
    Child element = doc.createElement ("child");
    child.setAttribute ("name", "value");
    root.appendChild (child);

    Add a text element to the child
    Text = doc.createTextNode ("text");
    child.appendChild (text);

    implement a transformer
    TRANSFAC TransformerFactory = TransformerFactory.newInstance ();
    Transformer trans = transfac.newTransformer ();
    trans.setOutputProperty (OutputKeys.OMIT_XML_DECLARATION, 'yes');
    trans.setOutputProperty (OutputKeys.INDENT, 'yes');

    create the string of the xml tree
    StringWriter sw = new StringWriter();
    StreamResult result = new StreamResult (sw);
    DOMSource source = new DOMSource (doc);
    TRANS. Transform (source, result);
    String xmlString = sw.toString ();
    System.out.println (xmlString);
    } catch (Exception e) {}
    make error management
    }
    }
    }

    However, on the Blackberry JDE, many functions is not recognized.

    I saw the class DocumentBuilderFactory (net.rim.device.api.xml.parsers.DocumentBuilderFactory), the DocumentBuilder (net.rim.device.api.xml.parsers.DocumentBuilder) class and the interface of Document in the docs of Blackberry Java (4.2.1).

    So, I'm able to create an XML Document... but I don't know how to convert to a string?

    How can I do this? The TransformerFactory class doesn't seem to exist... and I did not find an alternative yet.

    At the present time, here is the code I use to publish data:

    String coord = lat + ";" + LNG; post data
    con = (HttpConnection) Connector.open (url); Open the connection URL
    con.setRequestMethod (HttpConnection.POST); POST method
    con.setRequestProperty ("Content-Type", "application/x-www-formulaires-urlencoded");
    out = con.openOutputStream (); display the results in a stream
    out. Write (Coord.GetBytes ());

    responseCode = con.getResponseCode (); Send data and receive the response code
    If (responseCode! = HttpConnection.HTTP_OK) {}
    System.out.println ("HTTP STATUS CODE: 404"); error
    } else {}
    System.out.println ("HTTP STATUS CODE: 200"); successful
    }
    If (con! = null) con. Close; close the connection to the URL

    As mentioned, rather than display a string with a delimiter between each value (there will be a lot more than two values finally), I would like to publish an XML.  It will be more "elegant" and easier to parse by my code on the web server.

    Maybe I don't have to convert it to a string?

    In other words, how can I convert my XML Document to send it via the wireless network?

    Thanks for your help!

    TransformerFactory does not exist in the BlackBerry API.  As far as I can tell, you need to implement yourself.  You can do this by walking the DOM and the output of channels.  They have an example of the market of the DOM in the XMLDemo, but they view as fields, you just need to write strings.

  • How to create a process of erasure for sub form of table

    Hello

    I created two applications and they share the same DB schema to apex.oraclecorp.com.

    One is app purchase order, when user enter 'Purchase requisition number' and select ' ERT HW/Item ID: HW/Item Name.

    and click 'apply changes' in the tabular presentation, the other app in 3rd screenshot, automatically updated data with the ID of the item selected with the "purchase requisition number.

    I did it with the following code in the first screenshot.

    I would like to know how to create a delete for this process?

    Does it mean that when I delete one of the item in purchase order app, another application can update the article with this number of requisition (PRM) as null?

    How to specify the item I checked to remove?

    Thank you!

    Alice

    I did itScreen Shot 2015-07-17 at 16.24.22.png

    Screen Shot 2015-07-17 at 16.16.18.png

    Screen Shot 2015-07-17 at 16.18.33.png

    Hi AliceFan-Oracle,

    AliceFan-Oracle wrote:

    I read the thread of the solution you provided. But I think that my case is different.

    I therefore reproduce my apex.com case.

    In the page of the order, I create a process of "Apply change" button, so when you select item ERT ID and press the button 'apply changes', the process will update the column 'PURCHASE_REQUEST_NUMBER' in the table 'ERT_TABLE_ITEM '.

    So it works on the button 'Apply Changes' that hope you that it works and you want to reproduce the same thing for the button 'delete '? as mentioned below:

    So my question is how to create a deletion process, then click on the button Delete, the application of 'buy' in the article ERT Table number must be removed while the selected item with ID ERT point in the purchase order page is deleted?

    Check your Application 81653 - Page 3.

    Made the following changes:

    • Created a process of PL/SQL 'Remove the PRM in ERT_ITEM_TABLE' as follows:
    Declare
    
        j number;
    
    Begin
    
        For  i IN 1 .. apex_application.g_f01.count
        LOOP
            j := apex_application.g_f01(i);
            Update ERT_TABLE_ITEM
            SET    PURCHASE_REQUEST_NUMBER = null
            Where  ERT_ITEM_ID = apex_application.g_f30(j);
    
        END LOOP;
    
    End;
    
    • Subordinate the process of 'Remove the PRM in ERT_ITEM_TABLE' to 'Remove' button request: MULTI_ROW_DELETE
    • Re-sequenced process so that the process of 'Remove the PRM in ERT_ITEM_TABLE' runs before "ApplyMRD".

    Kind regards

    Kiran

  • How to create the ellipse path gradient to PDF using object code

    Hello

    Someone tell me how to create PathGradient ellipse in pdf.i found the way to shadow Rectangle in pathgradient, but the ellipse can't shadow as pathgradient, if you know tell me please,

    Kind regards

    Sasi kumar S.

    Please refer to How to create LInearGradient in pdf format for why this isn't the right forum. Thank you.

  • How can I embed XML data in a PDF file?

    I want to embed XML data in a PDF file if the file can be scanned for data behind the document. Is there a standard way to do this?

    For example, if the PDF file is a bank statement, the embedded XML would be his number and bank account balances. He would not understand the standard text in the statement such as the name of the Bank, etc.

    I read about the XMP specification, but this seems to be more than the document metadata (title, subject, etc.). And it contained are tagged but it's a different view of the entire document.

    ??? -Thanks - dave

    Although the XMP block are stored in XML format, you can just embed any XML file. The block must follow the standard, which means that each data packet must be defined in a schema - as the name suggests, XMP is extensible, you can set the new scheme for local use, but you can't mess with standard seals and add random new tags. The schema itself is not embedded in the file, it is referenced by a unique ID number and URI. of course have a lot of data in a custom schema does not mean that any software will see it - advanced search of Acrobat can be said to sweep the XMP block, but the search engines only tend to bother with tags such as "title" and "description".

    To see what is currently in a PDF file, open Document properties > Description > additional metadata > advanced.

    You can save the current XMP block in a text (.xmp extension) file and replace/add other files XMP. If you click on the 'i' icon in the upper right corner of the Advanced dialog box, you can access the system profiles - these can be created in other applications such as the bridge, but there is no Manager profile in Acrobat itself.

    For more technical information on the use of XMP and creating new schema, see http://www.adobe.com/devnet/xmp.html

    Note that the XMP SDK for CS6 does not work in the Acrobat family.

  • How can I insert instructions/text in a PDF form text field that can be typed by the end user?

    How can I insert instructions/text into a text form field that can be typed by the end user? As the screenshot attached.

    I already have a PDF (not created by me) I have to edit but cannot work out how to enter into new fields of text instructions, I create. I tried to do in InDesign, but the text gets just covered by the blue shape box when you view the final PDF file.

    Screen Shot 2015-08-07 at 10.53.10.png

    Follow the instructions as default value for the field and then reset the form.

    See also: is there a way to add instructional text to my text field that disappears when you click on? (PDF Forms)

  • How do I enter data into an existing PDF form

    I met many forms of pdf, which seem to have been created for the field of data entry. Even when you press tab, it will go to the next field, however, it will not let you enter data. Is there an Adobe software that allows you to convert this type of pdf form?

    All the fields have been defined as ReadOnly... .then they carry a tab stop, but the user cannot interact with the efields th. Open the form in the designer. Click one of the fields, and then open the Palette of the object. On the value tab you will see the Type as the value of ReadOnly. Change this to the user entered as an option. Repeat for each field.

    Paul

  • How to create a Json structure programmatically in Qt

    Hi all

    I know to parse a json structure, but not vice versa.

    This is the structure that I need to create.

    {'3': ['Num accounts', '1'], '2': ['Version', '1'], '1': ["OS, BB10", '10.2.1.0'], '4': ['Local', 'en_US']}

    Can someone tell me how do in a standard way.

    Look here

    https://developer.BlackBerry.com/native/reference/Cascades/bb__data__jsondataaccess.html#function-SA...

    QByteArray buffer;
    JsonDataAccess jda;
    jda.saveToBuffer(QVariant(map), &buffer);qDebug() << buffer;
    
  • How to create flat sequence structure and add Subvi with true or false on an another flat following?

    How can I create next. flat and add a colum with VI and true Sub VI falseSub?

    What should be the flowchart:

  • How to create my own structure or model in a swatch or filling?

    For example. I want to shoot with a tread in wool and sometimes to change the colors to this tread. Or I would add the fabric structure to some of my fashion designs. I can take a picture and make my own structure/swatch/fill?

    Build your own - it's what I wanted.

    This is just a small part of the template help files:

    Illustrator help | Create and modify templates

  • OSMF: How to create string XML resources

    Hello

    I have a URL that returns a valid playmanifest.f4m sometimes and sometimes an image string my URL of media.

    On my loadComplete Manager I would like to create the resource appropriate according to the returned data.

    If the data is a URL, I just create a StreamingURLResource and create the media item.

    Is it possible for me to create a resource that contains the XML code? I noticed OSMF has StreamingXMLResource but its excluded, and it doesn't look like it can meet my use case.

    Do you have any suggestions?

    Thank you

    Michal

    StreamingXMLResource is the way to go if you want to create the f4m yourself.

    Please consider the fact that you will not be able to use relative paths.

    S.

  • How to create the xml file in oracle plsql

    Hello

    I need the under xml (abc.xml) in unix Server out_directory file (the out_directory path: / u01/apps/xml /)

    Select sivauser, sivapwd from sivainformations;-it will be multiple records

    Select sivatelepone phone; - it will be multiple records

    Select xyzverion versionid; - it will be multiple records

    based on the above information, I need the sub file xml using oracle plsql procedure or a block

    example: suppose we record

    <? XML version = "1.0" encoding = "UTF-8"? >
    "< sivaService version ="2.0"xmlns ="http://www.siva.ab/siva/4.0/test">."
    < data language 'DEU' = >
    < sivauser action = "siva3" sivapwd = "siva123" > --i need to sivainformations table(sivauser,sivapwd) timeline
    phone < sivatelepone > < / sivatelepone >--i need to chronogram sivatelepone table (phone) based on the sivauser column
    < abcversion version = "1.0" >
    < Productinfo >
    versionID < xyzverion > < / xyzverion >--i need to xyzverion (versionid) based on the sivauser column table records
    < / Productinfo >
    < / abcversion >
    < / action >
    < / data >
    < / sivaService >


    example: assume that multiple records

    <? XML version = "1.0" encoding = "UTF-8"? >
    "< sivaService version ="2.0"xmlns ="http://www.siva.ab/siva/4.0/test>
    < data language 'DEU' = >
    < sivauser action = "siva3" sivapwd = "siva123" > --i need to sivainformations table(sivauser,sivapwd) timeline
    < sivatelepone > '345678' < / sivatelepone >--i need to chronogram sivatelepone table (phone) based on the sivauser column
    < abcversion version = "1.0" >
    < Productinfo >
    '1.1' < xyzverion > < / xyzverion >--i need to xyzverion (versionid) based on the sivauser column table records
    < / Productinfo >
    < / abcversion >
    < / action >

    < sivauser action = "siva4" sivapwd = "siva123" > --i need to sivainformations table(sivauser,sivapwd) timeline
    < sivatelepone > '123456' < / sivatelepone >--i need to chronogram sivatelepone table (phone) based on the sivauser column
    < abcversion version = "1.0" >
    < Productinfo >
    "1.2" < xyzverion > < / xyzverion >--i need to xyzverion (versionid) based on the sivauser column table records
    < / Productinfo >
    < / abcversion >
    < / action >
    < / data >
    < / sivaService >

    Please help me

    Thank you
    Siva

    I added a column ID to match the lines between the three tables.

    SQL> with sivainformations
      2  as
      3  (
      4     select 1 id, 'karthick' sivauser, 'karthick' sivapwd from dual union all
      5     select 2 id, 'ram', 'ram' from dual
      6  )
      7  , sivatelepone
      8  as
      9  (
     10     select 1 id, 1234567890 telepone from dual union all
     11     select 2 id, 1234512345 from dual
     12  )
     13  , versionid
     14  as
     15  (
     16     select 1 id, 1.1 versionid from dual union all
     17     select 2, 1.2 from dual
     18  )
     19  select xmlelement
     20         (
     21             "shivaService"
     22           , xmlattributes('2.0' as "version", 'http://www.siva.ab/siva/4.0/test' as "xmlns")
     23           , xmlelement
     24             (
     25                 "Data"
     26               , xmlattributes('DEU' as "language")
     27               , xmlagg
     28                 (
     29                     xmlelement
     30                     (
     31                          "Action"
     32                        , xmlattributes(s.sivauser as "sivauser", s.sivapwd as "sivapwd")
     33                        , xmlelement("shivatelepone", t.telepone)
     34                        , xmlelement
     35                          (
     36                              "abcversion"
     37                            , xmlattributes('1.0' as "version")
     38                            , xmlelement
     39                              (
     40                                   "ProductInfo"
     41                                 , xmlelement("xyzversion", v.versionid)
     42                              )
     43                          )
     44                      )
     45                 )
     46             )
     47         ).EXTRACT('*') xml_output
     48    from sivainformations s
     49    join sivatelepone t
     50      on s.id = t.id
     51    join versionid v
     52      on s.id = v.id;
    
    XML_OUTPUT
    -------------------------------------------------------------------------------------------------------------------
    
      
        
          1234567890
          
            
              1.1
            
          
        
        
          1234512345
          
            
              1.2
            
          
        
      
    
    
    SQL>
    

Maybe you are looking for

  • FaceTime works only not in macOS Sierra

    After the upgrade to Sierra, FaceTime has stopped working. It gives me this message during signon "an error occurred during activation. Try again. ' Messages works perfectly well. Everyone knows about this problem?

  • Change Windows XP from French to English Compaq mini 110 PC laptop

    My laptop OS is French and I want to reinstall it in English. I have the product key and have tried using "winnt32" but it says "disk error" when I try to choose the English option. This laptop was given to my daughter because the original owner coul

  • DV6 pavilion fn f2 - f3 brightness shortcuts keyboard no longer work after the formatting

    Hello Since my laptop (dv6 pavilion 7090el) had to be formatted for another copy of windows 7 (64-bit), I can't make the keyboard shortcuts for brightness(f2-f3) /volume(f9-f10). I tried to uninstall/install/software of HP Quick Launch (with all the

  • How can I do a program run at windows startup

    Hello I'm not asking the msconfig Startup tab option, but asking to run a home program to load at startup of Windows XP instead of its default Shell Explorer.exe. (This registry key is placed in the variable Shell REG_SZ to: HKEY_LOCAL_MACHINE\Softwa

  • the HP mini 1000 CNU9162V02 bios error code

    My sister gave me a hp mini 1000 computer but it has a bios password and we don't know what is the password, bios error code is CNU9162V02 ive searched high and low for a solution, can someone please, if you know the correct for this error code, plll