Subject: Re: How is this part of the XSLT specification to be interpreted? From: Matt Sergeant <matt@xxxxxxxxxxxx> Date: Tue, 20 Jun 2000 14:33:45 +0100 (BST) |
On Tue, 20 Jun 2000, Thorbjørn Ravn Andersen wrote: > > I am looking at how to make XSL documents self-documenting, and I fell > over section 2.1 in the specification > > "An element from the XSLT namespace may have any attribute not from > the XSLT namespace, provided that the expanded-name of the attribute > has a non-null namespace URI. The presence of such attributes must not > change the behavior of XSLT elements and functions defined in this > document. Thus, an XSLT processor is always free to ignore such > attributes, and must ignore such attributes without giving an error if > it does not recognize the namespace URI. Such attributes can provide, > for example, unique identifiers, optimization hints, or > documentation." > > My current experience with XT and Saxon is that they complain fiercely > if an incorrect attribute is used. How is the text above to be > interpreted? It means you can have: <xsl:apply-templates myns:foo="bar" xmlns:foo="mailto:me@xxxxxx"/> i.e. any new attributes you specify in xsl tags must be in a different namespace. -- <Matt/> Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org | AxKit: http://axkit.org XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
How is this part of the XSLT specif, Thorbjørn Ravn Ander | Thread | Re: How is this part of the XSLT sp, Juergen Hermann |
RE: automatic hyperlink with XSLT ?, Kay Michael | Date | RE: counter, Kay Michael |
Month |