Re: [Xsltforms-support] Input controls render on Chrome but not on Firefox 12.0 (running on Ubuntu)
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2012-05-22 07:07:46
|
Hello Ihe, Because of namespace nodes not being accessible from Firefox XSLT engine, there is a workaround: add an attribute in this namespace at the document element level (b2b:dummy="dummy" for example). Thank you for your feedbacks! -Alain Le 22/05/2012 09:03, ihe onwuka a écrit : > <?xml version="1.0"?> > <?xml-stylesheet href="../xsltforms/xsltforms.xsl" type="text/xsl"?> > <html xmlns:html="http://www.w3.org/1999/xhtml" > xmlns="http://www.w3.org/1999/xhtml" > xmlns:xf="http://www.w3.org/2002/xforms" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:b2b="http://www.b2b.net/plants"> > <head> > <title>B2B.Net Plants System</title> > <xf:model id="salesModel"> > <xf:instance src="sales.xml"/> > <xf:bind nodeset="/b2b:Sales/b2b:Client" id="salesClient" > type="xsd:string"/> > <xf:bind nodeset="/b2b:Sales/b2b:Date" id="salesDate" type="xsd:date"/> > </xf:model> > </head> > <body> > <xf:trigger id="Plants" appearance="compact"> > <xf:label>Plants</xf:label> > </xf:trigger> > <xf:trigger id="Stock" appearance="compact"> > <xf:label>Stock</xf:label> > </xf:trigger> > <xf:trigger id="Clients" appearance="compact"> > <xf:label>Clients</xf:label> > </xf:trigger> > <xf:trigger id="Sales" appearance="compact"> > <xf:label>Sales</xf:label> > </xf:trigger> > <br/> > <xf:group ref="/b2b:Sales"> > <fieldset> > <legend>Sales Details</legend> > <xf:input bind="salesClient"> > <xf:label>Client:</xf:label> > </xf:input> > <br/> > <xf:input bind="salesDate" appearance="compact"> > <xf:label>Date:</xf:label> > </xf:input> > <br/> > </fieldset> > </xf:group> > </body> > </html> > > ------------------------------------------------------------------------------ > 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 > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |