[Home] [By Thread] [By Date] [Recent Entries]

  • From: "G. Ken Holman" <gkholman@C...>
  • To: "xml-dev@i..." <xml-dev@i...>
  • Date: 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@C...
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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member