Re: Edit XHTML Files?

Ulrich Fischer <[email protected]> Sun, 06 Jun 2004 11:58:23 +0200
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>

Hi Cregu,

sorry for writing private Mails.
I didn't realise, that the Reply does not
go to the mailinglist.


On 05.06.2004 18:23 cregu wrote:

>But as I said, BXE doesn't care much about the id stuff here... so you 
>better use 2 different editable areas, one for content and one for 
>rightColumn with bxe_xpath="/body/div[@id='content']" for example. Then 
>the right thing should happen..

Right,
two editable containers in the index.html
<div id="bxe_area" 
bxe_xpath="/xhtml:html/xhtml:body/xhtml:div/xhtml:div[@id='content']">
   <div 
bxe_xpath="/xhtml:html/xhtml:body/xhtml:div/xhtml:div[@id='rightColumn ']">

show the two areas <div id="content"> ... </div> and
<div id="rightColumn"> ... </div> properly.

But unfortunately the rest of the page, which schould not be edited,
is not to be seen and of course the css-position and width of those
containers are not "wysiwyg". Inside of the containers, the
css format is as it should be.


Therefore i tried to put in the index-page only the
<div id="bxe_area"> </div> - Container in the index.html,
hopefully, that I can mark the editable areas in the content-xml
like in the inlineXHTML example:

but the bxe_xpath in content.html seems to work not in that way

<div id="content" 
bxe_xpath="/xhtml:html/xhtml:body/xhtml:div/xhtml:div[@id='content']">

as well as

<div id="content" bxe_xpath="/html/body/div/div[@id='content']">
or
<div id="content" bxe_xpath="/html/body/div/div">

Does not work. Alert: No bxe_xpath definitions found in your
layout(HTML)file.


------------------

If the <div id="bxe_area"> container in the index.html file
gets a bxe_xpath like:
         <div id="bxe_area" bxe_xpath ="/xhtml:html"></div>

an the bxe_xpath-containers in content.xml are "nearly" working,
so im am shure the root-path is correct.

But by the first click a JS-error occurs:
         Error: thisNode.parentNode has no properties
         File: test/js/bxeFunctions.js
         Row: 1092


I cannot realy see where the inline Examples
import the XML-File with the content in the index.html.

But also a pure index-html without an bxe_area-container
does not work.

It is some sort of secret to me.


Ulrich

-- 
Ulrich Fischer * sunfish - webdesign * http://www.sunfish.de
Eckeystraße 12 * 58708 Menden-Halingen *  Fon: 02378/890 410

              

-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users