On Tue, 9 Jul 2002, Tim Ringwood wrote:

> The tutorial has the line:
> 
> <x:transform source="$xml" xslt="$xslt"/>

Whichever tutorial you're looking at is out of date; the spec, and books
like mine, O'Reilly's, and Prentice Halls will be up to date.  (Several
books were published against early draft specifications and are no longer
correct.)

The correct syntax for expression evaluation uses "${" to begin an
expression and "$}" to end an expression.  The attribute named 'source' no
longer exists; it is now 'xml'.  Thus:

  <x:transform xml="${xml}" xslt="${xslt}" />

> So does anybody have a pointer to three basic files of
> a Hello World type example:
> 
>   - XML
>   - XSL
>   - JSP

The standard-examples.war application, included with our implementation,
has such examples.  My upcoming book (whose source code is available
currently at http://www.manning.com/bayern) contains more examples.  
(Manning has actually agreed to put the entirety of my book online, in PDF
format, for free; I expect to see that happen sometime this week -- I'll
let you know when it does.)

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com
(coming in July 2002 from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to