Hello!

I have a question (or suggestion, depending on how you look at it).


A while ago, I did something really stupid (again!) that caused me lose
hours and hours of time, not to mention shorten my life by a few weeks from
stress and frustration. ;-)

I couldn't figure out why my transforms weren't working with namespaces. For
some reason, a samespace such as "ns:tag" was being read as
"local-name()='ns:tag'" with no prefix! This was causing me to not be able
to do ANYTHING... (I can explain in more detail if you like.)

Well, I didn't want to bother people on the list again, so I kept plugging
away at the problem.

Anyway, I finally noticed that the problem was due to my having included in
my xsl but not noticed:

<xsl:output method="html">


Now, the first thing I want to do is warn others to be careful of this
"little detail" so as not to waste time like I did. If you include this
instruction, it will cause everything to break if you use namespaces like I
do.

The second thing is that I was wondering if it would be possible to add a
feature to Cocoon to simply avoid this instruction, since it should never be
necessary. I realise that this should be up to the programmer, but since it
should never be used by Cocoon anyway, then why not have the processor
simply ignore it?


Dave



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

Reply via email to