RE: XSL Transform

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 UTC