cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@dff.st>
Subject RE: [c2:ESQL] how to get tag from DB?
Date Tue, 20 Nov 2001 15:27:50 GMT
> hello cocooners,
> 
> what i have:
> 	in DB have soething like this:
> 		"here goes link <a href="blabla">link 2 blabla</a>"
> what i wont:
> 	to get this anhor as tag not as 
> 		"here goes link &lt;a href="blabla"&gt;link 2 blabla&lt;/a&gt;"
> 	this what i get when using <esql:get-string ...>
> 	when using <esql:get-xml ...> i get nothing.
> 
> please gimi some hint,
> 	hubert.

Well, get-xml needs it to be XML - but it is not.
While get-string of course will quote the string.

You should think of a different approach.
You are trying to include a HTML fragment.
An XML parser does not like HTML.
--
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message