Is there a way to include the CSS within the target HTML during an XSL transformation?
I know how to do the transformation... I would just like to inject the css code into the generated HTML document...
This started out as an Excel file, which I saved to an HTML file, which created over 60 classes in a CSS section...
I seperated the Style code to a seperate CSS file to unclutter the HTML...
I then Cleaned up the HTML code (man... Excel is messy ;-))
Then I modified the HTML to an XSLT doc
I am then using VB with MSXML DOM to grab node sets from several XML files and place clones of them into a newly created DOMDocument object... Which I am then using the XSLT on to produce an HTML doc...
I realise I can just cut and paste the CSS code back into the XSLT doc, but I would rather keep it seperate if possible...
Otherwise, it will add about 300 lines of crap to the top of the XSLT doc...
I know how to do the transformation... I would just like to inject the css code into the generated HTML document...
This started out as an Excel file, which I saved to an HTML file, which created over 60 classes in a CSS section...
I seperated the Style code to a seperate CSS file to unclutter the HTML...
I then Cleaned up the HTML code (man... Excel is messy ;-))
Then I modified the HTML to an XSLT doc
I am then using VB with MSXML DOM to grab node sets from several XML files and place clones of them into a newly created DOMDocument object... Which I am then using the XSLT on to produce an HTML doc...
I realise I can just cut and paste the CSS code back into the XSLT doc, but I would rather keep it seperate if possible...
Otherwise, it will add about 300 lines of crap to the top of the XSLT doc...