Hi,

is it right that in XSP I have no chance to specify the name of the root
element to be generated dynamically?
I try to implement a quite generic XSP which should get the name of the
root element via sitemap parameters.

It's no problem to do this for any element which is a child of the root
element, but it seems -- at least for me at the moment --  that this is
not possible for the root element itself.

When looking into the java class generated from the XSP it seems that
the following snippet won't produce any output (besides the XML header):

<xsp:page language="javascript" xmlns:xsp="http://apache.org/xsp";>
   <xsp:element>
      <xsp:param
name="name"><xsp:expr>this.parameters.getParameter("element",
"root")</xsp:expr></xsp:param>
      .
      .
      .
   </xsp:element>
</xsp:page>


It _will_ work if I enclose <xsp:element> with a "hard coded" root
element...




Regards,

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to