Re: wanted: insert templates
Christian Stocker <[email protected]> Mon, 01 Nov 2004 16:55:19 +0100
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
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
--
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