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>
<!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)>
<!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 =)