Dear All,

WARNING: I'm a Cocoon newbie..

I'm implementing an XSLT transformation that generates HTML 
from XML.

It all works fine except that the XML that gets generated has 
some tags with names in upper case (Yeah, it's lame. I'm 
trying to extend somone else's code). 

When using my Cocoon pipeline and XSLT sheet, and tries to 
match on those tags using a select with the upper case version 
of the tag name, it never matches. However, when I try matching 
with lower case to so the select, it works fine.

E.g. in the generated XML I have:

  <category>
    <NAME>some name</NAME>
    ...

In my XSLT sheet, I have:

 <xsl:template ..that matches on 'category'..
   <xsl:value-of select="NAME">

This never matches unless I use the string "name", instead of
"NAME" in the select. This wouldn't bother me, except that when
I'm debugging the XSLT transformation on the command line, the
lower case doesn't match.

>From what I remember of XML and XSLT (the xalan processor anyways), 
size matters ;). Is there some Cocoon 'feature' or 'option' that's 
tryng to help me out?

Many thanks in advance,

Alan Hodgkinson
Luzern, Switzerland

P.S. A big pat on the back for the Cocoon developers! It's pretty 
cool.

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to