An attempt to combine the MIT,BSD,zlib Licenses in one TF Doc.
<?xml version='1.0'?>
<treeform version="0.2">
<container id="inputs" print="false"/>
<container id="main" caption="License Text" format="bbcodep"/>
<container id="notes" caption="Notes" format="bbcodep" print="false"/>
<input id="owner" type="string" hint="your name">Copyright holder's name(s)</input>
<input id="organization" type="string" hint="your organization or company's name or your name if you don't have a company">Copyright holder's organization/company name</input>
<input id="year" type="number" hint="starting year when license takes effect">Year that license begins</input>
<node type="hidden">
<output container="main">
Copyright (c) [b]{%year%}[/b], [b]{%owner%}[/b]
All rights reserved.
</output>
</node>
<node type="radiobox" caption="Start Here" init_checked="true">
<output container="notes">
This Tree Form Document will help you choose between a few common and simple Open Source licenses. Choose the license from the left sidebar tree to see the license text above change.
</output>
</node>
<node type="radiobox" caption="MIT License">
<output container="main">
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
</output>
<output container="notes">
See [url=http://www.opensource.org/licenses/mit-license.php]here[/url] for more info on the MIT license.
</output>
</node>
<node type="radiobox" caption="Simplified BSD">
<node type="hidden">
<output container="main">
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
</output>
</node>
<node type="checkbox" caption="limit source code" init_checked="true">
<output container="main">
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
</output>
</node>
<node type="checkbox" caption="limit binary versions" init_checked="true">
<output container="main">
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
</output>
</node>
<node type="checkbox" caption="no endoresements" init_checked="true">
<output container="main">
* Neither the name of [b]{%organization%}[/b] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
</output>
</node>
<node type="checkbox" caption="advertising clause" hint="this clause is not approved by the OSI and is non-standard as of 1999" init_checked="false">
<output container="main">
* All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by [b]{%organization%}[/b] and its contributors.
</output>
<output container="notes">
This advertising clause was [url=ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change]removed[/url] from the official BSD license in 1999 and is not approved by the OSI (Open Source Initiative).
</output>
</node>
<output container="notes">
See [url=http://www.opensource.org/licenses/bsd-license.php]here[/url] for more info on the BSD license.
</output>
</node>
<node type="radiobox" caption="zlib/libpng License">
<output container="main">
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
.
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
.
3. This notice may not be removed or altered from any source distribution.
</output>
<output container="notes">
See [url=http://www.opensource.org/licenses/zlib-license.php]here[/url] for more info on the zlib/libpng license.
</output>
</node>
</treeform>