Re: Edit XHTML Files?

Christian Stocker <[email protected]> Fri, 04 Jun 2004 14:31:33 +0200
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>
Hi

On 4.6.2004 14:20 Uhr, Ulrich Fischer wrote:

> Am 04.06.2004 13:11 schrieb Christian Stocker:
> 
>> ok, it does not work in the body element right now. you need a div tag 
>> there. <body><div bxe_xpath="/xhtml:homepage/xhtml:body">
>>
>> </div></body>
> 
> 
> 
> My Try:
>         <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>         <html xmlns="http://www.w3.org/1999/xhtml">
>         <head>
>         <title>Seitentitel</title>
>         </head>
> 
>         <body><div bxe_xpath="/xhtml:homepage/xhtml:body">
>         <p>Best Editor</p>
> 
>         </div></body>
>         </html>

where did you put that? It should be in the index.html (look in 
examples/inlineXHTML for a sample), the same file, where you load the 
whole thing with "bxe_start('config.xml');". As long as you don't have a 
bxe_xhtmlfile defined, it should be ok.

chregu

> 
> Second Try:
>         <?xml version="1.0" encoding="ISO-8859-1"?>
>         <homepage xmlns="http://www.w3.org/1999/xhtml" 
> xmlns:xhtml="http://www.w3.org/1999/xhtml">
> 
>         <body><div bxe_xpath="/xhtml:homepage/xhtml:body">
>         <p>Best Editor</p>
> 
>         </div></body>
>         </homepage>
> 
> 
> Every time the same alert:
> No bxe-xpath definitions found in your layout (HTML) file.
> 
> ???
> 
> Ulrich
> 

-- 
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