<?xml version="1.0" encoding="UTF-8"?>
<!--

       Copyright 2011 Peter Murray-Rust et. al.

       Licensed under the Apache License, Version 2.0 (the "License");
       you may not use this file except in compliance with the License.
       You may obtain a copy of the License at

           http://www.apache.org/licenses/LICENSE-2.0

       Unless required by applicable law or agreed to in writing, software
       distributed under the License is distributed on an "AS IS" BASIS,
       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       See the License for the specific language governing permissions and
       limitations under the License.

-->

<molecule id="star1" convention="cml:PML-basic"
	xmlns:g="http://www.xml-cml.org/mols/geom1"
	xmlns="http://www.xml-cml.org/schema">
	<!--  a star polymer -->
	<fragment>
		<molecule ref="g:benzene" id="m1" />
	</fragment>
	<fragmentList>
		<join id="j1" order="1" moleculeRefs2="g:benzene g:2pyr" atomRefs2="r1 r1">
			<length>1.4</length>
		</join>
		<fragment>
			<molecule ref="g:2pyr" id="m2">
			    <fragmentList>
					<join id="j2.1" order="1" moleculeRefs2="g:2pyr g:po"
					    atomRefs2="r1 r2">
						<length id="l2.1">1.5</length>
						<torsion id="t2.1">120.0</torsion>
					</join>
					<fragment>
						<molecule ref="g:po" id="m3"/>
					</fragment>
					<join id="j2.1.1" order="1" moleculeRefs2="m3 m4" 
					    atomRefs2="">
						<length id="l2.1.1">1.39</length>
					</join>
					<fragment countExpression="3">
						<molecule ref="g:me" id="m4">
							<fragmentList id="ml3">
								<join id="j2.1.2" order="1" moleculeRefs2="g:me g:cl" atomRefs2="">
									<length id="t2.1.2">1.4</length>
									<torsion>124.0</torsion>
								</join>
								<molecule ref="g:cl" id="m5"/>
							</fragmentList>
						</molecule>
						<join id="j2.1.1" order="1" atomRefs2="r1 r2">
							<length id="l2.1.1">1.39</length>
						</join>
					</fragment>
				</fragmentList>
			</molecule>
		</fragment>
	</fragmentList>
</molecule>
