Difference between revisions of "Inlined CML File"

From Jmol
Jump to navigation Jump to search
Line 55: Line 55:
 
</jmol>
 
</jmol>
  
Neither of these examples currently displays.
+
Both of these examples display if (and only if) the CML contents is put inside <code>&lt;![CDATA[</code> and <code>]]&gt;</code> tags.

Revision as of 07:07, 7 June 2006

Inlined CML File

This inline example is of a datafile in XML format, but fully carried in a declared namespace of xmlns:cml="http://www.xml-cml.org/schema/cml2/core. In theory, this XML should be processable separately from e.g. the jmol default namespace. Does Mediawiki honour such namespaces?

The next example is the same datafile, but fully escaped.

Both of these examples display if (and only if) the CML contents is put inside <![CDATA[ and ]]> tags.