Welcome to WebmasterWorld Guest from 54.145.104.199

Forum Moderators: incrediBILL

Message Too Old, No Replies

Losing my mind here!

getting html links to show up in IE data islands

     
8:39 pm on Aug 11, 2003 (gmt 0)

10+ Year Member



Does anyone have experience with this? I can make the link act correctly in my XML file, but when I try to import it into the data island nothing shows up.

I've found this to be a problem with IE and the DTD, so whenever I remove the DTD from my XML file . . . IE will display all the XML data . . . except for the hyper link!

How can I get the best of both worlds?

-jlr1001

9:25 pm on Aug 11, 2003 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Have you tried [validator.w3.org...] first, just to verify that it isn't some typo somewhere?

Worth trying that first.

9:39 pm on Aug 11, 2003 (gmt 0)

10+ Year Member



Since I'm talking about straight XML, and the validator only seems to work with HTML/XHTML, I'll end up giving myself another migraine using it.

Thanks for the suggestion, though. Validation is a key reason behind many "coding" issues.

-jlr1001

10:15 pm on Aug 11, 2003 (gmt 0)

10+ Year Member



jlr,
Could you post the xml and a snippet of the data island that you are having a problem with? Is the data island not pulling the xml source? Oh wait, you said when you remove the DTD then it works... post the DTD and the XML and I will see if I can possibly figure out what is going on.

Mac

3:11 am on Aug 12, 2003 (gmt 0)

10+ Year Member



Macrost, thanks for any help you can give. Here's an example of the DTD and the xml coding . . . I can import the xml into an IE data island, except for the URL, until I reference the DTD. Then IE doesn't display anything.

<!DOCTYPE test [
<!NOTATION link system "text/html">
<!ELEMENT a (#PCDATA)>
<!ATTLIST a
xml:link CDATA #FIXED "simple"
href CDATA #REQUIRED
inline (true¦false) true
content-role CDATA ""
content-title CDATA ""
title CDATA ""
role CDATA ""
actuate (user¦auto) user
show (new¦replace¦embed) replace
behavior CDATA ""
>
]>

And here would be a sample of the xml code:

<?xml version="1.0"?>
<test>
<name>John Doe</name>
<city>London</city>
<link><a href="http://www.yahoo.com">website</a></link>
</test>

Thanks again.

-jlr1001

 

Featured Threads

Hot Threads This Week

Hot Threads This Month