OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Embedded-Grammar&Components Design Approach [Was: Abunch o

[ Lists Home | Date Index | Thread Index ]

Hi,

Sounds like Apache's Ant.

<build>
   <taskdef name="homicide" classname="com.criminal.Homicide">
     <classpath refid="classpath"/>
   </taskdef>
   <target name="kill-roger">
     <homicide murderer="John" murderee="Roger" how="Shot"/>
   </target>
</build>


Roger L. Costello wrote:
>  Hi Folks,

>     *actor  --> John*
>     *action --> Shot*
>     *object --> Roger*
> 
> A design emerges:
> 
> <message>
>     <grammar id="homicide">
>         <actor  idref="John"/>
>         <action idref="Shot"/>
>         <object idref="Roger"/>
>     </grammar>
>     <Person id="John">
>         <age>24</age>
>         <address>101 Curl Drive, Columbus, Ohio</address>
>     </Person>
>     <Action id="Shot"/>
>     <Person id="Roger">
>         <age>39</age>
>         <address>38 Tremont St, Boston, MA</address>
>     </Person>
> </message>
> 




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS