cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: with Cocoon 2.0.3 <include-expr> does'nt work
Date Mon, 02 Dec 2002 15:49:12 GMT
LEBRETON Philippe wrote:

>Sylvain Wallez wrote:
>
>  
>
>>LEBRETON Philippe wrote:
>>
>>    
>>
>>>Ludovic de Beaurepaire wrote:
>>>
>>>
>>>
>>>      
>>>
>>>>Hi Philippe,
>>>>
>>>>- try to have your 3 tags on one line only (!)
>>>>- or insert the java generated code directly :
>>>>    XSPUtil.includeString(SortieXML,this.manager, this.contentHandler);
>>>>
>>>>
>>>>        
>>>>
>>>I try tis two method and i have the same problem.
>>>I think it is a bug
>>>
>>>
>>>      
>>>
>>Is the content of "SortieXML" a syntactically correct XML document ?
>>    
>>
>
>No, my XML data string content data without root element.
>

So that's why this doesn't work !

If "SortieXML" is a text-only string (no XML markup), then simply use
  <xsp:expr>SortieXML</xsp:expr>
to output the value of the "SortieXML" string as text in the document 
produced by the XSP.

Hope this will solve your problem.

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message