[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Sudoku stylesheet

Subject: Re: Sudoku stylesheet
From: Eric Bréchemier <eric.brechemier@xxxxxxxxx>
Date: Tue, 14 Feb 2006 08:30:29 +0100
eric br chemier
I started working on such a transform about one month ago.
I can share a first implementation which solved succesfully the few
sudokus I tested:
http://eric.brechemier.name/project/sudoku/2005-02-14-sudoku-xslt.zip

The transform annotates sudoku squares with allowed and forbidden
values, using three "human-like" reasonings, which can help to
determine the level of the puzzle. The result of the transform is an
updated sudoku state.

It is still a little rough at the edges, so any feedback will be much welcome.
I am especially interested in any suggestion on how to allow the
transform to loop without getting inconsistent values in xsl:keys.

Eric

On 2/13/06, andrew welch <andrew.j.welch@xxxxxxxxx> wrote:
> Does one exist?
>
> I've been asked if it's possible to solve a Sudoku puzzle with XSLT,
> which I replied "of course"...
>
> I've started to write one myself - its gets pretty hard pretty
> quickly, has anyone does this before?

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.