cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JEULIN Olivier <olivier.jeu...@xml-ais.com>
Subject RE: include xsp:expr inside attributes?
Date Tue, 17 Jul 2001 15:47:31 GMT
Or:
<mynode>
   <xsp:attribute name="myattr">
	<xsp:expr>foo.getBar()</xsp:expr>"/>
   </xsp:attribute>
</mynode>

> -----Message d'origine-----
> De : Anthony Diodato [mailto:adiodato@p21.com]
> Envoyé : mardi 17 juillet 2001 17:44
> À : 'cocoon-users@xml.apache.org'
> Objet : RE: include xsp:expr inside attributes?
> 
> 
> <xsp:logic>
>  Element mynode = document.createElement("mynode");
>  mynode.setAttribute("myattr", foo.getBar());
>  xspCurrentNode.appendChild(mynode);
> </xsp:logic>
> 
> -----Original Message-----
> From: Seth Ladd [mailto:seth@brivo.com]
> Sent: Tuesday, July 17, 2001 11:39 AM
> To: cocoon-users@xml.apache.org
> Subject: include xsp:expr inside attributes?
> 
> 
> Hello,
> 
> I'm not sure how to accomplish the following.  I was hoping 
> someone would 
> point me in the right direction?
> 
> I would like to do the following:
> 
> <mynode myattr="<xsp:expr>foo.getBar()</xsp:expr>"/>
> 
> But, of course, that is not wellformed XML.  Is there a way 
> to accomplish 
> that is XSP?
> 
> Thanks very much,
> Seth

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