Re: [relax-ng] Compact syntax issue: namespace declarations

From
John Cowan <>
Date
2002-04-05T00:19:34+00:00
ID
Thread
Re: [relax-ng] Compact syntax issue: namespace declarations
James Clark scripsit:

> 2. Solve it by providing a syntax for local namespace declarations, e.g.
> 
> local {
>   namespace x = "http://www.example.com/1"

I favor this, with slightly different syntax:

	local namespace x = "http://www.example.com/1" { ... }

Granted, if you have lots of local namespaces, this makes for
lots of braces.  So we could allow

	local namespace x = "foo", y = "bar" { ... }


-- 
John Cowan <>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_