ZVON > Graphotron > Graphotron Tutorial
>> Page 9 << | Prev | Next | Contents

Parameters specific to individual graphic package can be set by using elements from the package relevant namespace.
XML Source

<aaa>
     <bbb/>
     <ccc>
          <ddd/>
          <eee/>
     </ccc>
     <xxx>
          <yyy>
               <zzz/>
               <zzz/>
               <zzz/>
          </yyy>
     </xxx>
</aaa>
Graphotron Source

<graphotron xmlns="http://zvon.org/graphotron" xmlns:daVinci="http://zvon.org/graphotron/daVinci" >
     <vertex match="//*">
          <name select="name()"/>
          <daVinci:COLOR>maroon</daVinci:COLOR>
     </vertex>
     <vertex match="/*">
          <name select="name()"/>
          <daVinci:COLOR>red</daVinci:COLOR>
          <daVinci:_GO>rhombus</daVinci:_GO>
          <daVinci:BORDER>double</daVinci:BORDER>
     </vertex>
     <vertex match="/*/*">
          <name select="name()"/>
          <daVinci:COLOR>blue</daVinci:COLOR>
          <daVinci:_GO>circle</daVinci:_GO>
          <daVinci:BORDER>none</daVinci:BORDER>
          <daVinci:FONTSTYLE>bold_italic</daVinci:FONTSTYLE>
     </vertex>
     <edge match="//*" select="*"/>
</graphotron>

Graph screenshot