Difference between revisions of "Inlined CML File"

From Jmol
Jump to navigation Jump to search
m (Fix)
m (add to Category)
 
Line 54: Line 54:
  
 
Both of these examples display if (and only if) the CML contents is put inside <code>&lt;![CDATA[</code> and <code>]]&gt;</code> tags.
 
Both of these examples display if (and only if) the CML contents is put inside <code>&lt;![CDATA[</code> and <code>]]&gt;</code> tags.
 +
 +
[[Category:Pages Using Jmol MW Extension]]

Latest revision as of 20:39, 23 November 2010

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.