Re: [Xsltforms-support] external css stylesheets
Brought to you by:
alain-couthures
From: ac <ac...@hy...> - 2010-12-27 16:42:11
|
Hi, The version that I am using is the one currently available from your site and sourceforge (BetaRC3), but it is like I showed you and not like what you sent me, as below. Where can I get the latest version? Looking at your code below, I cannot see how my css stylesheets could be applied without adding <xsl:copy-of select="*/xhtml:link | */link"/> as can currently do with BetaRC3. Also, The xsltforms.css is also still giving me the css error warnings below: Avertissement : Propriété « box-sizing » inconnue. Déclaration abandonnée. Fichier Source : file:///C:/dev/jboss-3.2.5/server/default/deploy/html.ear/html.war/library/hyperform/stratml/asset/xsltforms/xsltforms.css Ligne : 72 Avertissement : Propriété « box-sizing » inconnue. Déclaration abandonnée. Fichier Source : file:///C:/dev/jboss-3.2.5/server/default/deploy/html.ear/html.war/library/hyperform/stratml/asset/xsltforms/xsltforms.css Ligne : 83 Avertissement : Propriété « box-sizing » inconnue. Déclaration abandonnée. Fichier Source : file:///C:/dev/jboss-3.2.5/server/default/deploy/html.ear/html.war/library/hyperform/stratml/asset/xsltforms/xsltforms.css Ligne : 101 Avertissement : Propriété « box-sizing » inconnue. Déclaration abandonnée. Fichier Source : file:///C:/dev/jboss-3.2.5/server/default/deploy/html.ear/html.war/library/hyperform/stratml/asset/xsltforms/xsltforms.css Ligne : 135 Avertissement : Propriété « box-sizing » inconnue. Déclaration abandonnée. Fichier Source : file:///C:/dev/jboss-3.2.5/server/default/deploy/html.ear/html.war/library/hyperform/stratml/asset/xsltforms/xsltforms.css Ligne : 174 Avertissement : Erreur d'analyse de la valeur pour « filter ». Déclaration abandonnée. Fichier Source : file:///C:/dev/jboss-3.2.5/server/default/deploy/html.ear/html.war/library/hyperform/stratml/asset/xsltforms/xsltforms.css Ligne : 185 Avertissement : Propriété « -moz-opacity » inconnue. Déclaration abandonnée. Fichier Source : file:///C:/dev/jboss-3.2.5/server/default/deploy/html.ear/html.war/library/hyperform/stratml/asset/xsltforms/xsltforms.css Ligne : 187 Avertissement : Propriété « box-sizing » inconnue. Déclaration abandonnée. Fichier Source : file:///C:/dev/jboss-3.2.5/server/default/deploy/html.ear/html.war/library/hyperform/stratml/asset/xsltforms/xsltforms.css Ligne : 224 Avertissement : Propriété « box-sizing » inconnue. Déclaration abandonnée. Fichier Source : file:///C:/dev/jboss-3.2.5/server/default/deploy/html.ear/html.war/library/hyperform/stratml/asset/xsltforms/xsltforms.css Ligne : 245 Avertissement : Erreur d'analyse de la valeur pour « filter ». Déclaration abandonnée. Fichier Source : file:///C:/dev/jboss-3.2.5/server/default/deploy/html.ear/html.war/library/hyperform/stratml/asset/xsltforms/xsltforms.css Ligne : 291 Avertissement : Propriété « box-sizing » inconnue. Déclaration abandonnée. Fichier Source : file:///C:/dev/jboss-3.2.5/server/default/deploy/html.ear/html.war/library/hyperform/stratml/asset/xsltforms/xsltforms.css Ligne : 296 Help is appreciated. Thank you. Regards, ac > Hi, >> For example, in the xsltforms.xsl file (line 98+), couldn't one have >> something like: >> >> ... >> <head> >> <xsl:copy-of select="xhtml:head/@* | head/@*"/> >> <xsl:copy-of select="*/xhtml:meta | */meta"/> >> <link >> type="text/css"href="{$resourcesdir}xsltforms.css"rel="stylesheet"/> >> <xsl:copy-of select="*/xhtml:link | */link"/> >> ... >> > You are using an old version of XSLTForms and now, in the latest > build, this is like this: > > <head> > <xsl:copy-of select="xhtml:head/@* | head/@*"/> > <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> > <xsl:copy-of select="xhtml:meta[@http-equiv != 'Content-Type'] | > head/meta[@http-equiv != 'Content-Type']"/> > <link type="text/css" href="{$resourcesdir}xsltforms.css" > rel="stylesheet"/> > <xsl:apply-templates select="xhtml:head/xhtml:*[local-name() != > 'script' and local-name() != 'style' and local-name() != 'link' and > local-name() != 'meta'] | xhtml:head/comment() | head/title | > head/comment()" mode="nons"/> > <xsl:apply-templates select="xhtml:head/xhtml:style | > xhtml:head/xhtml:link | head/style | head/link"/> > <script src="{$resourcesdir}xsltforms.js" type="text/javascript">/* > */</script> > > Link directives are interpreted by the XSLT stylesheet unless the > <nocss/> option is set in the config.xsl file. > > -Alain > |