From: pkiddie <pk...@us...> - 2005-07-28 11:10:55
|
Update of /cvsroot/stack/stack-1-0/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22610/scripts Modified Files: Tag: development_xml stackXML.php Log Message: Updated order of question fields to reflect that of db Index: stackXML.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackXML.php,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** stackXML.php 20 Jun 2005 15:42:55 -0000 1.3 --- stackXML.php 28 Jul 2005 11:10:45 -0000 1.3.2.1 *************** *** 1,220 **** ! <?php ! ! /** ! * XML import and export of STACK questions. ! * ! * @package scripts ! * @subpackage Stack ! */ ! ! /** [...1587 lines suppressed...] ! $xml.=stack_schema_write_element_document($arrayKey,$questionField['mysql'],$questionField['doc']); ! } ! ! else { ! $xml.=stack_schema_write_element($arrayKey,$questionField['mysql']); ! } ! ! } ! } ! } ! ! //Terminate a sequence of metadata tags ! $xml.='</xs:sequence>'; ! ! //We must now tag the 'metadata' tag with a version attribute ! $xml.= stack_schema_write_attribute('version', true); ! ! return $xml; ! } ! ?> |