Re: [Xsltforms-support] CSS broken since revision 385
Brought to you by:
alain-couthures
From: Grégoire C. <gco...@gm...> - 2010-04-26 08:58:14
|
Hi, The revision 397 still has broken CSS. Is there an explanation as to why we apply templates to "head/link", instead of copying this element as in revision 384? I don't understand the idea behind this. Can you explain? Regards, Grégoire Grégoire COLBERT a écrit : > Hi, > > Since revision 385 (and at least up to revision 396), my own CSS is > simply "forgotten". I mean, I have the following tag in my "index.xml" file: > > <link rel="stylesheet" type="text/css" href="style/screen.css"></link> > > But in the generated code, there's no trace of this "screen.css" file. > This must be related to the change in revision 385. From: > > <xsl:copy-of select="xhtml:head/xhtml:*[local-name() != 'script'] | > xhtml:head/comment() | head/title | head/meta | head/style | head/link | > head/comment()"/> > > to: > > <xsl:copy-of select="xhtml:head/xhtml:*[local-name() != 'script' and > local-name() != 'style' and local-name() != 'link'] | > xhtml:head/comment() | head/title | head/meta | head/comment()"/> > <xsl:apply-templates select="xhtml:head/xhtml:style | > xhtml:head/xhtml:link | head/style | head/link"/> > > I don't understand why, but the latter version seems to be broken. > > Thanks, > Grégoire > > PS : Alain, did you had enough time to look at my email sent on 15th > april 21:17? This XPath problem is weird. > > > |