cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Maluck <>
Subject sql transformer question & namespace for esql/sql
Date Sat, 14 Sep 2002 10:16:52 GMT
Hello all,

please look at the example:

<?xml version="1.0" encoding="UTF-8"?>
<page xmlns:sql="">

  <execute-query xmlns="">
      select name from users

using the sql transformer with right parameters in the sitemap
i get this result:

<?xml version="1.0" encoding="UTF-8"?>
  <rowset xmlns=""
          xmlns:sql="" nrofrows="1">
      <name> ... correct data ... </name>

but if i remove the definition of the xmlns:sql namespace as attribute
of the page-tag in the source then i get this:

<?xml version="1.0" encoding="UTF-8"?>
  <xmlns="" 1="1">
      <> ... correct data ... </>

This means, the tag names are missing. I think normally i don't have to
define the xmlns:sql in my source page as it is not used there.


Btw. the difference in the namespace of esql and sql seems to be that the first
uses ".../v2" and the latter ".../2.0". This can be a bit confusing sometimes.
Maybe someone could change "" to 


Please correct me if I am wrong.


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message