XSL, CSS och XSL...

Avdelningen för webbrelaterad programmering och grafisk design.
Post Reply
MoOono
Posts: 5
Joined: 2003-07-25 21:18:44

XSL, CSS och XSL...

Post by MoOono »

Finns det något sätt att använda både CSS och XSL i en XML-fil??? ?!?
User avatar
nva
Hedersbit
Posts: 2517
Joined: 2002-03-07 23:34:21
Location: Skåneland
Contact:

Post by nva »

http://www.w3.org/Style/XSL/WhatIsXSL.html wrote:So, CSS is for HTML and XSL is for XML?
No, CSS can be used with HTML and also with XML, provided that the XML document has a reasonably linear structure that can be displayed without extensive manipulation. See the CSS2 Recommendation for details.

XSL is targeted at XML, in particular highly-structured, data-rich documents that require extensive formatting.
Det verkar som det går iallafall.
The three most dangerous things in the world are a programmer with a soldering iron, a hardware type with a program patch and a user with an idea.

In theory, there is no difference between theory and practice. But, in practice, there is.
MoOono
Posts: 5
Joined: 2003-07-25 21:18:44

...eller inte

Post by MoOono »

Jag menar om man kan använda css och xsl applikationerna på samma gång i en xml-fil. Jag har testat att länka med både css och xsl i en xml
men det funkar ine. Bara en applikation åt gången funkar.
Post Reply