Re: A really micro schema language

On Tue, Dec 18, 2012 at 5:39 PM, John Cowan <cowan@mercury.ccil.org> wrote:

>
> > An img element must have a src attribute whose value has the url
> datatype.
>
> This lacks a syntax example: perhaps "img @src=url"?


Also you would be able to say

 publish-date / .text = date-time

to have a  publish-date element whose content was text that was constrained
to match the date-time datatype.

James

Received on Tuesday, 18 December 2012 11:22:34 UTC