Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS and XML

Status
Not open for further replies.

jimsey

Technical User
Sep 26, 2000
1
US
Is there a way to use css with xml to display only the information associated with selected tags. For example, if there is a bibliography xml page with publisher, author, title etc filled in for a number of works, can I write a css that only displays some entries and not others, e.g. show author but not publisher?

Jim McCormick
 
Dear Jim,

CSS contains only display characteristics, there are no processing instructions in CSS.

You want to use a XSL/T file and an XSL processor to generate HTML or even XML subsets, from XML data and XSL/T processing instructions.

Good luck
-pete
 
The display:none declaration can be used to suppress an element type. following code in CSS will suppress the publisher.

publisher
(display:none}




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top