Difference between revisions of "Inlined CML File"
Jump to navigation
Jump to search
AngelHerraez (talk | contribs) m (add to Category) |
|||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
<size>150</size> | <size>150</size> | ||
<color>red</color> | <color>red</color> | ||
− | <inlineContents><![CDATA[<cml:molecule xmlns:cml="http://www.xml-cml.org/schema/cml2/core" | + | <inlineContents><![CDATA[<cml:molecule xmlns:cml="http://www.xml-cml.org/schema/cml2/core" title="chair.mol"> |
− | |||
<cml:metadataList title="generated automatically from Openbabel"> | <cml:metadataList title="generated automatically from Openbabel"> | ||
<cml:metadata name="dc:creator" content="OpenBabel version 1-100.1"/> | <cml:metadata name="dc:creator" content="OpenBabel version 1-100.1"/> | ||
Line 34: | Line 33: | ||
<size>150</size> | <size>150</size> | ||
<color>orange</color> | <color>orange</color> | ||
− | <inlineContents><![CDATA[<cml:molecule xmlns:cml="http://www.xml-cml.org/schema/cml2/core" | + | <inlineContents><![CDATA[<cml:molecule xmlns:cml="http://www.xml-cml.org/schema/cml2/core" title="chair.mol"> |
− | |||
<cml:metadataList title="generated automatically from Openbabel"> | <cml:metadataList title="generated automatically from Openbabel"> | ||
<cml:metadata name="dc:creator" content="OpenBabel version 1-100.1"/> | <cml:metadata name="dc:creator" content="OpenBabel version 1-100.1"/> | ||
Line 56: | Line 54: | ||
Both of these examples display if (and only if) the CML contents is put inside <code><![CDATA[</code> and <code>]]></code> tags. | Both of these examples display if (and only if) the CML contents is put inside <code><![CDATA[</code> and <code>]]></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.