Update of /cvsroot/stack/stack-1-0/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28466/scripts
Modified Files:
stackXML.php
Log Message:
Index: stackXML.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/scripts/stackXML.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** stackXML.php 18 Jul 2005 10:15:45 -0000 1.6
--- stackXML.php 18 Jul 2005 10:16:57 -0000 1.7
***************
*** 257,263 ****
//Write the XML schema header - same for all XML schemas
$xml = '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">'.
! "\n";
'<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>'.
! //Create root element 'metadata';
stack_schema_create_root("metadata").
stack_schema_create_metadata().
--- 257,263 ----
//Write the XML schema header - same for all XML schemas
$xml = '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">'.
! "\n".
'<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>'.
! //Create root element 'metadata'.
stack_schema_create_root("metadata").
stack_schema_create_metadata().
|