SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : XML Technologies :

Previous DiscussionNext Discussion
 hyperlinks in XML

Hi
My question relates to styling XML -to be done preferably with CSS.

I'm aware XML should be styled with XSL, and for cross browser purposes the transformation should be done on the server. However, I need to use client-side methods only, and browser support for this XSL seems patchy.

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 to be rendered as functioning hyperlinks. No examples seem to deal with this issue.

I realise I could retrieve the XML file with AJAX and parse it using Javascript, but I've been advised that it's optimal to allow your site to work even where Javascript is unavailable or switched off. Plus that seems so long winded!

Let's say:

<?xml?>
<newsItem>We've meeting up at this
<a href="http://www.thevenuesURI.com">venue</a> tomorrow.</newsItem>

Ideally (for me!) the browser would see an 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>

Thank you for any help,

Dave

Started By realtime on Mar 2, 2006 at 1:57:29 AM

5 Response(s) | Reply

Earlier Replies | Replies 2 to 5 of 5 | Later Replies
Monte on Mar 2, 2006 at 9:06:16 AM (# 2)

<newsitem>
We're meeting at this
<uri ="<a href='http://www.thevenuesURI.com'>">
<venue_name>Venue</venue_name>
</uri>
tomorrow
</newsitem>

When you use XSL, you combine it with XML on the server, within the XML file. The XML is off the top of my head and may not be completely correct.

Try this page as a reference.

Maybe that will help a bit.


musicmaza on Oct 6, 2006 at 12:43:53 PM (# 3)

Please tell me the technique of creating rollover hyperlink in XML

Best Regards

Musicmaza
www.musicmaza.com


MHenke on Oct 9, 2006 at 1:39:34 AM (# 4)


jeffmain on Nov 19, 2011 at 12:14:48 AM (# 5)

My Dear,

Our company is a distributor of herbs roots to a United Kingdom client and they have call us to supply Kamzi.H2 Root ,So we are looking for trustworthy and honest partnership for this long term transaction.

I have Purchased the root called Kamzi.H2 Root before in Malaysia at the rate of $200 American dollars per packet of which I sold to my client at the rate of $900 American dollar, its been use to cure Lungs Cancer and Diabetes.

But this time l will not be able to fly over to Malaysia for this business at this time, because of my position at the company now, so if you are interested, I can give you the contact of the seller in Malaysia and connect you with the Buyer who is in need of this root as the main dealer, so you and l can share the profit margin on it as the buyer is ready to fly over to Malaysia for the root at the moment and he's ready to purchase 5000 packets (Five Thousand packets).

I don't want to introduce the seller over there in Malaysia to the UK buyer directly because of the profit margin.


Kindly get back to me for more details if you are interested.get back to me via my personal email address (jeff_main@ymail.com)

Best Regards,
Jeff Mains.


Earlier Replies | Replies 2 to 5 of 5 | Later Replies

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2004 InsideDHTML.com, LLC. All rights reserved.