|
element amount | ||||||||||
| Jump: DOCUMENTATION | SOURCE | FRAMES NO FRAMES | ||||||||||
| Type Heirarchy |
|---|
{http://www.w3.org/2001/XMLSchema}float (by extension) {http://www.xml-cml.org/schema/cml2/core}amount |
| Abstract | false (This can be used in an instance) |
|---|---|
| Nillable | false (Instance values cannot use xsi:nil) |
| Target Namespace | http://www.xml-cml.org/schema/cml2/core |
| Declared Namespaces | xmlns:val=http://www.w3.org/1999/XSL/TransformX xmlns:stm=http://www.xml-cml.org/schema/stmml xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:xlink=http://www.w3.org/1999/xlink xmlns:cml=http://www.xml-cml.org/schema/cml2/core xmlns=http://www.xml-cml.org/schema/cml2/core |
The units attribute is mandatory and can be customised to support mass, volumes, moles, percentages, or rations (e.g. ppm).
<cml title="substanceList example">
<substanceList id="s1">
<amount units="units:ml">100</amount>
<substance id="s1">
<amount units="units:l">1</amount>
<molecule id="h2o" ref="mols:water"/>
</substance>
<substance id="s2">
<amount units="units:mole">0.1</amount>
<molecule id="nacl" formula="Na 1 O 1 H 1"/>
</substance>
</substanceList>
</cml>
|
element amount | ||||||||||
| Jump: DOCUMENTATION | SOURCE | FRAMES NO FRAMES | ||||||||||
![]() |
||
| Stylus Studio XML Schema Library Home | ||
| Site Map | Privacy Policy | Terms of Use | Trademarks |