pseudoq-puzzle-1.0.dtd

来自「PseudoQ is an open source java applicati」· DTD 代码 · 共 53 行

DTD
53
字号
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2005 The PseudoQ Project.

This file is part of PseudoQ.

PseudoQ is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

PseudoQ is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with PseudoQ; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-->
<!--
    Description:
        Document type definition of a file format for loading and saving puzzles.
    Author     : <a href="http://sourceforge.net/users/stevensa">Andrew Stevens</a>

    PUBLIC ID  : -//PseudoQ//DTD Puzzle v1.0//EN
    SYSTEM ID  : http://pseudoq.sourceforge.net/dtds/pseudoq-puzzle-1.0.dtd
-->

<!ELEMENT puzzle (givens, grid, solution?, comment?)>
<!ATTLIST puzzle type CDATA #REQUIRED>
<!ATTLIST puzzle version CDATA #FIXED "1.0">

<!ELEMENT givens (coordinate*)>

<!ELEMENT grid (cell*)>

<!ELEMENT cell (coordinate, value)>

<!ELEMENT coordinate EMPTY>
<!ATTLIST coordinate row CDATA #REQUIRED>
<!ATTLIST coordinate column CDATA #REQUIRED>

<!ELEMENT value (#PCDATA)>

<!ELEMENT solution (grid, step*)>

<!ELEMENT step (coordinate, explanation)>

<!ELEMENT explanation (#PCDATA)>

<!ELEMENT comment (#PCDATA)>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?