Getting error while using <xxforms:if>

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting error while using <xxforms:if>

Sathish K Mittapelli
I am getting error
Invalid element in XForms document: xxforms:if though i am using the name space qualifier.
 
this is my source code
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xforms="http://www.w3.org/2002/xforms"
      xmlns:ev="http://www.w3.org/2001/xml-events"
      xmlns:xi="http://www.w3.org/2001/XInclude"
  xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"                    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <head>.............................................
.......................................
 
 
<xxforms:if test="/form/first-name = 'Joe'">
</xxforms:if>


THANKS & REGARDS
SATHISH K MITTAPELLI  


Explore your hobbies and interests. Click here to begin.

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Getting error while using <xxforms:if>

fl.schmitt
Hi,

> I am getting error
> Invalid element in XForms document: xxforms:if though i am using the
> name space qualifier.

are you upgrading from a older version of Orbeon Forms? There are some
cavetas when migrating from XForms Classic to XForms NG, for example
xxforms:if  isn't supported any more:

http://www.orbeon.com/ops/doc/reference-xforms-migration#d21e162

Using xforms:group as described in the docs should work without problems.

HTH
florian




--
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