diff options
Diffstat (limited to 'testdata/xmlparser/lists_domain.osxml')
| -rw-r--r-- | testdata/xmlparser/lists_domain.osxml | 26 | 
1 files changed, 26 insertions, 0 deletions
| diff --git a/testdata/xmlparser/lists_domain.osxml b/testdata/xmlparser/lists_domain.osxml new file mode 100644 index 0000000..4360a6d --- /dev/null +++ b/testdata/xmlparser/lists_domain.osxml @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<domain name="lists"> +	<import rel="domain" src="book.oxm"/> + +	<struct name="ul" isa="book.paragraph"> +		<!-- Here we solve the problem of parents using the isa +			 mechanism, because a list may occur whereever a paragraph +			 may occur. However we do want to override the default field. --> +		<field> +			<childRef name="item"/> +		</field> +	</struct> +	<struct name="ol" isa="book.paragraph"> +		<!-- Here we solve the problem of parents using the isa +		     mechanism, because a list may occur whereever a paragraph +		     may occur. However we do want to override the default field. --> +		<field> +			<childRef name="item"/> +		</field> +	</struct> +	<struct name="item"> +		<field> +			<childRef name="book.paragaph"/> +		</field> +	</struct> +</domain> | 
