Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You say you use your XML as a "data-source" thereby using the XML-functionality of Excel (beginning with version 2003).</p> <p>When you open an XML-file in Excel, Excel offers you the option to transform it into a readable form (and giving you the option to automatically infere an XML-schema).</p> <p>Once you have done this, Excel has -- in the background -- 'used' the XML-file (and the implicitly generated XML-schema, but you can use your excisting schema) as an XML-Source.</p> <p><img src="https://i.stack.imgur.com/nhojA.png" alt="Excel 2007 with opened XML-file and XML-source"></p> <p>From now on for Excel the column title can be changed (Excel has an internal way to link sex_of_person from the XML file to the second column of the table). <img src="https://i.stack.imgur.com/OEVlv.png" alt="List with changed column headers"></p> <p>To demonstrate this I have in my example deleted all the lines except one. Note how Excel selects the second row "Sex of person" (<em>without</em> the header) when I choose "sex_of_person" in the XML pane. Now when I click refresh (in my german version: "Daten aktualisieren") Excel reloads the XML file and inserts the values in the corresponding columns. Using "Import" you can even change the XML source (provided that the format stays the same).</p> <p>So from now on I don't open the XML file in Excel (as you possibly have done) but I open this Excel-file that from now on defines the presentation (i.e. links from XML-element to a column) and includes the link to the XML-file.</p> <p>I am not absolutely sure this is what you meant.</p> <p>Regards Andreas</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload