RE: feature request.

There is a neat trick you can use for this: just declare your namespace as
an extension namespace.

<xsl:stylesheet
   xmlns:x="my.accessibility.namespace"
   extension-element-prefixes="x">


   <x:comment>....</x:comment>

The XSLT processor is required to ignore extension instructions in a
namespace that it does not recognize.

Michael Kay


> -----Original Message-----
> From: DPawson@rnib.org.uk [mailto:DPawson@rnib.org.uk] 
> Sent: 18 June 2002 08:02
> To: xsl-editors@w3.org
> Subject: feature request.
> 
> 
> 
> That it be possible to utilise a given namespace for
> (effectively) comments, i.e. the named namespace is not
> treated as a literal and output.
> 
> Rationale:
> 
>  E.g. constructing an
> outline of the stylesheet operation,
> explanatory documentation,  
> providing multi-modal representations, etc.
> 
> Perhaps something like
> <xsl:ns-ignore prefix='doc'/>
> 
> The stylesheet application then simply bypasses anything
> in that namespace, treating it as a comment.
> 
> 
> This would support conformance to the XML accessibility guidelines.
> 
http://www.w3.org/TR/xag

regards DaveP

************snip here************** 

- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 

14th June 2002 is RNIB Look Loud Day - visit http://www.lookloud.org.uk to
find out all about it.

Received on Tuesday, 18 June 2002 05:45:17 UTC