|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Slightly off, but... was: XUL appears to be dead,isthereso
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@l... Betreff: RE: 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@m... | 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/ | +----------------------------------+---------------------------------+
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








