FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
Architecture & Design
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
January 01, 2002

XSL The Extensible Style Language (Web Techniques, Jan 1999)

(Page 2 of 7)
Web Techniques: Table 1

Table 1


Some equivalences between CSS2 selectors and XSL patterns.

CSS2 SELECTORXSL PATTERNDEFINITION
titletitleAny title
doc>titledoc/titleA document title (title is a direct child of doc)
doc titlechapter/titleA title that is any decsendant of doc
em[role]em[role]An em element with a role attribute
em[role="bold"]em[role="bold"]An em element when role is "bold"
listitem:first-childlistiem [first-of-type()]The first item of a list
n/alistitem [last-of-type()]The last item of a list
n/aequation [child(title)]An equation that has a title
corpauthor + authorn/aAn author preceded by a corpauthor


Previous Page | 1 | 2 | 3 | 4 | 5 | 6 | 7 Next Page
TOP 5 ARTICLES
No Top Articles.



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK