[
Lists Home |
Date Index |
Thread Index
]
- To: "Elliotte Rusty Harold" <elharo@metalab.unc.edu>
- Subject: RE: [xml-dev] Slightly off, but... was: XUL appears to be dead,istheresome other standard that should be looked at
- From: "Sebastian Schnitzenbaumer" <schnitz@mozquito.com>
- Date: Tue, 9 Jul 2002 19:12:41 +0200
- Cc: <xml-dev@lists.xml.org>
- Thread-index: AcInamQIRVAs9OamSfqlGGMP3qTtWwAARF6P
- Thread-topic: [xml-dev] Slightly off, but... was: XUL appears to be dead,istheresome other standard that should be looked at
Elliotte, very cool, thanks, I didn't know that worked.
See that's what I mean, a lot of this stuff works
already, you just need to know about it...
I'll add xlinks to my blog now. :-)
- Sebastian
-----Ursprüngliche Nachricht-----
Von: Elliotte Rusty Harold
Gesendet: Di 09.07.2002 19:00
An: Sebastian Schnitzenbaumer
Cc: xml-dev@lists.xml.org
Betreff: RE: [xml-dev] Slightly off, but... was: XUL appears to
be dead,istheresome other standard that should be looked at
At 6:35 PM +0200 7/9/02, Sebastian Schnitzenbaumer wrote:
>And the other thing: My blog has real hyperlinks. Since the
>RSS XML file defines links with the <link> element, which
>of course browsers won't understand as links, I've simply
>used HTML linking inside my RSS file thru namespaces and
>it just works:
>
><item>
> <title>...</title>
> <description>...</description>
> <link>http://...</link>
> <html:a href="http://...">...</html:a>
> <dc:date>2002-07-09T10:19:17-01:00</dc:date>
></item>
>
>So you can throw any arbitrary XML at IE6, style it
>with CSS *and* import anything you like from XHTML
>thru namespaces. That's exactly the Modularization idea
>implemented right there. Mozilla is just not there yet but very
close.
>I do think we are getting there...
>
Actually Mozilla would let you do this using XLinks rather than
HTML
links. In fact, you could make your html:a element an XLink too
so it
works in both IE6 and Mozilla. Something like:
<item xmlns:xlink="http://www.w3.org/1999/xlink">
<title>...</title>
<description>...</description>
<link>http://...</link>
<html:a href="http://..."
xlink:href="http://...">...</html:a>
<dc:date>2002-07-09T10:19:17-01:00</dc:date>
</item>
Of course you could also use XSLT in both Mozilla and IE.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu |
Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002)
|
| http://www.cafeconleche.org/books/xian2/
|
|
http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/
|
| Read Cafe con Leche for XML News:
http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
|