source: pmb4.2/trunk/fuentes/pmb/admin/convert/imports/output_xml.inc.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 793 bytes
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: output_xml.inc.php,v 1.10 2010-11-30 15:36:51 arenou Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9function _get_header_($output_params) {
10global $charset;
11
12if (isset($output_params["CHARSET"]))
13        $charset = $output_params["CHARSET"];
14
15$r="<?xml version=\"1.0\" encoding=\"$charset\"?>\n";
16$r.="<".$output_params['ROOTELEMENT'][0][value].">\n";
17$r.=$output_params['ADDHEADER'][0][value];
18return $r;
19}
20
21function _get_footer_($output_params) {
22        $r=$output_params['ADDFOOTER'][0][value];
23        return $r."</".$output_params['ROOTELEMENT'][0][value].">";
24}
Note: See TracBrowser for help on using the repository browser.