Syntax (was syntax.txt)

corey at axcelerant.com corey at axcelerant.com
Mon Jun 25 01:03:02 PDT 2001


> 
> Rather than defining tags and their requirments on a per
> command basis, we make a more broad and general 'command'
> tag definition:
> 
> <command id='1' name='mv' src='/bin'>
>   <opt id='1'>
>     <name>-f</name>
>     <value />
>   </opt>
>   <opt id='2'>
>     <name />
>     <value>/foo</value>
>   </opt>
>   <opt id='3'>
>     <name />
>     <value>/bar</value>
>   </opt>
> </command>
> 

  I forgot to change my original quick run at the above
  XML example before I sent the email, should've been
  modified to:

<command id='1' name='mv' src='/bin'>
  <opt id='1' name='-f' value=''>
  <opt id='2' name='' value='/foo'>
  <opt id='3' name='' value='/bar'>
</command


  This is exactly the time in which tag parameters are
  best utilized.  

  ( Plus, that looks a helluva lot cleaner ).


Beers,

Corey

-- 
Unsubscribe: send email to alfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the alfs-discuss mailing list