Download
Forums
Read Review

XML Everywhere

Download
Cooktop
The free XML editor for Windows

What is it?

  • Cooktop is an editor and development environment for XML, DTD, and XSLT documents
  • Cooktop is a Windows application
  • Best of all, it's free!

Need help?  Have a bug report, tip, or suggestion?

 

XSLT CookbookBeginning XML
XSLT Programmers Reference 2nd Edition
XSLT and XPATH on the EdgeBeginning XSLTJava and XSLT (O'Reilly Java)

Our Clients:
Edmonton Carpet Cleaning
Swimsuits


System Requirements

  • Version 2.5: NT4/2000/XP Only
  • Version 2.2: 95/98/98SE/ME/NT4/2000/XP

Features

  • Color-coded XML, DTD, and XSLT editing
  • Check well-formedness and validate
  • Stylesheet testing with almost any XSLT engine
  • XPATH testing
  • Customizable "Code Bits" library
  • XML formatting via Tidy
  • Small download, small footprint

How to Test Stylesheets

  1. Choose Open from the File menu
  2. In the File/Open dialog under "Load the file in:" select "Current Window"
  3. Open an XML file
  4. Open an XSL file using File/Open
  5. Set run-time parameters via Options/ All Options/ XSLT Properties/ Run Time Parameters
  6. Press one of the XSLT buttons in the toolbar or choose from the XML menu

Note!  If your stylesheet produces HTML and you use the Microsoft XSLT engine, your stylesheet must produce an <HTML> top-level node.  Otherwise you will get an error about UTF-16.

For stylesheets that generate XML, it is advised that they start with:

<xsl:output method="xml" indent="yes"/> 

This causes the "result" and "result(HTML)" tabs to display the XML in the most readable format.


How to use the XPATH Console

  1. Click the "xpath console" tab
  2. Type in an XPATH statement
  3. Press control-1 to see a list of all of the valid XPATH statements in your document - you can double-click on an expression to insert it into the console
  4. To the right of the XPATH enter "values:" to see the values returned by the XPATH or "nodes:" to see the nodes
  5. Example:
    nodes: /xml/data
  6. Move the caret to the line containing the XPATH statement
  7. Press control-e or Enter

Note to MSXML3 programmers:  The console uses XPATH which differs from the older version of Microsoft's "pattern" syntax.  If you're programming against MSXML3 and want to use XPATH instead of MS patterns in methods like selectNodes, you need to set the SelectionLanguage property:

CComPtr<IXMLDOMDocument2> idom2;
CComVariant v(L"XPath");
idom2->setProperty(CComBSTR("SelectionLanguage"),v);


License Agreement

Cooktop 2.5 saves files in the editor, without asking, before running various tools such as XSLT transformations and validation.

Assume that Cooktop will overwrite your file with the current contents of the editor at any given time!

Make a backup of your files handy before you open them in Cooktop.

 

Cooktop is (c) 2001-2003 Victor Pavlov.  All Rights Reserved.

Cooktop is freeware and may be used for any purpose without royalty.  However, you may not sell Cooktop or distribute it with commercial software without contacting us first.

THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COOKTOP'S CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Privacy Statement

Cooktop doesn't have a registration form and doesn't send any data back to a central server.  All future communication to a central server, if any, will be done only for product upgrades and will not send personally identifiable information to the server.   We do not sell our mailing lists to anyone.  We do not use third-party cookies.