Re: [Xsltforms-support] CSS not applied when using XSLTForms

2012-08-02 Thread Stephen Cameron
Hi, I think that in the past it was recommended to put your css, or links to css files, into the tag in config.xml. This was so that they would get inserted into the compiled XForm markup after the xsltforms.css link and so allow you to override things in that file. I had to go back to that af

Re: [Xsltforms-support] CSS not applied when using XSLTForms

2012-08-02 Thread Florent Georges
Dan McCreary wrote:   Hi Dan, > http://en.wikibooks.org/wiki/XRX/XSLTForms_and_eXist#Modifying_your_CSS_to_work_with_XSLTForms   Thanks for the link.  And thanks for the XForms wikibook, it is very useful! (btw, shouldn't that tip be in the XForms book?)   Regards, --  Florent Georges http://f

Re: [Xsltforms-support] CSS not applied when using XSLTForms

2012-08-02 Thread Florent Georges
Conal Tuohy wrote:   Hi, > Here's a slightly improved version where an XML parser which > evaluates the text content of the css element will also get > valid CSS (the previous version had unmatched CSS comment > markers): > */   Thanks.  I am a bit surprised to have to use such work-around, but

Re: [Xsltforms-support] CSS not applied when using XSLTForms

2012-07-27 Thread Conal Tuohy
On 28/07/12 01:18, C. M. Sperberg-McQueen wrote: > On Jul 26, 2012, at 9:19 PM, Conal Tuohy wrote: > >> It's convenient, if you have to author CSS documents in a well-formed XML >> file, to be able to retain CSS validity. > My thoughts exactly. > >> In order to hide CSS from HTML 3 user agents, th

Re: [Xsltforms-support] CSS not applied when using XSLTForms

2012-07-27 Thread C. M. Sperberg-McQueen
On Jul 26, 2012, at 9:19 PM, Conal Tuohy wrote: > It's convenient, if you have to author CSS documents in a well-formed XML > file, to be able to retain CSS validity. My thoughts exactly. > In order to hide CSS from HTML 3 user agents, the CSS grammar allows SGML > comment delimiters, which

Re: [Xsltforms-support] CSS not applied when using XSLTForms

2012-07-26 Thread Conal Tuohy
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 jus

Re: [Xsltforms-support] CSS not applied when using XSLTForms

2012-07-26 Thread C. M. Sperberg-McQueen
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: > > > > XSLTForms is plugged in by: > > > > XSLTForms works fine. If I remove the processing instruction

Re: [Xsltforms-support] CSS not applied when using XSLTForms

2012-07-26 Thread Dan McCreary
Hi Florent, You may have to wrap the CSS files in XML tags like 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 wrote: > Hi, > > When I add XSLTForms support to my page, it does not

[Xsltforms-support] CSS not applied when using XSLTForms

2012-07-26 Thread Florent Georges
  Hi,   When I add XSLTForms support to my page, it does not apply my CSS files anymore.  Those are imported by:       XSLTForms is plugged in by:       XSLTForms works fine.  If I remove the processing instruction to import it, the CSS is correctly apply.  But with XSLTForms, it is not anym