Thema Datum  Von Nutzer Rating
Antwort
Rot Werte aus XML-Dateien in Excel 2010 einlesen
03.10.2014 15:19:34 Jan
NotSolved

Ansicht des Beitrags:
Von:
Jan
Datum:
03.10.2014 15:19:34
Views:
1187
Rating: Antwort:
  Ja
Thema:
Werte aus XML-Dateien in Excel 2010 einlesen

Hallo liebe Profis,

da ich mich leider gar nicht mit VBA auskenne, benötige ich Hilfe, um eine Vielzahl an Informationen aus diversen XML-Dateien herauszulesen. Es geht dabei um Ökobilanzwerte, die in den genannten Dateien enthalten sind und möglichst in einer Excel Tabelle zusammengefasst werden sollen. Hier zunächst ein Beispiel für die XML:

<?xml version="1.0" encoding="utf-8"?>

<?xml-stylesheet version="1.0" href="../../stylesheets/epd2html.xsl" type="text/xsl"?>

<processDataSet xmlns="http://lca.jrc.it/ILCD/Process" xmlns:common="http://lca.jrc.it/ILCD/Common" xmlns:epd="http://www.pe-international.com/EPD/2007" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://lca.jrc.it/ILCD/Process ../../schemas/ILCD_ProcessDataSet.xsd" locations="../ILCDLocations.xml" version="1.1">

  <processInformation>

    <dataSetInformation>

      <common:UUID>ce48b0d6-28b1-412b-acce-28c97f6aa26a</common:UUID>

      <name>

        <baseName xml:lang="de">1.1.01 Zement (Durchschnitt)</baseName>

      </name>

      <classificationInformation>

        <common:classification name="GaBiCategories" classes="../GaBiCategories.xml">

          <common:class level="0" classId="3d3395e4-d537-4464-873f-f0c1b5a72782">Bauindustrie</common:class>

          <common:class level="1" classId="d2199e2b-242d-4b08-8fb3-668366739fdf">Mineralische Baustoffe</common:class>

          <common:class level="2" classId="7227635b-74d5-4742-a9df-63f5d5b416c2">Bindemittel</common:class>

          <common:class level="3" classId="412ee752-fb51-4b99-9492-bd925aad96f5">1.1.1 Zement</common:class>

        </common:classification>

      </classificationInformation>

    </dataSetInformation>

    <quantitativeReference type="Reference flow(s)">

      <referenceToReferenceFlow>72</referenceToReferenceFlow>

    </quantitativeReference>

    <time>

      <common:referenceYear>2006</common:referenceYear>

      <common:dataSetValidUntil>2011</common:dataSetValidUntil>

      <common:timeRepresentativenessDescription xml:lang="de">J√§hrlicher Durchschnitt</common:timeRepresentativenessDescription>

    </time>

    <geography>

      <locationOfOperationSupplyOrProduction location="DE"/>

    </geography>

    <technology>

      <technologyDescriptionAndIncludedProcesses xml:lang="de">Zement ist ein hydraulisches Bindemittel, d. h. ein fein gemahlener anorganischer Stoff, der, mit Wasser gemischt, Zementleim ergibt, welcher durch Hydratation erstarrt und erh√§rtet und nach dem Erh√§rten auch unter Wasser fest und raumbest√§ndig bleibt. Zement nach EN 197-1 muss bei entsprechender Dosierung und nach entsprechendem Mischen mit Gesteinsk√∂rnungen und Wasser Beton oder M√∂rtel ergeben, der ausreichend lang verarbeitbar sein muss, nach einer bestimmten Zeitraum ein festgelegtes Festigkeitsniveau erreicht und langfristig raumbest√§ndig sein muss.

Die Lebenszyklusanalyse des Zements umfasst die Lebenswegabschnitte "cradle to gate", d. h. die Herstellung von Roh- und Brennstoffen sind ebenso berücksichtigt, wie die Zementherstellung. Sekundärbrennstoffe gehen ohne Umweltlast in das System ein. Die Transportvorgänge sind berücksichtigt. Die Systemgrenze bildet das versandfertige lose Produkt. Transporte zur Weiterverarbeitung sind nicht berücksichtigt und müssen bei erweiterten Systembetrachtungen eingerechnet werden.</technologyDescriptionAndIncludedProcesses>

      <technologicalApplicability xml:lang="de">Hydraulisches Bindemittel</technologicalApplicability>

    </technology>

  </processInformation>

  <modellingAndValidation>

    <LCIMethodAndAllocation>

      <typeOfDataSet>EPD</typeOfDataSet>

    </LCIMethodAndAllocation>

    <dataSourcesTreatmentAndRepresentativeness>

      <referenceToDataSource refObjectId="1990fcc8-fcff-494a-854e-505a3f742c88" version="19.00.000" type="source data set" uri="../sources/1990fcc8-fcff-494a-854e-505a3f742c88_19.00.000.xml">

        <common:shortDescription xml:lang="de">GaBi4 Software und Datenbank 2006</common:shortDescription>

      </referenceToDataSource>

      <referenceToDataSource refObjectId="27c6d656-8591-4570-9aeb-fc20b01ac8a4" version="19.00.000" type="source data set" uri="../sources/27c6d656-8591-4570-9aeb-fc20b01ac8a4_19.00.000.xml">

        <common:shortDescription xml:lang="de">Umweltdaten der deutschen Zementindustrie, 2006</common:shortDescription>

      </referenceToDataSource>

      <useAdviceForDataSet xml:lang="de">Das vorliegende Umweltprofil beinhaltet die Aufwendungen f√ºr die Lebenszyklus-Stadien "Cradle to Gate". Es repr√§sentiert Zement durchschnittlicher Zusammensetzung und Festigkeit.

Der vorliegende Datensatz ist bereits mit einem Sicherheitszuschlag von 10% auf die Ergebnisse versehen, da kein unabhängiges Review vorliegt.</useAdviceForDataSet>

    </dataSourcesTreatmentAndRepresentativeness>

    <validation>

      <review type="Dependent internal review">

        <common:referenceToNameOfReviewerAndInstitution refObjectId="302ccdb9-f9a4-46a2-8ffa-596d78b7dbdf" version="19.00.000" type="contact data set" uri="../contacts/302ccdb9-f9a4-46a2-8ffa-596d78b7dbdf_19.00.000.xml">

          <common:shortDescription xml:lang="de">PE INTERNATIONAL</common:shortDescription>

        </common:referenceToNameOfReviewerAndInstitution>

      </review>

    </validation>

  </modellingAndValidation>

  <administrativeInformation>

    <dataEntryBy>

      <common:timeStamp>2011-11-21T15:51:21+01:00</common:timeStamp>

    </dataEntryBy>

    <publicationAndOwnership>

      <common:dateOfLastRevision>2011-11-21T15:51:21+01:00</common:dateOfLastRevision>

      <common:referenceToOwnershipOfDataSet refObjectId="4716ec7d-edfc-4ebb-89b0-a900c3a97f69" version="19.00.000" type="contact data set" uri="../contacts/4716ec7d-edfc-4ebb-89b0-a900c3a97f69_19.00.000.xml">

        <common:shortDescription xml:lang="de">VDZ</common:shortDescription>

      </common:referenceToOwnershipOfDataSet>

      <common:copyright>true</common:copyright>

    </publicationAndOwnership>

  </administrativeInformation>

  <exchanges>

    <exchange dataSetInternalID="72">

      <referenceToFlowDataSet refObjectId="5a57f8d1-b825-43b8-8710-4fbc0c054d14" version="19.00.000" type="flow data set" uri="../flows/5a57f8d1-b825-43b8-8710-4fbc0c054d14_19.00.000.xml">

        <common:shortDescription xml:lang="de">Zement</common:shortDescription>

      </referenceToFlowDataSet>

    </exchange>

  </exchanges>

  <common:other>

    <epd:EPD>

      <epd:referenceFlowAmount>1</epd:referenceFlowAmount>

      <epd:LCIIndicators>

        <epd:indicator id="0">

          <epd:referenceToLCIAMethodDataSet uri="../flowproperties/18e9d9a2-67f0-4839-9a01-c622ee8531f4_19.00.000.xml" type="flow property data set">

            <common:shortDescription xml:lang="de">Prim√§renergie nicht regenerierbar</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Input</epd:exchangeDirection>

          <epd:totalAmount>2.98436032270909</epd:totalAmount>

          <epd:parts>

            <epd:part fraction="43.934" name="Braunkohle" id="0"/>

            <epd:part fraction="22.772" name="Steinkohle" id="1"/>

            <epd:part fraction="5.227" name="Erdgas" id="2"/>

            <epd:part fraction="10.399" name="Erd√∂l" id="3"/>

            <epd:part fraction="17.669" name="Uran" id="4"/>

          </epd:parts>

          <epd:referenceToUnitGroupDataSet refObjectId="93a60a57-a3c8-11da-a746-0800200c9a66" version="02.00.000" type="unit group data set" uri="../unitgroups/93a60a57-a3c8-11da-a746-0800200c9a66_02.00.000.xml">

            <common:shortDescription xml:lang="de">MJ</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

        <epd:indicator id="1">

          <epd:referenceToLCIAMethodDataSet uri="../flowproperties/bb68940b-c0f3-4240-b4cc-5efdac22c6d7_19.00.000.xml" type="flow property data set">

            <common:shortDescription xml:lang="de">Prim√§renergie regenerierbar</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Input</epd:exchangeDirection>

          <epd:totalAmount>0.0577555093786</epd:totalAmount>

          <epd:parts>

            <epd:part fraction="50.599" name="Wasserkraft" id="0"/>

            <epd:part fraction="46.853" name="Windkraft" id="1"/>

            <epd:part fraction="2.548" name="Sonnennutzung (Solarenergie)" id="2"/>

            <epd:part fraction="0.000" name="Sonnennutzung (Biomasse)" id="3"/>

          </epd:parts>

          <epd:referenceToUnitGroupDataSet refObjectId="93a60a57-a3c8-11da-a746-0800200c9a66" version="02.00.000" type="unit group data set" uri="../unitgroups/93a60a57-a3c8-11da-a746-0800200c9a66_02.00.000.xml">

            <common:shortDescription xml:lang="de">MJ</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

        <epd:indicator id="2">

          <epd:referenceToLCIAMethodDataSet refObjectId="3288a7a5-f382-442f-9e03-d11f532da7bb" version="19.00.000" type="flow property data set" uri="../flowproperties/3288a7a5-f382-442f-9e03-d11f532da7bb_19.00.000.xml">

            <common:shortDescription xml:lang="de">Sekund√§rbrennstoffe</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Input</epd:exchangeDirection>

          <epd:totalAmount>1.483557768</epd:totalAmount>

          <epd:referenceToUnitGroupDataSet refObjectId="93a60a57-a3c8-11da-a746-0800200c9a66" version="02.00.000" type="unit group data set" uri="../unitgroups/93a60a57-a3c8-11da-a746-0800200c9a66_02.00.000.xml">

            <common:shortDescription xml:lang="de">MJ</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

        <epd:indicator id="3">

          <epd:referenceToLCIAMethodDataSet refObjectId="a4247a3b-67b1-417f-bb31-ee85e3be4337" version="19.00.000" type="flow property data set" uri="../flowproperties/a4247a3b-67b1-417f-bb31-ee85e3be4337_19.00.000.xml">

            <common:shortDescription xml:lang="de">Wassernutzung</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Input</epd:exchangeDirection>

          <epd:totalAmount>3.3770605408111</epd:totalAmount>

          <epd:referenceToUnitGroupDataSet refObjectId="ad38d542-3fe9-439d-9b95-2f5f7752acaf" version="19.00.000" type="unit group data set" uri="../unitgroups/ad38d542-3fe9-439d-9b95-2f5f7752acaf_19.00.000.xml">

            <common:shortDescription xml:lang="de">kg</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

        <epd:indicator id="4">

          <epd:referenceToLCIAMethodDataSet refObjectId="7296b6cb-5041-47be-a7a7-36b26075cf54" version="19.00.000" type="flow property data set" uri="../flowproperties/7296b6cb-5041-47be-a7a7-36b26075cf54_19.00.000.xml">

            <common:shortDescription xml:lang="de">Abraum und Erzaufbereitungsr√ºckst√§nde</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Output</epd:exchangeDirection>

          <epd:totalAmount>1.3043116776811</epd:totalAmount>

          <epd:referenceToUnitGroupDataSet refObjectId="ad38d542-3fe9-439d-9b95-2f5f7752acaf" version="19.00.000" type="unit group data set" uri="../unitgroups/ad38d542-3fe9-439d-9b95-2f5f7752acaf_19.00.000.xml">

            <common:shortDescription xml:lang="de">kg</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

        <epd:indicator id="5">

          <epd:referenceToLCIAMethodDataSet refObjectId="493051da-0172-4ccf-86ca-fed61cbe0ee9" version="19.00.000" type="flow property data set" uri="../flowproperties/493051da-0172-4ccf-86ca-fed61cbe0ee9_19.00.000.xml">

            <common:shortDescription xml:lang="de">Hausm√ºll und Gewerbeabf√§lle</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Output</epd:exchangeDirection>

          <epd:totalAmount>1.118519424E-5</epd:totalAmount>

          <epd:referenceToUnitGroupDataSet refObjectId="ad38d542-3fe9-439d-9b95-2f5f7752acaf" version="19.00.000" type="unit group data set" uri="../unitgroups/ad38d542-3fe9-439d-9b95-2f5f7752acaf_19.00.000.xml">

            <common:shortDescription xml:lang="de">kg</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

        <epd:indicator id="6">

          <epd:referenceToLCIAMethodDataSet refObjectId="854ce907-9eda-42cb-b1b6-892cafdb44fa" version="19.00.000" type="flow property data set" uri="../flowproperties/854ce907-9eda-42cb-b1b6-892cafdb44fa_19.00.000.xml">

            <common:shortDescription xml:lang="de">Sonderabf√§lle</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Output</epd:exchangeDirection>

          <epd:totalAmount>0.00050435524337</epd:totalAmount>

          <epd:referenceToUnitGroupDataSet refObjectId="ad38d542-3fe9-439d-9b95-2f5f7752acaf" version="19.00.000" type="unit group data set" uri="../unitgroups/ad38d542-3fe9-439d-9b95-2f5f7752acaf_19.00.000.xml">

            <common:shortDescription xml:lang="de">kg</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

      </epd:LCIIndicators>

      <epd:LCIAIndicators>

        <epd:indicator id="13">

          <epd:referenceToLCIAMethodDataSet refObjectId="28eab4b4-6e7d-417b-b257-d13d438736b4" version="19.00.000" type="flow property data set" uri="../flowproperties/28eab4b4-6e7d-417b-b257-d13d438736b4_19.00.000.xml">

            <common:shortDescription xml:lang="de">Abiotischer Ressourcenverbrauch (ADP)</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Input</epd:exchangeDirection>

          <epd:totalAmount>0.00118454307979433</epd:totalAmount>

          <epd:referenceToUnitGroupDataSet refObjectId="54ccd2d9-a32a-4fc2-923d-f2c8c93e89d4" version="19.00.000" type="unit group data set" uri="../unitgroups/54ccd2d9-a32a-4fc2-923d-f2c8c93e89d4_19.00.000.xml">

            <common:shortDescription xml:lang="de">kg Sb-√Ñqv.</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

        <epd:indicator id="14">

          <epd:referenceToLCIAMethodDataSet refObjectId="deb90f12-0e1c-4675-9585-bbc8275f8861" version="19.00.000" type="flow property data set" uri="../flowproperties/deb90f12-0e1c-4675-9585-bbc8275f8861_19.00.000.xml">

            <common:shortDescription xml:lang="de">Eutrophierungspotential (EP)</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Output</epd:exchangeDirection>

          <epd:totalAmount>0.000135300789337036</epd:totalAmount>

          <epd:referenceToUnitGroupDataSet refObjectId="67b5401d-873c-485f-bcf3-6ae83b918822" version="19.00.000" type="unit group data set" uri="../unitgroups/67b5401d-873c-485f-bcf3-6ae83b918822_19.00.000.xml">

            <common:shortDescription xml:lang="de">kg Phosphat-√Ñqv.</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

        <epd:indicator id="15">

          <epd:referenceToLCIAMethodDataSet refObjectId="4669fafa-d66b-4f8a-a420-326351adff6b" version="19.00.000" type="flow property data set" uri="../flowproperties/4669fafa-d66b-4f8a-a420-326351adff6b_19.00.000.xml">

            <common:shortDescription xml:lang="de">Ozonabbaupotential (ODP)</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Output</epd:exchangeDirection>

          <epd:totalAmount>1.7909364E-8</epd:totalAmount>

          <epd:referenceToUnitGroupDataSet refObjectId="88054749-b0a6-47ea-a82b-dc5b29326512" version="19.00.000" type="unit group data set" uri="../unitgroups/88054749-b0a6-47ea-a82b-dc5b29326512_19.00.000.xml">

            <common:shortDescription xml:lang="de">kg R11-√Ñqv.</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

        <epd:indicator id="16">

          <epd:referenceToLCIAMethodDataSet refObjectId="a611e707-d5b2-4d78-bbfe-82fbd4708bca" version="19.00.000" type="flow property data set" uri="../flowproperties/a611e707-d5b2-4d78-bbfe-82fbd4708bca_19.00.000.xml">

            <common:shortDescription xml:lang="de">Photochem. Oxidantienbildungspot. (POCP)</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Output</epd:exchangeDirection>

          <epd:totalAmount>0.000112225490695244</epd:totalAmount>

          <epd:referenceToUnitGroupDataSet refObjectId="01c26c17-9a76-406e-8295-f17b55fd909e" version="19.00.000" type="unit group data set" uri="../unitgroups/01c26c17-9a76-406e-8295-f17b55fd909e_19.00.000.xml">

            <common:shortDescription xml:lang="de">kg Ethen-√Ñqv.</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

        <epd:indicator id="17">

          <epd:referenceToLCIAMethodDataSet refObjectId="d98f9256-448d-4e11-b934-b1abce37f667" version="19.00.000" type="flow property data set" uri="../flowproperties/d98f9256-448d-4e11-b934-b1abce37f667_19.00.000.xml">

            <common:shortDescription xml:lang="de">Treibhauspotential (GWP 100)</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Output</epd:exchangeDirection>

          <epd:totalAmount>0.73782641675248</epd:totalAmount>

          <epd:referenceToUnitGroupDataSet refObjectId="1ebf3012-d0db-4de2-aefd-ef30cedb0be1" version="19.00.000" type="unit group data set" uri="../unitgroups/1ebf3012-d0db-4de2-aefd-ef30cedb0be1_19.00.000.xml">

            <common:shortDescription xml:lang="de">kg CO2-√Ñqv.</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

        <epd:indicator id="18">

          <epd:referenceToLCIAMethodDataSet refObjectId="54801a89-5657-401d-8c19-150bac09894a" version="19.00.000" type="flow property data set" uri="../flowproperties/54801a89-5657-401d-8c19-150bac09894a_19.00.000.xml">

            <common:shortDescription xml:lang="de">Versauerungspotential (AP)</common:shortDescription>

          </epd:referenceToLCIAMethodDataSet>

          <epd:exchangeDirection>Output</epd:exchangeDirection>

          <epd:totalAmount>0.00101639337054009</epd:totalAmount>

          <epd:referenceToUnitGroupDataSet refObjectId="bc50c624-a9bc-45b1-a9b0-e6b10d00476f" version="19.00.000" type="unit group data set" uri="../unitgroups/bc50c624-a9bc-45b1-a9b0-e6b10d00476f_19.00.000.xml">

            <common:shortDescription xml:lang="de">kg SO2-√Ñqv.</common:shortDescription>

          </epd:referenceToUnitGroupDataSet>

        </epd:indicator>

      </epd:LCIAIndicators>

    </epd:EPD>

  </common:other>

</processDataSet>

Für mich sind folgende Felder wichtig:

Menge, Referenzfluss und 

         
  Eutrophierungspotential (EP) Output 1,95E-5 kg Phosphat-Äqv.  
  Ozonabbaupotential (ODP) Output 1,12E-10 kg R11-Äqv.  
  Photochem. Oxidantienbildungspot. (POCP) Output 3,08E-5 kg Ethen-Äqv.  
  Treibhauspotential (GWP 100) Output 0,0857 kg CO2-Äqv.  
  Versauerungspotential (AP) Output 0,000466 kg SO2-Äqv.

Kann mir hier vielelicht jemand weiterhelfen, bzw. ist so etwas für einen Laien überhaupt umsetzbar? Die Alternative wäre nämlich alle Werte per Hand raszukopieren.

Ich würde mich sehr über Rückmeldungen freuen.


Ihre Antwort
  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen
Thema: Name: Email:



  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen

Thema Datum  Von Nutzer Rating
Antwort
Rot Werte aus XML-Dateien in Excel 2010 einlesen
03.10.2014 15:19:34 Jan
NotSolved