styling XML with CSS
Posted: 01 March 2006 01:17 AM   [ Ignore ]
Newbie
Rank
Total Posts:  4
Joined  2006-03-01

Hi
My first time here…
My question relates to styling XML with CSS.

No matter how I phrase it on Google, I can’t seem to find a reasonably cross-browser solution to the problem of getting what I intend as links in XML to actually be rendered as functioning hyperlinks. No examples or FAQs seem to deal with this issue.

Let’s say:

<?xml?>
<newsItem>We’ve meeting up at this venue tomorrow.</newsItem>

Ideally (for me!) the browser would see an <a> tag and think “hyperlink”...

The following works in IE6 (just) but not Firefox, and I’ve no clue how it works anyway! (something about namespaces?)

<newsItem>
  <html:p xmlns:html=“http://www.w3.org/TR/REC-html40”>
  I’m a <html:a href=“http://www.sun.com”>test link</html:a>
  </html:p>
</newsItem>

Any suggestions most welcome,
Dave

Profile
 
 
   
 
 
‹‹ Css Layer Visibility      wrapping in a DIV ››