*** empty log message ***
[project/fckeditor.git] / lib / editor / filemanager / browser / default / connectors / asp / basexml.asp
1 \feff<!--
2  * FCKeditor - The text editor for internet\r
3  * Copyright (C) 2003-2004 Frederico Caldeira Knabben\r
4  * \r
5  * Licensed under the terms of the GNU Lesser General Public License:\r
6  *              http://www.opensource.org/licenses/lgpl-license.php\r
7  * \r
8  * For further information visit:\r
9  *              http://www.fckeditor.net/\r
10  * \r
11  * File Name: basexml.asp\r
12  *      This file include the functions that create the base XML output.\r
13  * \r
14  * Version:  2.0 RC2\r
15  * Modified: 2004-12-10 17:00:56\r
16  * \r
17  * File Authors:\r
18  *              Frederico Caldeira Knabben (fredck@fckeditor.net)
19 -->
20 <%\r
21 Sub CreateXmlHeader( command, resourceType, currentFolder )\r
22         ' Create the XML document header.\r
23         Response.Write "<?xml version=""1.0"" encoding=""utf-8"" ?>"\r
24 \r
25         ' Create the main "Connector" node.\r
26         Response.Write "<Connector command=""" & command & """ resourceType=""" & resourceType & """>"\r
27         \r
28         ' Add the current folder node.\r
29         Response.Write "<CurrentFolder path=""" & ConvertToXmlAttribute( currentFolder ) & """ url=""" & ConvertToXmlAttribute( GetUrlFromPath( resourceType, currentFolder) ) & """ />"\r
30 End Sub\r
31 \r
32 Sub CreateXmlFooter()\r
33         Response.Write "</Connector>"\r
34 End Sub\r
35 %>