2 * FCKeditor - The text editor for internet
3 * Copyright (C) 2003-2004 Frederico Caldeira Knabben
5 * Licensed under the terms of the GNU Lesser General Public License:
6 * http://www.opensource.org/licenses/lgpl-license.php
8 * For further information visit:
9 * http://www.fckeditor.net/
11 * File Name: basexml.php
12 * This is the File Manager Connector for ASP.
15 * Modified: 2004-12-10 17:49:19
18 * Frederico Caldeira Knabben (fredck@fckeditor.net)
21 function CreateXmlHeader( $command, $resourceType, $currentFolder )
23 // Create the XML document header.
24 echo '<?xml version="1.0" encoding="utf-8" ?>' ;
26 // Create the main "Connector" node.
27 echo '<Connector command="' .
$command .
'" resourceType="' .
$resourceType .
'">' ;
29 // Add the current folder node.
30 echo '<CurrentFolder path="' .
ConvertToXmlAttribute( $currentFolder ) .
'" url="' .
ConvertToXmlAttribute( GetUrlFromPath( $resourceType, $currentFolder ) ) .
'" />' ;
33 function CreateXmlFooter()