I have been experimenting a bit with attributes, e.g. in this phrase:
<item>And even worse<ref/>, <ref name="att"/> attributes <ref/> will not be the
same as in &context;.</item>

1. In the third ref element, the value \XMLpar{ref}{name}{\relax} is
   not relax. Because the element has no (rather an implicit)
   attribute name, the context value is left as it was set by the
   preceding ref element. I think it would be better if attribute
   values are local to the element, and there exists a command that
   lets the user store the value in a control sequence, much like
   \defXMLstring\command.

2. When I use the attribute like this:
   \doifXMLparelse{ref}{name}{(ref:\XMLpar{ref}{name}{})}{}, it would
   be nice to have a shorter way to access the attribute value, say
   \XMLattvalue. The above code contains two implicit if/then branches
   for the attribute, the second not very useful.

Regards, Simon

-- 
Simon Pepping
email: [EMAIL PROTECTED]

Reply via email to