Difference between revisions of "Inlined CML File"
Jump to navigation
Jump to search
m (Fix) |
|||
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"/> |
Revision as of 10:04, 9 January 2007
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.