Re: [Xsltforms-support] Example for inline schema
Brought to you by:
alain-couthures
From: Claudius T. <cla...@ya...> - 2010-02-24 21:31:48
|
Hi, I managed to remember: 1. add xmlns:mysc="http://www.agencexml.com/schema" mysc:dummy="dummy" to root of XForms page 2. example pf inline schema <xsd:simpleType name="tipStringNenul"> <xsd:restriction base="xsd:string"> <xsd:minLength value="1"/> </xsd:restriction> </xsd:simpleType> </xsd:schema> Note that, AFAIK, only simpleType is supported and the targetNamespace="http://www.agencexml.com/schema"(!!!). 3. Example of defining data type" <idPartener type="mysc:tipStringNenul"/> Good luck, Claudius Teodorescu http://kuberam.ro |