Here is the solution that I believe Charles was suggesting (for those who
are as XML inept as I, it is nice to have this in black and white)
http://www.w3.org/1999/XSL/Transform";
xmlns:sql="http://apache.org/cocoon/SQL/2.0";>
SELECT * FROM foo
namespace attribute
Don't know why, exactly, but this has been discussed here before and
the work around is to use namespace prefixes on all elements, ie don't
use a default namespace in the document with the query. Something along
those lines anyway. This works for me.
Charles
Rober
Don't know why, exactly, but this has been discussed here before and
the work around is to use namespace prefixes on all elements, ie don't
use a default namespace in the document with the query. Something along
those lines anyway. This works for me.
Charles
Robert Douglass wrote:
Does an
Does anyone know why my sql transformation returns an element with two xmlns
attributes?
http://apache.org/cocoon/SQL/2.0";
xmlns="http://apache.org/cocoon/SQL/2.0";>
Using cocoon-2.0.4-bm14
The xml going into the sql transformation looks like this:
http://apache.org/cocoon/SQL/2.0"
...
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Auftrag von Dr. Hans M. Rupp
Gesendet: Mittwoch, 5. Marz 2003 13:22
An: Coocon-user Liste
Betreff: i18n namespace attribute in wml output
Hallo!
We trying to use Cocoon with the i18n Transform
ungliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Auftrag von Dr. Hans M. Rupp
> Gesendet: Mittwoch, 5. Marz 2003 13:22
> An: Coocon-user Liste
> Betreff: i18n namespace attribute in wml
Hallo!
We trying to use Cocoon with the i18n Transformer to generate wml
output. We have noticed that the generated wml code contains an i18n
namespace attribute.
This causes the Nokia Wap toolkit not to recognize the output as wml.
How can we configure the i18n Transformer so that no namespace
When I transform sources with the CInclude transformer, I get the
xmlns:cinclude="http://apache.org/cocoon/include/1.0";
attribute with the first result element.
Is it possible to get rid of that?
--
Artur
-
Please check that