Re: [Xsltforms-support] title attribute of HTML option
Brought to you by:
alain-couthures
From: Leigh L K. Jr <lei...@xe...> - 2011-09-22 17:45:54
|
Looks like Chrome and FF >3.5 support it. http://code.google.com/p/chromium/issues/detail?id=12721 Perhaps this could be represented in markup using the existing <hint> as a new child of itemset, item, and choices: <itemset nodeset="foo"> <label ref="label" /> <value ref="value" /> <hint ref="hint" /> </itemset> Or <item> <label>Hello</label> <value>hello</value> <hint>It says "Hello"</hint> </item> Ditto for <choices> (label and hint). Leigh. On 09/05/2011 01:58 PM, Alain Couthures wrote: > > Hello, > > I'm not sure that the title attribute is well supported by every browser. > > Generating it with XSLTForms needs to change the XSLT stylesheet > (xsl:template match="xforms:item"). > > -Alain > > Le 05/09/2011 10:00, Ruslan Forostyanov a écrit : > > Hi guys! > > I have select1/itemset/label/value xform structure. > > What is the best way to get title attribute in generated select option. > > > > <select class="xforms-value"> > > <option id="xf-itemset-0" value="1" title="ORIGINAL TEXT HERE">CUTTED > > TEXT HERE...</option> > > <option id="clonedId0" cloned="true" oldid="xf-itemset-0" > > value="2">2</option> > > ... > > </select> > > > > Ruslan > > > > > ------------------------------------------------------------------------------ > > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |