_
toggle menu eXmatrikulationsamt.de
online: 361 gäste

> [WEBENV] XML-Datenquelle in PHP/XHTML nur mit ajax oder auch anders?

Themen Layout: Standard · Linear · [Outline] Thema abonnieren | Thema versenden | Thema drucken
post 15 Aug 2006, 11:25

6. Schein
*******

Punkte: 1338
seit: 18.10.2004

Kennt sich jemand damit aus?

Also ich habe ne XML-Datei incl. eigenem DTD - alles selber gecodet, aber will die jetzt in ne Website einbauen, als quasi bzw. Pseudo-Datenbank.

Leider finde ich nirgends wie das geht. Und nein, ich möchte kein XSLT etc. verwenden. Nur XML / PHP + XHTML & CSS.

THX 4 HELP!

keiner nen plan?

oder geht das quasi nur mit ajax ??

>>projects.xml
Zitat
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE projects SYSTEM "projects.dtd">
<projects>
<project>
<name>Discopunk</name>
<bild1>projects/discopunk1.png</bild1>
<bild2>projects/discopunk2.png</bild2>
<desc1>Page coding // xhtml, php, mysql, css</desc1>
<desc2>Layout optimizing // image cutting</desc2>
<desc3>Thanks to: mars.one + dede</desc3>
</project>
<project>
<name>Dope Dj Culture</name>
<bild1>projects/ddc05.png</bild1>
<bild2>projects/ddc06.png</bild2>
<desc1>Content</desc1>
<desc2>Page coding // xhtml, php, css</desc2>
<desc3>Layouting</desc3>
</project>
<project>
<name>Beatcity</name>
<bild1>projects/beatcity1.png</bild1>
<bild2>projects/beatcity2.png</bild2>
<desc1>Idea, concept, promotion, administration</desc1>
<desc2>Page coding // xhtml, css</desc2>
<desc3>Layouting</desc3>
</project>
<project>
<name>Chantals Welt</name>
<bild1>projects/chantal1.png</bild1>
<bild2>projects/chantal2.png</bild2>
<desc1>Page coding // xhtml, css</desc1>
<desc2>Layouting</desc2>
<desc3>thanks to: Annelie Schober</desc3>
</project>
<project>
<name>Foto-Wittmair</name>
<bild1>projects/fowittmair1.png</bild1>
<bild2>projects/fowittmair2.png</bild2>
<desc1>Page coding // html, css</desc1>
<desc2>Layouting</desc2>
<desc3>Thanks to: Mario Ratzel</desc3>
</project>
<project>
<name>Boys can cook</name>
<bild1>projects/boyscancook1.png</bild1>
<bild2>projects/boyscancook2.png</bild2>
<desc1>Idea, concept, maintenance, administration</desc1>
<desc2>Page coding, layout // xhtml, css</desc2>
<desc3>Content</desc3>
</project>
<project>
<name>BNZ . Style</name>
<bild1>projects/bnz1.png</bild1>
<bild2>projects/bnz2.png</bild2>
<desc1>Idea, concept, maintenance, administration</desc1>
<desc2>Page coding, layout // xhtml, css</desc2>
<desc3>Content</desc3>
</project>
<project>
<name>BSZ Floeha RIP</name>
<bild1>projects/bsz1.png</bild1>
<bild2>projects/bsz2.png</bild2>
<desc1>Idea, content, concept, maintenance, administration</desc1>
<desc2>Page coding, layout // xhtml, css</desc2>
<desc3>Thanks to: WG01/U01/WG02</desc3>
</project>
<project>
<name>BlockRockinBeats at Wu-Area</name>
<bild1>projects/brb1.png</bild1>
<bild2>projects/brb2.png</bild2>
<desc1>Idea, concept, maintenance, administration</desc1>
<desc2>Page coding, layout // xhtml, css, php</desc2>
<desc3>Thanks to: Sven, GunJa, Steppenwolle and WU5</desc3>
</project>
</projects>


>>projects.dtd
Zitat
<!ELEMENT projects (project)*>
<!ELEMENT project (name, bild1, bild2, desc1, desc2, desc3)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT bild1 (#PCDATA)>
<!ELEMENT bild2 (#PCDATA)>
<!ELEMENT desc1 (#PCDATA)>
<!ELEMENT desc2 (#PCDATA)>
<!ELEMENT desc3 (#PCDATA)>


jedes project soll in einer html-seite (ausgelesen durch php) angezeigt werden, allerdings dynamisch ..

DANKE und grüße aus berlin =)
ProfilPM
AntwortenZitierenTOP
 
Antworten
post 16 Aug 2006, 00:51
avatar
don't do hiphop
********

Punkte: 1535
seit: 01.10.2003

blahblah.gif
fishing for compliments


p.s.: sorry für spam


--------------------
How up do high-knee

bild kann nicht angezeigt werden
ProfilPM
AntwortenZitierenTOP
post 16 Aug 2006, 01:15
avatar
Ivan
*********

Punkte: 3352
seit: 01.04.2006

Zitat(SidKennedy @ 16 Aug 2006, 00:51)
blahblah.gif
fishing for compliments
p.s.: sorry für spam
*


wirklich toll Sid. Anstatt sich an mir aufzuhängen sage ihm doch wie du es am besten machen würdest. Um so mehr verschiedene Ansätze es gibt um so besser ist es für ihn. Ich versuche nur zu helfen du bist kontraproduktiv.


--------------------
T for Vendetta.

On his way to return to innocence.

"Man, was die uns erzählt hat, kam aus einem Buch, das muss einer geschrieben haben, der keine Ahnung von dem hatte, worüber er sich ausließ."

"Miles, hörst Du den Vogel da draußen? Das ist 'ne Spottdrossel. Sie hat keine eigene Stimme, sie macht nur die Stimmen der anderen nach und das willst du nicht. Wenn du dein eigener Herr sein willst, musst du deine eigene Stimme finden. Darum geht's. Sei also nur du selbst."

An Rezepten für Apfelkuchen mangelt es wahrhaftig nicht auf der Welt

Tenac auf der Suche nach seinem Meister ious D

look into my eyes and its easy to see one and one make two, two and one make three, it was destiny
ProfilPM
AntwortenZitierenTOP
1 Nutzer liest/lesen dieses Thema (1 Gäste)
0 Mitglieder: