css in xsl document

Viewed 39905

how do i implement css in xsl file? i tried this:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<link rel="stylesheet" type="text/css" href="dxsl.css"/>
<xsl:output method="html" />

but it threw the error:

XSLTProcessor::importStylesheet(): Found a top-level element link with null namespace URI 

and

Warning: XSLTProcessor::transformToXml(): No stylesheet associated to this object 
4 Answers
Related