XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Should we have a special tag for the "body" of a macro?

I am developing a specification of macroses in XML.

<prog:macro name="f">
  <prog:arguments>
    <prog:argument name="x"/>
    <prog:argument name="y"/>
  </prog:arguments>
  <prog:value name="x"/> then <prog:value name="y"/>
</prog:macro>

or

<prog:macro name="f">
  <prog:arguments>
    <prog:argument name="x"/>
    <prog:argument name="y"/>
  </prog:arguments>
  <prog:body>
    <prog:value name="x"/> then <prog:value name="y"/>
  </prog:body>
</prog:macro>

?

prog:arguments should be optional (as in the case of zero arguments), I think.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS