Attributes with Intent (and namespaces)

G. Ken Holman gkholman at CanadaMail.com
Mon Jul 6 20:33:06 BST 1998


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 at 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/


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list