David Dorward wrote:
KL wrote:
I am totally new to XML and confused as heck. I have my xml file
and want one of my elements to be a website. Heck I even named the
element website (I know real original), but I can't make the website
show as a valid hyperlink in my html file. Any suggestions on what
I am missing??
Your message is missing any indication as to how you are trying to
transform your XML into (X)HTML.
I am linking to the XML file in my HTML file:
<html>
<head>
<title>RPG's</title>
</head>
<body>
<xml id="rpg" src="games.xml"></xml>
<table border="10" bordercolordark="#330066" bordercolorlight="#9900FF"
cellpadding="3">
<tr><td colspan="3" align="center" width="825" height="325"><img
id="picture" datasrc="#rpg" datafld="pic"></img></td></tr>
<tr><td colspan="3" align="center"><div id="name" datasrc="#rpg"
datafld="name"></div></td></tr>
<tr><td colspan="3" align="center"><span id="website" datasrc="#rpg"
datafld="website"></span></td></tr>
<tr><td align="center"><div id="character" datasrc="#rpg"
datafld="char"></div></td>
<td align="center"><div id="race" datasrc="#rpg" datafld="race"></div></td>
<td align="center"><div id="job" datasrc="#rpg"
datafld="job"></div></td></tr>
</table>
<br>
<br>
<table border="0">
<tr><td align="center" width="825"><button
onClick="rpg.recordset.moveFirst()"><< First Record</button>
<button onClick="rpg.recordset.movePrevious(); if (rpg.recordset.BOF)
rpg.recordset.moveFirst()"> < Previous
Record </button>
<button onClick="rpg.recordset.moveNext(); if (rpg.recordset.EOF)
rpg.recordset.moveLast()"> Next Record> </button>
<button onClick="rpg.recordset.moveLast()"> Las t
Record>> </button></td></tr>
</body>
</html>
Hope this makes sense.
--
KL
"You don't love someone because they are beautiful, they are beautiful
because you love them." - Anon.
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----