On Jul 26, 2012, at 6:10 AM, Florent Georges wrote:

>   Hi,
> 
>   When I add XSLTForms support to my page, it does not apply my
> CSS files anymore.  Those are imported by:
> 
>     <link href="xxx.css" rel="stylesheet" type="text/css"/>
> 
>   XSLTForms is plugged in by:
> 
>     <?xml-stylesheet href="xsltforms.xsl" type="text/xsl"?>
> 
>   XSLTForms works fine.  If I remove the processing instruction
> to import it, the CSS is correctly apply.  But with XSLTForms,
> it is not anymore.
> 
>   Any reason for this?  Any solution?


I ran into this recently, too. (I.e. no, you're not imagining it.)
It seems to vary by version; see the test cases at 

  http://blackmesatech.com/2012/07/testcase/css-in-xsltforms.xhtml

The summary appears to be:  1.0RC loads external CSS
in the same way as beta3 and beta3RC before it, while
rev. 549 requires (as Dan McCreary has already suggested)
that the external files be wrapped in XML.

It may be relevant, of course, that none of the CSS files 
used in this test actually require pre-processing: they don't
do anything with the XForms namespace.

I am hoping that this is just a temporary glitch and that the
behavior will revert to the older pattern soon.

Michael


-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com 
* http://cmsmcq.com/mib                 
* http://balisage.net
****************************************************************





------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to