Login  Register

Re: RE: Including conditional comments in your XForm?

Posted by Erik Bruchez on Dec 10, 2008; 12:01pm
URL: https://discuss.orbeon.com/Including-conditional-comments-in-your-XForm-tp41984p41988.html

Unfortunately that's unlikely to work because the pipelines don't  
forward comments at the moment.

-Erik

On Dec 10, 2008, at 9:22 AM, Ryan Puddephatt wrote:

> Try
>
> <xsl:comment>[if lte IE 6]><script type="text/javascript"
> src="./javascript/ie6-png.js"/></script><![endif]</xsl:comment>
>
> -----------------------------------------------
> Ryan Puddephatt
> Connectivity Developer
> Fidessa LatentZero
> 1 Old Jewry
> London EC2R 8DN
> Office: +44 (0) 20 7105 1000
> Direct: +44 (0) 20 7105 1812
> Blackberry: +44 (0) 79 8539 2458
> Fax: +44 (0) 20 7105 1818
> Email: [hidden email]
> Web: http://www.latentzero.com
>
>
> -----Original Message-----
> From: Andrzej Jan Taramina [mailto:[hidden email]]
> Sent: 09 December 2008 17:46
> To: [hidden email]
> Subject: [ops-users] Including conditional comments in your XForm?
>
> I have a situation where some users are still on IE 6 (ugh! but what  
> can
> you do?).
>
> And we use png's with transparent backgrounds.
>
> So in the processed XForm, ie the html, that Orbeon emits, I need to
> include a conditional comment construct that looks like this:
>
> <!--[if lte IE 6]><script type="text/javascript"
> src="./javascript/ie6-png.js"/></script><![endif]-->
>
> If I just include this in the XForm source file, it never appears in  
> the
> processed html output, since Orbeon eats comments.
>
> Any easy way to do this?
>
> Thanks!
>
> --
> Andrzej Taramina
> Chaeron Corporation: Enterprise System Solutions http://
> www.chaeron.com
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
> _______________________________________________________________________
> The information transmitted is intended only for the person or  
> entity to which it is addressed and may contain confidential and/or  
> privileged material. Any review, retransmission, dissemination or  
> other use of, or taking of any action in reliance upon, this  
> information by persons or entities other than the intended recipient  
> is prohibited. If you received this in error, please contact the  
> sender and delete the material from any computer.
>
> _____________________________________________________________________
> This e-mail has been scanned for viruses by Verizon Business  
> Internet Managed Scanning Services - powered by MessageLabs. For  
> further information visit http://www.mci.com
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws