OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Attributes with Intent (and namespaces)

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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS