Hi there.
I have started to work with CSS. For formatting HTML files, the CSS commands can either be be present in the same HTML file via the style-tag <style type="text/css"> <!-- tagname {}
-->
</style>
or be present in a separate CSS file and be included via <link rel="stylesheet" type="text/css" href="stylesheet.css"> For defining the output of xml files (which is want I want to do preferentially) only the second method (referencing to external CSS file) seems to exist:
<?xml-stylesheet type="text/css" href="stylesheet.css" ?> Is it possible to include CSS formating informations directly into the xml file as it is possible with DTD´s ? I haven´t found any hint on doing this so far. Please help! Thanx in advance.
Piet
I have started to work with CSS. For formatting HTML files, the CSS commands can either be be present in the same HTML file via the style-tag <style type="text/css"> <!-- tagname {}
-->
</style>
or be present in a separate CSS file and be included via <link rel="stylesheet" type="text/css" href="stylesheet.css"> For defining the output of xml files (which is want I want to do preferentially) only the second method (referencing to external CSS file) seems to exist:
<?xml-stylesheet type="text/css" href="stylesheet.css" ?> Is it possible to include CSS formating informations directly into the xml file as it is possible with DTD´s ? I haven´t found any hint on doing this so far. Please help! Thanx in advance.
Piet