← Prev in month ← Prev in thread

[relax-ng] attributes in compact syntax

From
Michael Fitzgerald <>
Date
2002-05-25T01:29:22+00:00
ID
Thread
[relax-ng] attributes in compact syntax
Since we allow

<attribute name="glorp"/>

to be equivalent to

<attribute name="glorp"><text/></attribute>

couldn't we, in compact syntax, allow

attribute glorp,

to be the equivalent of

attribute glorp { text }, ?

In other words, if the next token after the attribute's name is a comma and
not a curly brace, the processor writes <text/>.

Mike
← Prev in month ← Prev in thread