This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: XSLT and Foreign Namespace Attributes


Since you have established that your stylesheet is legal, it follows
that any processor that claims conformance to the spec will allow it. So
I'm not sure why you're asking the question?

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com 
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of 
> Christopher Dix
> Sent: 04 July 2002 04:42
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] XSLT and Foreign Namespace Attributes
> 
> 
> Hello everyone,
> 
> I have been doing some work with XSLT, creating some 
> specialized applications by adding foreign namespace 
> attributes.  For example, 
> 
> <xsl:template xmlns:q="uri:someuri.org" q:access="public" match="/">
>    <someElement />
> </xsl:template>
> 
> In this case, the prefix q is associated with a non-null 
> namespace unknown to XSLT, but I need to tag the template in 
> question with some additional information: for example, 
> public/private access.  According to the XSLT spec, section 
> 2.1, it seems to me that this is legal and will be ignored by 
> the engine.
> 
> This stylesheet works fine with MSXML and System.Xml, which 
> is great because my focus has been on Windows development to 
> date.  I would like to take this application, however, and 
> run it on other platforms in the near future.  What support 
> for these types of attributes exists in other tools, like 
> Saxon?  For the record, all I am looking for is for the 
> engine to ignore them.
> 
> Thanks,
> Chris Dix
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]