Re: how to get bxe work with lenya with none xhtml?
Christian Stocker <[email protected]> Mon, 06 Sep 2004 15:56:28 +0200
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Hi 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. 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 > > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | gnupg-keyid 0x5CE1DECB -- bx-editor-users mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users