From: peter murray-r. <pm...@ca...> - 2007-09-26 20:17:03
|
At 15:20 26/09/2007, Rajarshi Guha wrote: >Hi, I have been working on a format for specification of >pharmacophores and when I define distances I want to also specify >units. I know that CML allows unit specification, but I'm a little >confused as to how it does it - does it define it's own schema for >units? If you look in the examples there should be some called unit.xml, unitType.xml, etc. >My schema is written in RelaxNG and the units are defined as >attributes of an element. > >However it's not clear to me how one goes about include unit >information. My approach was below: > > <define name="distanceUnitsDef"> > <choice> > <value>A</value> > <value>nm</value> > <value>pm</value> > </choice> > </define> > >But if I understand, this merely defines the symbols used for the >units attribute and doesn't necessarily mean anything outside of this >schema Correct. I assume you want units of length. At present I don't think our dictionaries, including the units, are on SVN and I will check with Jim. P. >Is there an official schema for measurement units? How would one >incorporate that into a RelaxNG schema? > >Thanks, > >------------------------------------------------------------------- >Rajarshi Guha <rg...@in...> >GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE >------------------------------------------------------------------- >All seems condemned in the long run to approximate a state akin to >Gaussian noise. > -- James Martin > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2005. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >_______________________________________________ >cml-discuss mailing list >cml...@li... >https://lists.sourceforge.net/lists/listinfo/cml-discuss Peter Murray-Rust Unilever Centre for Molecular Sciences Informatics University of Cambridge, Lensfield Road, Cambridge CB2 1EW, UK +44-1223-763069 |