AGB  ·  Datenschutz  ·  Impressum  







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

Wann Element <> Attribut ?

Ein Thema von jfheins · begonnen am 21. Nov 2009 · letzter Beitrag vom 21. Nov 2009
Antwort Antwort
Benutzerbild von himitsu
himitsu
Online

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.562 Beiträge
 
Delphi 12 Athens
 
#1

Re: Wann Element <> Attribut ?

  Alt 21. Nov 2009, 22:31
für geile Bilder haben wir doch immer was übrig

ansonsten gibt es tausende Lösungen
XML-Code:
<?xml version="1.0" encoding="utf-8"?>
<graph>
  <subgraph id="0" name="Graph Nr. 0">
    <node id="0" />
    <node id="1" />
    <node id="2" />
    <edge isgraph="false" source_id="0" target_id="1" />
    <edge isgraph="true" source_id="1" target_id="2">
      <subgraph_id>1</subgraph_id>
    </edge>
  </subgraph>
  <subgraph id="1" name="Graph Nr. 1">
    <node id="0" />
    <node id="1" />
    <node id="2" />
    <node id="3" />
    <edge isgraph="false" source_id="0" target_id="1" />
    <edge isgraph="false" source_id="1" target_id="3" />
    <edge isgraph="false" source_id="0" target_id="2" />
    <edge isgraph="false" source_id="2" target_id="3" />
  </subgraph>
</graph>
XML-Code:
<?xml version="1.0" encoding="utf-8"?>
<graph>
  <subgraph id="0" name="Graph Nr. 0">
    <node id="0" />
    <node id="1" />
    <node id="2" />
    <edge isgraph="false" source_id="0" target_id="1" />
    <edge isgraph="true" source_id="1" target_id="2" subgraph_id="1" />
  </subgraph>
  <subgraph id="1" name="Graph Nr. 1">
...
wenn ein subgraph immer nur einem edge zugeordnet ist oder Keinem, dann ginge es auch so
XML-Code:
<?xml version="1.0" encoding="utf-8"?>
<graph>
  <subgraph id="0" name="Graph Nr. 0">
    <node id="0" />
    <node id="1" />
    <node id="2" />
    <edge isgraph="false" source_id="0" target_id="1" />
    <edge isgraph="true" source_id="1" target_id="2">
      <subgraph id="1" name="Graph Nr. 1">
        <node id="0" />
        <node id="1" />
        <node id="2" />
        <node id="3" />
        <edge isgraph="false" source_id="0" target_id="1" />
        <edge isgraph="false" source_id="1" target_id="3" />
        <edge isgraph="false" source_id="0" target_id="2" />
        <edge isgraph="false" source_id="2" target_id="3" />
      </subgraph>
    </edge>
  </subgraph>
</graph>
Wobei man isgraph= doch garnicht benötigt?
Dieses erkennt man ja auch an subgraph_id, bzw. dem untergeordnetem subgraph.
Ein Therapeut entspricht 1024 Gigapeut.
  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 21:02 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz