IT Staff

Blog về chuyên ngành IT

[ C# ] Working with xml data

leave a comment »

We assume our datas were saved in an xml file which’s  structure:

Normal
0

false
false
false

EN-US
X-NONE
X-NONE

MicrosoftInternetExplorer4

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:”Table Normal”;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:””;
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:”Calibri”,”sans-serif”;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:”Times New Roman”;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:”Times New Roman”;
mso-bidi-theme-font:minor-bidi;}

<Lizenz>

  <KundePC>178BFBFF00100F62</KundePC>

  <CustomerName>abc</CustomerName>

  <SteuerAnzahl>1234</SteuerAnzahl>

  <DatumAktiv>2012-03-21T15:25:37</DatumAktiv>

  <DatumSchaffenSchlüssel>2012-07-23T15:25:37</DatumSchaffenSchlüssel>

  <Schlüssel>btahe53e-d345-4ahb-qfgy-34hsdry45sj2</Schlüssel>

  <LizenzTyp>MA</LizenzTyp>

  <SoftwareName>Minze Buchhaltung Lite</SoftwareName>

  <Begrenzen>360</Begrenzen>

  <MengeMaschine>1</MengeMaschine>

  <MengeBenutzer>0</MengeBenutzer>

  <MengeDatenbank>1</MengeDatenbank>

  <ListeFunktions>

    <Funktion>

      <Code>C81B7A6</Code>

      <Menge>0</Menge>

    </Funktion>

    <Funktion>

      <Code>AE043575</Code>

      <Menge>0</Menge>

    </Funktion>

    <Funktion>

      <Code>195557BF</Code>

      <Menge>0</Menge>

    </Funktion>

    <Funktion>

      <Code>F9379464</Code>

      <Menge>0</Menge>

    </Funktion>

    <Funktion>

      <Code>ECE17193</Code>

      <Menge>30</Menge>

    </Funktion>

    <Funktion>

      <Code>F2CB383A</Code>

      <Menge>50</Menge>

    </Funktion>

    <Funktion>

      <Code>2A13879C</Code>

      <Menge>0</Menge>

    </Funktion>

  </ListeFunktions>

  <AktivSchlüssel>+u6nduytuyl/V0rgyutuy765gfyhry4jRG4Od5i/uBuyt65756L7DA47qWgweahwMuw</AktivSchlüssel>

</Lizenz>

Normal
0

false
false
false

EN-US
X-NONE
X-NONE

MicrosoftInternetExplorer4

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:”Table Normal”;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:””;
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:”Calibri”,”sans-serif”;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:”Times New Roman”;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:”Times New Roman”;
mso-bidi-theme-font:minor-bidi;}

<Lizenz>

  <KundePC>178BFBFF00100F62</KundePC>

  <CustomerName>abc</CustomerName>

  <SteuerAnzahl>1234</SteuerAnzahl>

  <DatumAktiv>2012-03-21T15:25:37</DatumAktiv>

  <DatumSchaffenSchlüssel>2012-07-23T15:25:37</DatumSchaffenSchlüssel>

  <Schlüssel>btahe53e-d345-4ahb-qfgy-34hsdry45sj2</Schlüssel>

  <LizenzTyp>MA</LizenzTyp>

  <SoftwareName>Minze Buchhaltung Lite</SoftwareName>

  <Begrenzen>360</Begrenzen>

  <MengeMaschine>1</MengeMaschine>

  <MengeBenutzer>0</MengeBenutzer>

  <MengeDatenbank>1</MengeDatenbank>

  <ListeFunktions>

    <Funktion>

      <Code>C81B7A6</Code>

      <Menge>0</Menge>

    </Funktion>

    <Funktion>

      <Code>AE043575</Code>

      <Menge>0</Menge>

    </Funktion>

    <Funktion>

      <Code>195557BF</Code>

      <Menge>0</Menge>

    </Funktion>

    <Funktion>

      <Code>F9379464</Code>

      <Menge>0</Menge>

    </Funktion>

    <Funktion>

      <Code>ECE17193</Code>

      <Menge>30</Menge>

    </Funktion>

    <Funktion>

      <Code>F2CB383A</Code>

      <Menge>50</Menge>

    </Funktion>

    <Funktion>

      <Code>2A13879C</Code>

      <Menge>0</Menge>

    </Funktion>

  </ListeFunktions>

  <AktivSchlüssel>+u6nduytuyl/V0rgyutuy765gfyhry4jRG4Od5i/uBuyt65756L7DA47qWgweahwMuw</AktivSchlüssel>

</Lizenz>

Written by Xavier

Tháng Tám 3, 2013 lúc 9:47 sáng

Posted in Staff

Gửi phản hồi

Mời bạn điền thông tin vào ô dưới đây hoặc kích vào một biểu tượng để đăng nhập:

WordPress.com Logo

Bạn đang bình luận bằng tài khoản WordPress.com Log Out / Thay đổi )

Twitter picture

Bạn đang bình luận bằng tài khoản Twitter Log Out / Thay đổi )

Facebook photo

Bạn đang bình luận bằng tài khoản Facebook Log Out / Thay đổi )

Google+ photo

Bạn đang bình luận bằng tài khoản Google+ Log Out / Thay đổi )

Connecting to %s

%d bloggers like this: