From: Chris S. <san...@us...> - 2005-07-18 10:15:59
|
Update of /cvsroot/stack/stack-1-0/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28313/scripts Modified Files: stackXML.php Log Message: Index: stackXML.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackXML.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** stackXML.php 18 Jul 2005 10:13:51 -0000 1.5 --- stackXML.php 18 Jul 2005 10:15:45 -0000 1.6 *************** *** 256,267 **** { //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(); ! stack_schema_escape_root(); ! stack_schema_create_enum_types(); //End of schema '</xs:schema>'; --- 256,267 ---- { //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(). ! stack_schema_escape_root(). ! stack_schema_create_enum_types(). //End of schema '</xs:schema>'; |