Bjoern Hoehrmann <[EMAIL PROTECTED]> writes:

> * Kendall Shaw wrote:
>>Do you know if anyone is working on a generic compact syntax pre-processor
>>for use with arbitrary XML, not just relax ng schemas?
>
> What does that mean exactly? RELAX NG has one compact syntax, if you
> have another XML format, say XSLT, you would specify a different compact
> syntax. If you were to make a compact syntax that works for all formats,
> it would not be particularily compact, or you would have reinvented some
> format like YAML.

I mean roughly the same syntax as the relax ng compact syntax, but for
any XML, not just for Relax NG schemas.

In other words:

namespace y = "http://abcd";

element y:floop {
  attribute bork "xyz"
}

would represent:

<y:floop xmlns:y="http://abcd"; bork="xyz"/>


Reply via email to