It's convenient, if you have to author CSS documents in a well-formed
XML file, to be able to retain CSS validity.
In order to hide CSS from HTML 3 user agents, the CSS grammar allows
SGML comment delimiters, which it ignores. So with a bit of finagling
you can write polyglot xml/css using just a tricky prolog and epilog, e.g.
<!--/*--><css><![CDATA[*/
/* Plain old css goes in here, & and < are all good */
h1 {
color: green;
}
/*]]></css><!--*/-->
On 26/07/12 22:57, Dan McCreary wrote:
Hi Florent,
You may have to wrap the CSS files in XML tags like <css>...</css>.
http://en.wikibooks.org/wiki/XRX/XSLTForms_and_eXist#Modifying_your_CSS_to_work_with_XSLTForms
- Dan
On Thu, Jul 26, 2012 at 7:10 AM, Florent Georges <[email protected]
<mailto:[email protected]>> 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?
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
------------------------------------------------------------------------------
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]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/xsltforms-support
--
Dan McCreary
NoSQL Evangelist
office: (952) 931-9198
cell: (612) 986-1552
------------------------------------------------------------------------------
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
--
Conal Tuohy
eResearch Business Analyst
Victorian eResearch Strategic Initiative
+61-466324297
------------------------------------------------------------------------------
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