W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > July to September 2000

RE: XSL Transform

From: Joseph M. Reagle Jr. <reagle@w3.org>
Date: Tue, 25 Jul 2000 16:33:40 -0700
Message-Id: <3.0.5.32.20000725163340.019a44a0@localhost>
To: Ed Simon <ed.simon@entrust.com>, Merlin Hughes <merlin@baltimore.ie>
Cc: <w3c-ietf-xmldsig@w3.org>, ht@cogsci.ed.ac.uk
At 09:16 7/25/2000 -0400, Ed Simon wrote:
 >I agree with Merlin.  

But <any\> already is an option.

 >   xmlns:xsl=""> <!--  NEW  -->

(You forgot the namespace "http://www.w3.org/1999/XSL/Transform"! <smile>)

Regardless, we might as well just remove the XSLT element (since it has its
own xsl:stylesheet element) and include a comment:

   <element name='Transform'> 
     <complexType content='mixed'>
       <choice minOccurs='1' maxOccurs='unbounded'> 
         <any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
 !       <!-- Including well formed XSLT elements -->
         <element name='XPath' type='string'/> 
       </choice>
       <attribute name='Algorithm' type='uriReference' use='required'/> 
     </complexType>
   </element>

You could do the following but I don't see any reason to since it's
redundant.

   <element name='Transform'> 
     <complexType content='mixed'>
       <choice minOccurs='1' maxOccurs='unbounded'> 
         <any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
!        <any namespace="http://www.w3.org/1999/XSL/Transform"/>
         <element name='XPath' type='string'/> 
       </choice>
       <attribute name='Algorithm' type='uriReference' use='required'/> 
     </complexType>
   </element>


_________________________________________________________
Joseph Reagle Jr.   
W3C Policy Analyst                mailto:reagle@w3.org
IETF/W3C XML-Signature Co-Chair   http://www.w3.org/People/Reagle/
Received on Tuesday, 25 July 2000 16:34:43 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:10 GMT