PDA

View Full Version : XML stylesheet ??? Any basic tutorials ??


bearsdenred
11-25-2004, 11:26 PM
:( why is it, when your working on course work, every single document doesnt make sense?
i can make stylesheets no problem in HTML, but XML doesnt make sense.
I want to convert this storefront.CSS into an .XSL style sheet.
anyone be able to help here?
================= storefront.css =============
body
{
font-size:12pt;
font-family:New Times Roman, Arial;
color:black;
background:silver;
}
h1
{
font-size :12pt;
font-family:Sans-serif;
color:black;
text-align:center;
}

h3
{
font-size:10pt;
font-family:arial;
color:black;
text-align:left;
}
h4
{
font-size:10pt;
font-family:New times roman, Arial;
color:black;
text-align:left;
}
P
{
font-size:12pt;
font-family:verenda;
margin-left: 10px;
margin-right:10px;
line-height:12pt;
align:left;
}
P1
{
font-size:10pt;
font-family:verenda;
margin-left: 10px;
margin-right:10px;
line-height:5pt;
align:left;
}
p2
{
font-size:22pt;
font-family: verenda;
margin-left:10pt;
margin-right:10pt;
line-height:10pt;
}
a:link {color: green; text-decoration:none;}
a:visited {color: red; text-decoration:none;}
a:active {color: Green; text-decoration:none;}
a:hover {color: maroon; text-decoration:none;}
==================

hemebond
11-26-2004, 12:08 AM
http://www.w3schools.com/xsl/xsl_languages.asp

brothercake
11-26-2004, 12:53 AM
If all you want is visual styling, you can style XML with CSS - http://www.w3schools.com/xml/xml_display.asp - it's just the same as styling HTML except elements have no default styles.