Sprawa polega na tym, że mam do przerobienia bazę danych wykonaną przez MS Access. MS Access generuje dwa pliki: XML oraz XSD. Próbki zamieszczam poniżej.
Pytanie jest takie: Jak do tego podejść? Jestem początkujący, ale nie oczekuję gotowego rozwiązania. Chciałbym się dowiedzieć jakich narzędzi do tego użyć: nazwy funkcji - dalej sobie poradzę (manual). Mile widziane ewentualne wskazówki. Dysponuję serwerem z php 4.1.2 z włączoną obsługą XML (XML Support: active; XML Namespace Support: active; EXPAT Version: expat_1.95.2). Brak dostępu do innej konfiguracji serwera.
Literature.xml
<?xml version="1.0" encoding="UTF-8"?> <dataroot xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Literature.xsd"> <Literature> <Index>14</Index> <Author1>Ong S.K.</Author1> <Author2>Mannan M.A.</Author2> <Title>Virtual reality simulations and animations in a web-based interactive manufacturing engineering module</Title> <ClasA>92</ClasA> <ClasB>200</ClasB> <Type>A</Type> <Journal><![CDATA[Computers & Education 43 (2004) 361–382]]></Journal> <Abstract>This paper presents a web-based interactive teaching package that provides a comprehensive and conducive yet dynamic and interactive environment for a module on automated machine tools in the Manufacturing Division at the National University of Singapore. The use of Internet technologies in this teaching tool makes it possible to conjure visualisations that cannot be achieved using traditional teaching materials such as transparencies. Virtual reality simulations and animations were developed and appropriately placed in the teaching materials to enhance the student understanding of complex concepts. This is especially useful in teaching automated machine tools, which deals primarily with the numerical control (NC) of the motions of automated machine tools. These virtual reality simulations and animations provide the capability of training students in NC programming and operations without the need to work on actual NC machines in the laboratory. The simulations are suitably placed in the package to engage the students and enhance their concentration, while at the same time generate interactions. Customised question types were also designed and implemented with a tutorial monitoring application.</Abstract> <Nota>university learning</Nota> <Source>04081812585902236.pdf</Source> </Literature>
Literature.xsd
<?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:od="urn:schemas-microsoft-com:officedata"> <xsd:element name="dataroot"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element ref="Literature"/> </xsd:choice> </xsd:complexType> </xsd:element> <xsd:element name="Literature"> <xsd:annotation> <xsd:appinfo> <od:index index-name="PrimaryKey" index-key="Index " primary="yes" unique="yes" clustered="no"/> <od:index index-name="PanelLiterature" index-key="ClasB " primary="no" unique="no" clustered="no"/> <od:index index-name="PanelLiterature1" index-key="ClasA " primary="no" unique="no" clustered="no"/> <od:index index-name="TypeLiterature" index-key="Type " primary="no" unique="no" clustered="no"/> </xsd:appinfo> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element name="Index" od:jetType="autonumber" od:sqlSType="int" od:autoUnique="yes" od:nonNullable="yes"> <xsd:simpleType> <xsd:restriction base="xsd:integer"/> </xsd:simpleType> </xsd:element> <xsd:element name="Author1" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="50"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Author2" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="50"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Author3" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="50"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Author4" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="50"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Author5" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="50"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Title" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="255"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="ClasA" minOccurs="0" od:jetType="longinteger" od:sqlSType="int"> <xsd:simpleType> <xsd:restriction base="xsd:integer"/> </xsd:simpleType> </xsd:element> <xsd:element name="ClasB" minOccurs="0" od:jetType="longinteger" od:sqlSType="int"> <xsd:simpleType> <xsd:restriction base="xsd:integer"/> </xsd:simpleType> </xsd:element> <xsd:element name="Type" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="50"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Journal" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="100"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Abstract" minOccurs="0" od:jetType="memo" od:sqlSType="ntext"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="536870910"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Keywords" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="255"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Nota" minOccurs="0" od:jetType="memo" od:sqlSType="ntext"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="536870910"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Source" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="100"/> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema>
Pozdrawiam.