it was touch-and-go for awhile there -- i'd managed to munch all copies
of the presentation on my hard disk using Windows' "hibernate" feature
-- but my cocoon class at the software dev west conference wound up
coming off OK. there were about 20 people in the audience, so i'm hoping
i sold a few (i know at least a couple of the people who were there will
be seeing this, so i won't brag too shamelessly. otherwise they'll sic
the Snoozing Alien on me). i've already asked the show if they'll let me
do it again for SD East in november.

question for then: i said in the class, and still believe, that java
code in XSP can't access incoming XML. picture if you will a toy XML
document:

<page>
  <kazoo>I make rude noises</kazoo>
</page>

then an XSP.xsl that processes it (i'm leaving off all the namespace and
other gradu):

....
<xsp:logic>
        // Here we extract the content of the "kazoo" element into
        // a Vector of words
        Vector kazooWords = new Vector(??????)
</xsp:logic>

am i off base here? to my knowledge, there is no way for that Java code
to spelunk into the SAX events (C2) or DOM tree (C1) and get at element
contents or attributes.

i feel a little silly asking such a basic question after teaching a
class, but i make no claim to omniscience!

thanks for your help,

rw

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to