You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Peter Heintz <Pe...@knorr-bremse.com> on 2004/09/06 16:23:29 UTC
how to get bxe work with lenya with none xhtml?
On 6.9.2004 15:50 Uhr, Peter Heintz wrote:
After fiddling around with different versions of lenya and bxe my last
problem has gone somehow. But I am still not able to get bxe working
for none xhtml doctypes.
Here is one of my attempts based in the bxe inline example to get it
work within lenya.
Christian Stocher wrote:::::::::::::::::::::::::::::::::::::::::::::
I suspect, this is a lenya problem. You have to do something special
(which I can't remember exactly) to make the bxe_xpath appear in the
needed files. Try to ask on lenya mailinglist about where to
change/adjust this.
Sorry, that I can't you help any further. If you found the solution on
the lenya side, please let me know ;)
chregu
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
1) I copied the releaxng.xml to . \config\doctypes\schemas\iba.rng
2) I copied inline.xml to .\config\doctypes\samples\iba.xml
3) I added
</doc>
<doc type="iba">
<children>
<doc type="iba"/>
</children>
<creator src="org.apache.lenya.cms.authoring.DefaultBranchCreator">
<sample-name>iba.xml</sample-name>
</creator>
<tasks>
<task id="publish"/>
</tasks>
<workflow src="workflow.xml"/>
</doc>
to .\config\doctypes\doctypes.xconf
4) I add
<item uc:usecase="create" uc:step="showscreen" href="?
doctype=iba"><i18n:text>New Iba</i18n:text></item>
to .\config\menus\generic.xsp
5) I added
<sourcetype name="iba">
<document-element local-name="iba"/>
</sourcetype>
to parameter-doctype.xmap
6) I copied inline.css to resources .\shared\css\iba.css
7) I copied ./xslt/page2xhtml-homepage.xsl to
./xslt/page2xhtml-iba.xsl
8 I create iba2xhtml.xsl
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:default="http://cocoon.apache.org/lenya/pubs/default/1.0"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:template match="default:links">
<div id="title" bxe_xpath="/iba/page/Article/title">
Bitflux Editor - The Wysiwyg XML Editor
</div>
<div id="main" bxe_xpath="/iba/page/Article/main"> </div>
</xsl:template>
</xsl:stylesheet>
What I receive from bxe is twice the message that there is no
bxe_xpath definition found.
I have also some other tries not based in the bxe inline example with
almost the same behaviour if I replace the bxe_path by a “*”
I get one element but no childs shown in the top left select box of bxe.
For any idea are welcome
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: how to get bxe work with lenya with none xhtml?
Posted by Peter Heintz <Pe...@Knorr-Bremse.com>.
Yes the howto I have used, but it don’t help me to solve my problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: how to get bxe work with lenya with none xhtml?
Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
On Mon, 6 Sep 2004, Peter Heintz wrote:
> On 6.9.2004 15:50 Uhr, Peter Heintz wrote:
>
> After fiddling around with different versions of lenya and bxe my last
> problem has gone somehow. But I am still not able to get bxe working
> for none xhtml doctypes.
Have you checked the howto on custom doctypes on the lenya wiki?
--
JP
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org