Attributes with Intent (and namespaces)

David Megginson david at
Tue Jul 7 03:35:56 BST 1998

G. Ken Holman writes:

 > When I write my stylesheets, then, will I have to write the following?
 > (a) namespace aware for element:  <mycompany:para>
 > <rule>
 >     <target-element type=''/>
 >     <paragraph
 >         space-before='10pt'>
 >         <children/>
 >     </paragraph>
 > </rule>

No -- or at least, I imagine not.  There are two more interesting

1. Use something similar to DSSSL modes, one for each namespace:

<namespace ns="">
  <target-element type="para"/>

2. Associate a separate stylesheet with each namespace, through some
   mechanism yet to be determined.

All the best,


David Megginson                 david at

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

More information about the Xml-dev mailing list