babochka
03-30-2005, 06:38 PM
To Life Immortal
Ok, after I fixed the earlier problems and ran the code through IE, I had no errors, but the links do not work.
How do I get the simple, off-line links to work like <a href> in XHTML? I read my book I have and I dont understand the difference between simple links and extended links. Maybe I need a new book; I just ordered some from Amazon, lol
This is now the current code:
<?xml version="1.0" encoding="windows-1252" standalone="yes" ?>
<!--<?xml-stylesheet type="text/css" href="xsgames.css"?>-->
<!--
open the DOCTYPE declaration
the open square bracket indicates an internal DTD
-->
<!DOCTYPE games [
<!--
define the internal DTD
games must contain 1 child element
-->
<!ELEMENT games (text)>
<!--
text must contain 8 child elements in the order listed
-->
<!ELEMENT text (opening+, title, subtitle, gamename+, navilinks+, credits+, footer+, signat+)>
<!--
the elements listed below may only contain text that is not markup
-->
<!ELEMENT opening (#PCDATA)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT subtitle (#PCDATA)>
<!ELEMENT gamename (#PCDATA)>
<!ATTLIST gamename
actuate (AUTO|USER) "USER"
behavior CDATA #IMPLIED
content-role CDATA #IMPLIED
content-title CDATA #IMPLIED
href CDATA #REQUIRED
inline (TRUE|FALSE) "FALSE"
role CDATA #IMPLIED
show (REPLACE|EMBED|NEW) "REPLACE"
title CDATA #IMPLIED
xml-link CDATA #FIXED "SIMPLE">
<!ELEMENT navilinks (#PCDATA)>
<!ATTLIST navilinks
actuate (AUTO|USER) "USER"
behavior CDATA #IMPLIED
content-role CDATA #IMPLIED
content-title CDATA #IMPLIED
href CDATA #REQUIRED
inline (TRUE|FALSE) "FALSE"
role CDATA #IMPLIED
show (REPLACE|EMBED|NEW) "REPLACE"
title CDATA #IMPLIED
xml-link CDATA #FIXED "SIMPLE">
<!ELEMENT credits (#PCDATA)>
<!ELEMENT footer (#PCDATA)>
<!ELEMENT signat (#PCDATA)>
<!--close the DOCTYPE declaration-->
]>
<games>
<text>
<opening>
to life immortal!
</opening>
<opening>
the pascha family presents:
</opening>
<title>
the games we play.
</title>
<subtitle>
yahoo! games list.
</subtitle>
<gamename href="bridge.xml" show="REPLACE" title="contract bridge notes">bridge</gamename>
<gamename href="canasta.xml" show="REPLACE" title="canasta notes">canasta</gamename>
<gamename href="chess.xml" show="REPLACE" title="chess notes">chess</gamename>
<gamename href="dominoes.xml" show="REPLACE" title="dominoes notes">dominoes</gamename>
<gamename href="euchre.xml" show="REPLACE" title="euchre notes">euchre</gamename>
<gamename href="gofish.xml" show="REPLACE" title="go fish notes">go fish</gamename>
<gamename href="literati.xml" show="REPLACE" title="literati notes">literati</gamename>
<gamename href="mahjongg.xml" show="REPLACE" title="mah jongg notes">mah jongg</gamename>
<gamename href="pinochle.xml" show="REPLACE" title="pinochle notes">pinochle</gamename>
<gamename href="sheepshead.xml" show="REPLACE" title="sheepshead notes">sheepshead</gamename>
<gamename href="spades.xml" show="REPLACE" title="spades notes">spades</gamename>
<navilinks href="/~babochka2a/theosis/" title="return to silver websuite index">return to silver websuite index.</navilinks>
<navilinks href="/~babochka2a/" title="return to home page">return to home page.</navilinks>
<credits>
credits.
</credits>
<credits>
The Eternal is One; the Eternal is Within and Beyond All.
</credits>
<credits>
staff & players of ark of the covenant.
</credits>
<credits>
big thanks to alex v. on codingforums.com.
</credits>
<credits>
w3schools xml tutorials.
</credits>
<footer>
footer
</footer>
<footer>
site created tuesday 29 march 2005.
</footer>
<footer>
last updated wednesday 30 march 2005.
</footer>
<footer>
copyright © 2005 xara eleni rose pascha. all rights reserved.
</footer>
<footer>
http://home.earthlink.net/~babochka2a/theosis/games.xml
</footer>
<signat>
blessed be the kingdom of the Father,
& the Son & the Holy Spirit,
now & always, & unto ages of ages.
</signat>
</text>
</games>
Thanks in advance for all your help. I just started learning XML and I really like coding pages. Once I have the code correct, I can work on the CSS.
:)
Peace and Long Life
Babochka
Ok, after I fixed the earlier problems and ran the code through IE, I had no errors, but the links do not work.
How do I get the simple, off-line links to work like <a href> in XHTML? I read my book I have and I dont understand the difference between simple links and extended links. Maybe I need a new book; I just ordered some from Amazon, lol
This is now the current code:
<?xml version="1.0" encoding="windows-1252" standalone="yes" ?>
<!--<?xml-stylesheet type="text/css" href="xsgames.css"?>-->
<!--
open the DOCTYPE declaration
the open square bracket indicates an internal DTD
-->
<!DOCTYPE games [
<!--
define the internal DTD
games must contain 1 child element
-->
<!ELEMENT games (text)>
<!--
text must contain 8 child elements in the order listed
-->
<!ELEMENT text (opening+, title, subtitle, gamename+, navilinks+, credits+, footer+, signat+)>
<!--
the elements listed below may only contain text that is not markup
-->
<!ELEMENT opening (#PCDATA)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT subtitle (#PCDATA)>
<!ELEMENT gamename (#PCDATA)>
<!ATTLIST gamename
actuate (AUTO|USER) "USER"
behavior CDATA #IMPLIED
content-role CDATA #IMPLIED
content-title CDATA #IMPLIED
href CDATA #REQUIRED
inline (TRUE|FALSE) "FALSE"
role CDATA #IMPLIED
show (REPLACE|EMBED|NEW) "REPLACE"
title CDATA #IMPLIED
xml-link CDATA #FIXED "SIMPLE">
<!ELEMENT navilinks (#PCDATA)>
<!ATTLIST navilinks
actuate (AUTO|USER) "USER"
behavior CDATA #IMPLIED
content-role CDATA #IMPLIED
content-title CDATA #IMPLIED
href CDATA #REQUIRED
inline (TRUE|FALSE) "FALSE"
role CDATA #IMPLIED
show (REPLACE|EMBED|NEW) "REPLACE"
title CDATA #IMPLIED
xml-link CDATA #FIXED "SIMPLE">
<!ELEMENT credits (#PCDATA)>
<!ELEMENT footer (#PCDATA)>
<!ELEMENT signat (#PCDATA)>
<!--close the DOCTYPE declaration-->
]>
<games>
<text>
<opening>
to life immortal!
</opening>
<opening>
the pascha family presents:
</opening>
<title>
the games we play.
</title>
<subtitle>
yahoo! games list.
</subtitle>
<gamename href="bridge.xml" show="REPLACE" title="contract bridge notes">bridge</gamename>
<gamename href="canasta.xml" show="REPLACE" title="canasta notes">canasta</gamename>
<gamename href="chess.xml" show="REPLACE" title="chess notes">chess</gamename>
<gamename href="dominoes.xml" show="REPLACE" title="dominoes notes">dominoes</gamename>
<gamename href="euchre.xml" show="REPLACE" title="euchre notes">euchre</gamename>
<gamename href="gofish.xml" show="REPLACE" title="go fish notes">go fish</gamename>
<gamename href="literati.xml" show="REPLACE" title="literati notes">literati</gamename>
<gamename href="mahjongg.xml" show="REPLACE" title="mah jongg notes">mah jongg</gamename>
<gamename href="pinochle.xml" show="REPLACE" title="pinochle notes">pinochle</gamename>
<gamename href="sheepshead.xml" show="REPLACE" title="sheepshead notes">sheepshead</gamename>
<gamename href="spades.xml" show="REPLACE" title="spades notes">spades</gamename>
<navilinks href="/~babochka2a/theosis/" title="return to silver websuite index">return to silver websuite index.</navilinks>
<navilinks href="/~babochka2a/" title="return to home page">return to home page.</navilinks>
<credits>
credits.
</credits>
<credits>
The Eternal is One; the Eternal is Within and Beyond All.
</credits>
<credits>
staff & players of ark of the covenant.
</credits>
<credits>
big thanks to alex v. on codingforums.com.
</credits>
<credits>
w3schools xml tutorials.
</credits>
<footer>
footer
</footer>
<footer>
site created tuesday 29 march 2005.
</footer>
<footer>
last updated wednesday 30 march 2005.
</footer>
<footer>
copyright © 2005 xara eleni rose pascha. all rights reserved.
</footer>
<footer>
http://home.earthlink.net/~babochka2a/theosis/games.xml
</footer>
<signat>
blessed be the kingdom of the Father,
& the Son & the Holy Spirit,
now & always, & unto ages of ages.
</signat>
</text>
</games>
Thanks in advance for all your help. I just started learning XML and I really like coding pages. Once I have the code correct, I can work on the CSS.
:)
Peace and Long Life
Babochka