Hi, I am writing a nested extension element which looks like the one below :
<my:Link formName="someFormName" action="someAction"> <my:LinkParam name="n1" value="v1"/> <my:LinkParam name="n2" value="{$someParam}"/> <my:LinkBody> <!-- any valid XSL content or simple text could go here --> </my:LinkBody> </my:Link> This extension element would be converted to <a href="javascript:myFunction(formname, action, 'n1=v1', 'n2=someParamValue')> processed Link Body </a> In my extension handler Java class, I am creating an Element object for anchor tag and appending the LinkParam's values for href attribute. I would like to know how I can process the my:LinkBody contents and append it as a child to the anchor element so that I can place the anchor element to the output result tree. Any pointers are very much appreciated. Thanks, Jayatheerthan __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree