Re: wanted: insert templates
Patrick Kollitsch <[email protected]> Mon, 01 Nov 2004 17:03:41 +0100
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Organization | akademie.de GmbH |
| Message-ID | <[email protected]> |
that worked! thank you.
patrick
Christian Stocker wrote:
>
>
> On 1.11.2004 16:49 Uhr, Patrick Kollitsch wrote:
>
>> hi again,
>>
>>> function bxeInsertBox () {
>>> bxe_insertContent('<box><titel>titel</titel><xhtml:p>inhalt</xhtml:p></box>')
>>> }
>>
>>
>>
>> this function seems to have a problem with namespaces. it removes the
>> xhtml from the p-tag on inserting. we worked around it with an
>> extra-p-tag in our namespace, but maybe its an issue to other
>> functionality out there ;)
>
>
> You have to declare the namespace in that snippet, IIRC
> <box
> xmlns:xhtml="http://www.w3.org/1999/xhtml"><titel>titel</titel><xhtml:p>inhalt</xhtml:p></box>
>
>
> should help. hopefully
>
> chregu
>
>>
>> greetings
>> patrick
>
>
--
Patrick Kollitsch - Entwicklung
[email protected] - tel: (030) 616 55-164 fax: -120
akademie.de asp GmbH http://www.akademie.de
--
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users