W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

ORA-XQ-118-E: namespace declaration attributes, improvement on the example

From: Stephen Buxton <Stephen.Buxton@oracle.com>
Date: 17 Feb 04 08:23:18
Message-Id: <200402171623.i1HGNI202404@rgmgw6.us.oracle.com>
To: public-qt-comments@w3.org

SECTION namespace declaration attributes

It would be better if the example showed both ways to get a
namespace declared for an element constructor, using both the
prolog and a namespace declaration attribute, like this:

declare namespace metric="http://example.org/metric/units";
<box xmlns:english = "http://example.org/english/units">
  <height> <metric:meters>3</metric:meters> </height>
  <width> <english:feet>6</english:feet> </width>
  <depth> <english:inches>18</english:inches> </depth>

- Steve B.
Received on Tuesday, 17 February 2004 11:23:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:18 UTC