Ed ([EMAIL PROTECTED]) wrote:
> I don't do that anymore though.  I link it straight to something that
> will handle the CDATA @import from a <link> tag.  Put the @import "advanced.css"
> inside a file such as advanced-boot.css.
> 
> Then:
> <link rel="stylesheet" type="text/css" href="advanced-boot.css" media="all"/>
> 
> And the contents of "advanced-boot.css" would be:
> @import "advanced.css";

That's so simple, I'm kicking myself for not thinking of it.

> > A) How can I have the output XML header be i
> >    <?xml version="1.0" encoding="UTF-8"?>
> You might try adding an encoding="UTF-8" to your <xsl:output/>

As is that. I checked the XSLT 1.0 spec and it didnt have that, or at least
I was looking in the wrong place

> > B) How can I prevent extra namespaces in the XSLT sheet from migrating 
> >    to the output html?
> add:  exclude-result-prefixes="foo bar blog"
> to your:  <xsl:stylesheet/>

Ditto. 
 
> I hope this helps. Either way you should find what your looking
> for in the w3 xslt rec easier with these bits I've hinted at.

I did all of the things you suggested, and the page now validates 100%, and
there's no CDATA in the stylesheet.

Thanks a ton...

_______________
Chris Thompson

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to