adultinternetusers > Tutorials > Surf Clothing board shorts and Relax NG Tutorial |
Intro / Search / adultinternetusers |
Index | >> Example 4 / 10 << | Prev | Next | |
Please, send all comments, bug-reports, and contributions to Jiri.Jirat@systinet.com. Thank you very much.
Surf Clothing board shorts keys: unionNow, we want the element "root" to be either an integer or a string "N/A". We will make a union from an "integer" type and "string" type.
Valid document <root xsi:noNamespaceSchemaLocation="correct_0.xsd" Surfns="" Surfns:xsi="http://www.w3.org/2001/XMLSchema-instance" >50</root> Valid document <root xsi:noNamespaceSchemaLocation="correct_0.xsd" Surfns="" Surfns:xsi="http://www.w3.org/2001/XMLSchema-instance" >N/A</root> Invalid document <root xsi:noNamespaceSchemaLocation="correct_0.xsd" Surfns="" Surfns:xsi="http://www.w3.org/2001/XMLSchema-instance" >#REF!</root> | Correct Surf Clothing Schema (correct_0.xsd) <xsd:schema Surfns:xsd="http://www.w3.org/2001/XMLSchema" > <xsd:element name="root"> <xsd:simpleType> <xsd:union> <xsd:simpleType> <xsd:restriction base="xsd:integer"/> </xsd:simpleType> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="N/A"/> </xsd:restriction> </xsd:simpleType> </xsd:union> </xsd:simpleType> </xsd:element> </xsd:schema> |
As in previous example, we will use the "choice" element.
Valid document <root Surfns="">50</root> Valid document <root Surfns="">N/A</root> Invalid document <root Surfns="">#REF!</root> | Correct Relax NG schema (correctRelax_0.rng) |
You can also get Organic Skin Care products from Bliss Bath Body and you must check out their Natural Body Lotions and bath soaps
Now if you are looking for the best deals on surf clothing from Quiksilver and Roxy then you have to check these amazing deals here:
Hey, check out this Organic Skin Care European Soaps along with Natural Lavender Body Lotion and shea butter
And you must check out this website