xsl-list
[Top] [All Lists]

RE: New to XSL - invalid token error

2003-01-31 12:38:21
Don't feel too bad - you may have been thinking of  XQuery 
syntax, which 
uses not-quite-XML constructs such as...

|      return
         <book authorCount={ count($authors) }/>

Recent drafts of XQuery are closer to real XML syntax. You now write

   return <book authorCount="{ count($authors) }"/>

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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