From: <Mar...@wa...> - 2006-06-30 12:17:18
|
Hi Robert, I had intended to bring this up at the developers' meeting on Tuesday, but = unfortunately I could not attend. When I create a sample XML file based on the AnIML core schema in XMLSpy,=20 it starts like this: ---------------------------------------------------------------------------= ------------------------------------------------------ <?xml version=3D"1.0" encoding=3D"UTF-8"?> <!--Sample XML file generated by XMLSpy v2005 sp1 U=20 (http://www.xmlspy.com)--> <AnIML xmlns=3D"urn:org:astm:animl:schema:core:draft:0.2" xmlns:ds=3D" http://www.w3.org/2000/09/xmldsig#" xmlns:xsi=3D" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=3D" urn:org:astm:animl:schema:core:draft:0.2:\DOCUME~1\MARENF~1.CLC\LOCALS~1\Te= mp\notes6030C8\animl-core.xsd " version=3D"0.2"> <SampleSet id=3D"ID000000"> ---------------------------------------------------------------------------= ------------------------------------------------------ A CML file created the same way starts with: ---------------------------------------------------------------------------= ------------------------------------------------------ <?xml version=3D"1.0" encoding=3D"UTF-8"?> <!--Sample XML file generated by XMLSpy v2005 sp1 U=20 (http://www.xmlspy.com)--> <cml xmlns=3D"http://www.xml-cml.org/schema/cml2/core" xmlns:val=3D" http://www.w3.org/1999/XSL/TransformX" xmlns:xlink=3D" http://www.w3.org/1999/xlink" xmlns:stm=3D" http://www.xml-cml.org/schema/stmml" xmlns:xsi=3D" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=3D" http://www.xml-cml.org/schema/cml2/core:\DOCUME~1\MarenF.CLCDOM\MYDOCU~1\Pr= ojekte\AnIML\OTHERR~1\CML\cmlCore.xsd " dictRef=3D"AA:AA" title=3D"String" convention=3D"AA:AA" id=3D"AA:AA"/> ---------------------------------------------------------------------------= ------------------------------------------------------ So the root element actually is <AnIML...> as you requested. Mit freundlichen Gr=FC=DFen / Best regards Maren.=20 Dr. Maren Fiege Senior Product Manager =20 Waters GmbH Europaallee 27, D-50226 Frechen, Germany Tel.+49 2234 9207 - 0 Fax +49 2234 9207-99 http://www.waters.com/informatics=20 "Prof. Robert John Lancashire" <rob...@uw...>=20 Sent by: ani...@li... 12.06.2006 22:37 To "Burkhard Schaefer" <bur...@bu...> cc Maren=5F...@wa..., ani...@li... Subject [Animl-develop] AnIML query Maren and Burkhard, I have released an update to JSpecView where MeasurementData is replaced by ExperimentStepSet and generated a dozen or so files with the revised tags. I can email them to you if you want to put them on sourceforge. I have another query for you... In CML they use =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D <spectrum id=3D"$ident" title=3D"$title" convention=3D"jcamp:DX4.24" xmlns=3D"http://www.xml-cml.org/schema" xsi:schemaLocation=3D"http://www.xml-cml.org/schema ../../schema.xsd" xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" xmlns:siUnits=3D"http://www.xml-cml.org/units/siUnits" xmlns:units=3D"http://www.xml-cml.org/units/units" xmlns:nmr=3D"http://www.nmrshiftdb.org/dict" xmlns:cml=3D"http://www.xml-cml.org/dict/cmlDict" xmlns:dc=3D"http://purl.org/dc/elements/1.1/" type=3D"$specinits"> or it may be contained in a CML wrapper like... <cml xmlns=3D"http://www.xml-cml.org/schema" xsi:schemaLocation=3D"http://www.xml-cml.org/schema ../../schema.xsd" xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" xmlns:siUnits=3D"http://www.xml-cml.org/units/siUnits" xmlns:units=3D"http://www.xml-cml.org/units/units" xmlns:nmr=3D"http://www.nmrshiftdb.org/dict" xmlns:cml=3D"http://www.xml-cml.org/dict/cmlDict" xmlns:dc=3D"http://purl.org/dc/elements/1.1/"> <spectrum id =3D......> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D For AnIML, why is it necessary to have an XML container? Why can't it start with <ANIML ...... I want to be able to easily distinguish the two forms by something other than file extension since xml could be either. I suspect that aml extensions may go the same way as cml and so I need to be able to recognise them from the namespaces or something simple. any suggestions Robert =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Animl-develop mailing list Ani...@li... https://lists.sourceforge.net/lists/listinfo/animl-develop |