Mercurial > pub > Impl
comparison Lib/IMPL/DOM/Schema.pm @ 17:7f88e01b58f8
dom
author | Sergey |
---|---|
date | Wed, 09 Sep 2009 17:43:31 +0400 |
parents | 75d55f4ee263 |
children | 818c74b038ae |
comparison
equal
deleted
inserted
replaced
16:75d55f4ee263 | 17:7f88e01b58f8 |
---|---|
34 IMPL::DOM::Schema::NodeSet->new()->appendRange( | 34 IMPL::DOM::Schema::NodeSet->new()->appendRange( |
35 IMPL::DOM::Schema::Node->new(nodeName => 'ComplexNode', type => 'ComplexNode', minOccur => 0, maxOccur=>'unbounded'), | 35 IMPL::DOM::Schema::Node->new(nodeName => 'ComplexNode', type => 'ComplexNode', minOccur => 0, maxOccur=>'unbounded'), |
36 IMPL::DOM::Schema::Node->new(nodeName => 'SimpleNode', type => 'SimpleNode', minOccur => 0, maxOccur=>'unbounded'), | 36 IMPL::DOM::Schema::Node->new(nodeName => 'SimpleNode', type => 'SimpleNode', minOccur => 0, maxOccur=>'unbounded'), |
37 IMPL::DOM::Schema::SimpleNode->new(nodeName => 'Node', minOccur => 0, maxOccur=>'unbounded'), | 37 IMPL::DOM::Schema::SimpleNode->new(nodeName => 'Node', minOccur => 0, maxOccur=>'unbounded'), |
38 ) | 38 ) |
39 ), | |
40 IMPL::DOM::Schema::ComplexType->new(type => 'NodeList', native => 'IMPL::DOM::Schema::NodeList')->appendRange( | |
41 IMPL::DOM::Schema::NodeSet->new()->appendRange( | |
42 IMPL::DOM::Schema::Node->new(nodeName => 'ComplexNode', type => 'ComplexNode', minOccur => 0, maxOccur=>'unbounded'), | |
43 IMPL::DOM::Schema::Node->new(nodeName => 'SimpleNode', type => 'SimpleNode', minOccur => 0, maxOccur=>'unbounded'), | |
44 IMPL::DOM::Schema::SimpleNode->new(nodeName => 'Node', minOccur => 0, maxOccur=>'unbounded'), | |
45 ) | |
46 ), | |
47 IMPL::DOM::Schema::ComplexType->new(type => 'ComplexType', native => 'IMPL::DOM::Schema::ComplexType')->appendRange( | |
48 IMPL::DOM::Schema::NodeList->new()->appendRange( | |
49 IMPL::DOM::Schema::Node->new(nodeName => 'NodeSet', minOccur => 0, type => 'NodeSet'), | |
50 IMPL::DOM::Schema::Node->new(nodeName => 'NodeList', minOccur => 0, type => 'NodeSet'), | |
51 IMPL::DOM::Schema::SimpleNode->new(nodeName => 'Node', minOccur => 0, maxOccur => 'unbounded') | |
52 ) | |
53 ), | |
54 IMPL::DOM::Schema::ComplexType->new(type => 'ComplexNode', native => 'IMPL::DOM::Schema::ComplexNode')->appendRange( | |
55 IMPL::DOM::Schema::NodeList->new()->appendRange( | |
56 IMPL::DOM::Schema::Node->new(nodeName => 'NodeSet', minOccur => 0, type => 'NodeSet'), | |
57 IMPL::DOM::Schema::Node->new(nodeName => 'NodeList', minOccur => 0, type => 'NodeSet'), | |
58 IMPL::DOM::Schema::SimpleNode->new(nodeName => 'Node', minOccur => 0, maxOccur => 'unbounded') | |
59 ) | |
60 ), | |
61 IMPL::DOM::Schema::ComplexType->new(type => 'SimpleType', native => 'IMPL::DOM::Schema::SimpleType')->appendRange( | |
62 IMPL::DOM::Schema::NodeSet->new()->appendRange( | |
63 IMPL::DOM::Schema::AnyNode(maxOccur => 'unbounded', minOccur => 0) | |
64 ) | |
65 ), | |
66 IMPL::DOM::Schema::ComplexType->new(type => 'SimpleNode', native => 'IMPL::DOM::Schema::SimpleNode')->appendRange( | |
67 IMPL::DOM::Schema::NodeSet->new()->appendRange( | |
68 IMPL::DOM::Schema::AnyNode(maxOccur => 'unbounded', minOccur => 0) | |
69 ) | |
39 ) | 70 ) |
40 ) | 71 ); |
72 | |
73 return $schema; | |
41 } | 74 } |
42 | 75 |
43 1; | 76 1; |
44 | 77 |
45 __END__ | 78 __END__ |