Re: Attributes with Intent (and namespaces)

G. Ken Holman (gkholman@CanadaMail.com)
Mon, 06 Jul 1998 13:39:00 -0400


At 98/07/03 12:42 +0900, MURATA Makoto wrote:
>The whole point of the namespace extension is to
>allow applications to tell which namespace a name belongs to. A qualified
>name is not an opaque object. Application programs should and will care
>the attached URI. On the other hand, prefixes should (ideally) be
completely
>hidden from applications.

When I write my stylesheets, then, will I have to write the following?

(a) namespace aware for element: <mycompany:para>

<rule>
<target-element type='www.company.com/para'/>
<paragraph
space-before='10pt'>
<children/>
</paragraph>
</rule>

In comparison to the following:

(b) non-namespace aware for element: <para>

<rule>
<target-element type='para'/>
<paragraph
space-before='10pt'>
<children/>
</paragraph>
</rule>

(c) architecture aware for element (either explicit or through DTD): <para
archtype="mypara">

<rule>
<target-element type='mypara'/>
<paragraph
space-before='10pt'>
<children/>
</paragraph>
</rule>

......... Ken

--
G. Ken Holman            mailto:gkholman@CanadaMail.com
Crane Softwrights Ltd.  http://www.CraneSoftwrights.com
Box 266,                             V: +1(613)489-0999
Kars, Ontario CANADA K0A-2E0         F: +1(613)489-0995
Training:  http://www.CraneSoftwrights.com/schedule.htm
Resources:   http://www.CraneSoftwrights.com/resources/
Shareware:   http://www.CraneSoftwrights.com/shareware/