> Hi there, 
> 
>   I extended AbstractTransformer and tried to user 
> super.startElement/endElement etc, to produce nodes (events). This is working 
> fine besides that the name spaces I pass into startElement is ignored. Any 
> thoughts? 
> 
>   Below is a sample to demonstrate what I mean: excecute-query (needed by SQL 
> Transformer) shows up in the resulting stream, but without namespaces?! 
> 
>       String sqlUri = "http://apache.org/cocoon/SQL/2.0";;
>       try {
>           char[] data = query.getSQL().toCharArray();
>           super.startElement(sqlUri, "execute-query", "execute-query", new 
> AttributesImpl() );

One is the local tagname and one is the raw tagname including the ns prefix.
I guess it should be something like:

  super.startElement(sqlUri, "execute-query", "sql:execute-query", ...

--
Torsten

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

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

Reply via email to