AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

[S] XML Lib

Ein Thema von tail · begonnen am 4. Mär 2006 · letzter Beitrag vom 5. Mär 2006
Antwort Antwort
tail

Registriert seit: 2. Jun 2005
89 Beiträge
 
#1

[S] XML Lib

  Alt 4. Mär 2006, 23:12
Kann mir einer ne XML Lib für Delphi 2005 PE empfehlen? Und es wäre nett, wenn ihr auch schreibt, wie ich sie installiere, habe lange nichts mehr mit Delphi gemacht, und habs vergessen
mfg tail
  Mit Zitat antworten Zitat
Benutzerbild von Pr0g
Pr0g

Registriert seit: 21. Mai 2004
809 Beiträge
 
Delphi 7 Personal
 
#2

Re: [S] XML Lib

  Alt 4. Mär 2006, 23:35
Ich empfehle die XML Lib von Muetze1
  Mit Zitat antworten Zitat
tail

Registriert seit: 2. Jun 2005
89 Beiträge
 
#3

Re: [S] XML Lib

  Alt 5. Mär 2006, 14:29
Zitat von Pr0g:
Ich empfehle die XML Lib von Muetze1
thx, die gefällt mir gut. kannste mir nachmal helfen?

xml datei:
XML-Code:
<?xml version="1.0" ?>
<lol>
<s1>
<code>die</code>
<name>lol</name>
</s1>
<s2>
<code>das</code>
<name>der</name>
</s2>
</lot>
jetzt möchte ich code oder name aus s1 wissen? wie geht das? und wie kann ich zählen, wie oft es sX (x=irgenteine Zahl) gibt?

[edit=sakura] [xml]-Tags Mfg, sakura[/edit]
mfg tail
  Mit Zitat antworten Zitat
Muetze1
(Gast)

n/a Beiträge
 
#4

Re: [S] XML Lib

  Alt 5. Mär 2006, 15:18
Delphi-Quellcode:
Var
  lSubNode: TXMLNode;
Begin
  lSubNode := xmllib.rootnode.GetNode('s1.code', nhReturnNil);
  If Assigned(lSubNode) Then
    ShowMessage(lSubNode.Value.AsString);

  lSubNode := xmllib.rootnode.GetNode('s1.name', nhReturnNil);
  If Assigned(lSubNode) Then
    ShowMessage(lSubNode.Value.AsString);
End;
  Mit Zitat antworten Zitat
tail

Registriert seit: 2. Jun 2005
89 Beiträge
 
#5

Re: [S] XML Lib

  Alt 5. Mär 2006, 16:15
Thx, funktioniert
mfg tail
  Mit Zitat antworten Zitat
Muetze1
(Gast)

n/a Beiträge
 
#6

Re: [S] XML Lib

  Alt 5. Mär 2006, 17:10
Zitat von tail:
Thx, funktioniert
Alles andere hätte mich auch gewundert...
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:48 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz