Norman Walsh scripsit:
> Suppose I want vevent.div to match
>
> <div class="vevent">
>
> but I want normal.div to match
>
> <div class="any-other-random-token">
>
> Can that be accomplished without bounding the set of possible
> "any-other-random-token" values?
Sure:
normal.div = element div {
attribute class { string - "vevent"},
...
}
BTW, the way to extend this to more than one special case is obvious
in hindsight, but I wasn't able to discover it by myself, so here it is:
element baz {
attribute type { string - ("foo" | "bar")}
...
}
Constructions like string - "foo" - "bar" look like the Right Thing, but are
in fact syntax errors.
--
It was dreary and wearisome. Cold clammy winter still held way in this
forsaken country. The only green was the scum of livid weed on the dark
greasy surfaces of the sullen waters. Dead grasses and rotting reeds loomed
up in the mists like ragged shadows of long-forgotten summers.
--"The Passage of the Marshes" http://www.ccil.org/~cowan
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/2U_rlB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rng-users/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/