From: christophe g. <chr...@e-...> - 2010-02-01 16:47:32
|
Hi all I am doing some tests before trying to migrate my XRX app to XSLTForms, and triggers' label with ref attribute does not seem to produce the expected result. I am missing something there, or is this feature not yet implemented : <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <title>XSLTForms test various</title> <xf:model> <xf:instance xmlns="" id="test"> <cart> <items> <item>windshield wipers</item> </items> </cart> </xf:instance> </xf:model> </head> <body> <xf:trigger ><xf:label ref="instance('test')/items/item[1]"></xf:label></xf:trigger> </body> </html> Cheers Christophe -- Christophe Geiser, social entrepreneur e-Smile, solutions in monitoring and information management -- |
From: Klotz, L. <Lei...@xe...> - 2010-02-01 18:06:55
|
label/@ref is not implemented presently in XSLTForms. I took a look at implementing it, but it's not trivial, because the xsltforms.xsl doesn't have a match rule for xf:label; instead, it's scattered about in the various controls and control states. Alain would have to respond about his plans, but in the absence of an implementation, use <xf:label><xf:output ref="..." /></xf:label> instead. ________________________________ From: christophe geiser [mailto:chr...@e-...] Sent: Monday, February 01, 2010 8:16 AM To: Xsl...@li... Subject: [Xsltforms-support] <xf:trigger><xf:label ref="myLabelDoesNotSeemToWork"/></xf:trigger> Hi all I am doing some tests before trying to migrate my XRX app to XSLTForms, and triggers' label with ref attribute does not seem to produce the expected result. I am missing something there, or is this feature not yet implemented : <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <title>XSLTForms test various</title> <xf:model> <xf:instance xmlns="" id="test"> <cart> <items> <item>windshield wipers</item> </items> </cart> </xf:instance> </xf:model> </head> <body> <xf:trigger ><xf:label ref="instance('test')/items/item[1]"></xf:label></xf:trigger> </body> </html> Cheers Christophe -- Christophe Geiser, social entrepreneur e-Smile, solutions in monitoring and information management -- |
From: christophe g. <chr...@e-...> - 2010-02-02 16:06:54
|
Thanks a lot Leigh The first part of your message sounded a bit like a pretty bad news, but it works quite well with the proposed workaround ; - ) Cheers Christophe On Mon, Feb 1, 2010 at 7:06 PM, Klotz, Leigh <Lei...@xe...> wrote: > label/@ref is not implemented presently in XSLTForms. > > I took a look at implementing it, but it's not trivial, because the > xsltforms.xsl doesn't have a match rule for xf:label; instead, it's > scattered about in the various controls and control states. > > Alain would have to respond about his plans, but in the absence of an > implementation, use <xf:label><xf:output ref="..." /></xf:label> instead. > > ------------------------------ > *From:* christophe geiser [mailto:chr...@e-...] > *Sent:* Monday, February 01, 2010 8:16 AM > *To:* Xsl...@li... > *Subject:* [Xsltforms-support] <xf:trigger><xf:label > ref="myLabelDoesNotSeemToWork"/></xf:trigger> > > Hi all > > I am doing some tests before trying to migrate my XRX app to XSLTForms, and > triggers' label with ref attribute does not seem to produce the expected > result. > > I am missing something there, or is this feature not yet implemented : > > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:xf="http://www.w3.org/2002/xforms"> > <head> > <title>XSLTForms test various</title> > <xf:model> > <xf:instance xmlns="" id="test"> > <cart> > <items> > <item>windshield wipers</item> > </items> > </cart> > </xf:instance> > </xf:model> > </head> > <body> > <xf:trigger ><xf:label > ref="instance('test')/items/item[1]"></xf:label></xf:trigger> > </body> > </html> > > Cheers > Christophe > -- > Christophe Geiser, social entrepreneur > e-Smile, solutions in monitoring and information management > -- > > -- Christophe Geiser, social entrepreneur e-Smile, solutions in monitoring and information management -- |
From: COUTHURES A. <ala...@ag...> - 2010-02-02 20:32:44
|
Because of this simple workaround, label/@ref support is now at very low priority in my plans... -Alain > label/@ref <mailto:label/@ref> is not implemented presently in XSLTForms. > > I took a look at implementing it, but it's not trivial, because the > xsltforms.xsl doesn't have a match rule for xf:label; instead, it's > scattered about in the various controls and control states. > > Alain would have to respond about his plans, but in the absence of an > implementation, use <xf:label><xf:output ref="..." /></xf:label> instead. > > ------------------------------------------------------------------------ > *From:* christophe geiser [mailto:chr...@e-...] > *Sent:* Monday, February 01, 2010 8:16 AM > *To:* Xsl...@li... > *Subject:* [Xsltforms-support] <xf:trigger><xf:label > ref="myLabelDoesNotSeemToWork"/></xf:trigger> > > Hi all > > I am doing some tests before trying to migrate my XRX app to > XSLTForms, and triggers' label with ref attribute does not seem to > produce the expected result. > > I am missing something there, or is this feature not yet implemented : > > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:xf="http://www.w3.org/2002/xforms"> > <head> > <title>XSLTForms test various</title> > <xf:model> > <xf:instance xmlns="" id="test"> > <cart> > <items> > <item>windshield wipers</item> > </items> > </cart> > </xf:instance> > </xf:model> > </head> > <body> > <xf:trigger ><xf:label > ref="instance('test')/items/item[1]"></xf:label></xf:trigger> > </body> > </html> > > Cheers > Christophe > -- > Christophe Geiser, social entrepreneur > e-Smile, solutions in monitoring and information management > -- |