cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Garger" <tom.gar...@gmx.net>
Subject AW: use xsp-vars to generate html
Date Wed, 23 Oct 2002 10:45:33 GMT
hi

thanks that's working - for the following --> example
<td id="hlpAnrede" class="standard">
  <util:include-expr>
    <util:expr><table
class="standard"><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></
tr></table></util:expr>
  </util:include-expr>
</td>

and on the place of <table
class="standard"><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></
tr></table>, and it
works also for 

<util:include-expr>
    <util:expr><xsp:expr>test</xsp:expr></util:expr>
 </util:include-expr>

when test="test";

thats the first step.




but how can i put html-tag into xsp-variable??
if i try the following, it fails -->

<xsp:logic>
	string = "<table
class="standard"><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></
tr></table>";
</xsp:logic>


the <util:include-expr> is not the problem, but the
string = "<table
class="standard"><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></
tr></table>";



regards, tom


-----Urspr√ľngliche Nachricht-----
Von: Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de] 
Gesendet: Mittwoch, 23. Oktober 2002 09:32
An: cocoon-users@xml.apache.org
Betreff: Re: use xsp-vars to generate html


On 23.Oct.2002 -- 09:20 AM, Thomas Garger wrote:
> hi
> 
> if want to use xsp-variables to generate html-code for the sites. let 
> me explain.

have a look at the util logicsheet, especially the include-* tags. That
could be a solution. Anyway, your var needs to contain well-formed XML.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
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>



---------------------------------------------------------------------
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