Erik Jälevik
Usenet Archive
- Joined
- Nov 5, 2003
- Messages
- 6
- Reaction score
- 0
Is it possible to use XLink within an XHTML document?
I am trying the following in Mozilla Firebird 0.7 (which supposedly supports XLink) and I don't get a link:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xl="http://www.w3.org/1999/xlink"> <body> <p xl:type='simple' xl:href='http://www.google.com' xl:show='replace' xl:actuate='onRequest'> Link test </p> </body> </html>
Am I getting something wrong here? The linking works from a pure xml document.
Btw, the only reason I'm not using <a href>s is that it's for a university assignment and we're specifically forbidden to use HTML links...
Thanks,
Erik
I am trying the following in Mozilla Firebird 0.7 (which supposedly supports XLink) and I don't get a link:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xl="http://www.w3.org/1999/xlink"> <body> <p xl:type='simple' xl:href='http://www.google.com' xl:show='replace' xl:actuate='onRequest'> Link test </p> </body> </html>
Am I getting something wrong here? The linking works from a pure xml document.
Btw, the only reason I'm not using <a href>s is that it's for a university assignment and we're specifically forbidden to use HTML links...
Thanks,
Erik