adding namespaced xml content into node's html output
grobe - November 7, 2009 - 17:11
Hi all,
I know that this is a bit weird, as Drupal and xhtml itself is not that easy. However, the following would allow me to add some great new stuff my website:
I want to display a node, that I can edit as usual (e.g. a page node). But I want to include
a) namespace'd xml content into the node
b) a <script /> element (which would be a link to an external ressource)
I would be fine if I could just paste the xml into the node content:
Here is my content as typed into the textfield of the add content form
<FOO xmlns="http://www.foo.org/specifications/foo-namespace" altImg="foo-alt.png">
<footTag>Here is my xml content</fooTag>
</FOO>
And now my script is linked in:
<script type="text/javascript" src="http://www.foo.org/foo.js" />Would this work out of the box as long as Drupal generates proper xhtml for the page, or would I need to create a filter for this?
