Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Style XSD?

Thread Tools

Style XSD?

Posts: n/a
Can a CSS stylesheet be referenced from within an XSD file? Can XSDs be
styled using CSS?

Using Opera's revolutionary email client:
Reply With Quote
Martin Honnen
Posts: n/a
dondeluise wrote:
> Can a CSS stylesheet be referenced from within an XSD file? Can XSDs be
> styled using CSS?

An XSD document is an XML document and XML documents can have an
"xml-stylesheet" processing instruction before the root element e.g.

<?xml-stylesheet type="text/css" href="sheet.css"?>

to indicate a stylesheet.

But XSD puts lots of its information into attributes (i.e. type,
maxOccurs, minOccurs) and so on and CSS is mostly aimed at styling text
content of elements and not attributes).


Martin Honnen --- MVP Data Platform Development
Reply With Quote
Joe Kesselman
Posts: n/a
You can also, of course, pass XSL through an XSL stylesheet... though
that's more useful for logic changes than for presentation. (See my
article on "styling stylesheets" on DeveloperWorks.)

Joe Kesselman,

{} ASCII Ribbon Campaign | "may'ron DaroQbe'chugh vaj bIrIQbej" --
/\ Stamp out HTML mail! | "Put down the squeezebox & nobody gets hurt."
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGrid header style inconsistent with sortable column style ASP .Net 0 10-14-2005 12:13 AM
All style tags after the first 30 style tags on an HTML page are not applied in Internet Explorer Rob Nicholson ASP .Net 3 05-28-2005 03:11 PM
Need help with Style conversion from Style object to Style key/value collection. Ken Varn ASP .Net Building Controls 0 04-26-2004 07:06 PM
Javascript Style Switcher that remebers current site style in use Hardeep Rakhra HTML 8 01-15-2004 08:00 PM
Style sheets, include one style within another (not inheritance) HTML 1 11-24-2003 01:37 PM