Hi Jörn,

the following code worked for me some time ago in lenya 1.2.4, not sure
if $rendertype still used in 1.4 :-/

<xsl:template match="/xhtml:html">
  <xsl:copy-of select="lenya:meta"/>
  <div id="body">
    <xsl:if test="$rendertype = 'edit'">
      <xsl:attribute name="bxe_xpath">/xhtml:html/xhtml:body</xsl:attribute>
    </xsl:if>
    <xsl:apply-templates select="xhtml:body/node()"/>
  </div>
</xsl:template>

/html/body/[EMAIL PROTECTED]'body'] seemes logical for me too, but for some 
reason 
it didn't work. BXE really has a lot of magic...

michael


Jörn Nettingsmeier wrote:
> hi!
> 
> 
> since the last changes in bxe preprocessing, bxe has been broken in my
> custom publication. i get an empty usecase view. and there my debugging
> skills end, because the rest is deep javascript magic. :(
> 
> it looks like the publication is now responsible to add an element with
> a bxe_xpath attribute - correct?
> 
> the default publication defines one in xslt/lenya-header.xsl, but it
> seems nothing ever calls into that file... can anyone explain?
> 
> i've read the bxe wiki, and it seems i need to give an xpath to the
> element i want to be editable, which in my case would be
> /html/body/[EMAIL PROTECTED]'body']... however if i add that to a div on my 
> page,
> nothing happens... any hints welcome.
> 
> jörn
> 
> 
> 


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

Reply via email to