[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Using Wiki for KDE (User/Devel) Documentation
From: Anders Lund <anders () alweb ! dk>
Date: 2005-02-21 10:13:59
Message-ID: 200502211114.00501.anders () alweb ! dk
[Download RAW message or body]
On Monday 21 February 2005 10:40, Andras Mantia wrote:
> [Self-advertising follows]
...
Ok, me too :)
About what kate does with the XMO tools + XML validation plugins
To get the support in Kate
* enable the two plugins (from the kdeaddons modules)
* Open your docbook file and assign a DTD (XML->Assign DTD)
You will now have autocompletion of valid tags, attributes and entities, a
shortcut for closing the nearest open tag, a action (ctrl + kp enter) to mark
up your selection, which includes a drop down of valid tags if a DTD is
assigned, and a validater which passes the file through XMLLINT and shows you
a list of clickable errors (clicking will take you to the error line).
This of course works for a lot of XML formats, the current distribution
contains meta DTDs* for XHTML, HTML, KDE Docbook, kpartgui, kconfigxt, Kates
highlight language and xslt.
Using the plugin with no DTD assigned is of course still providing the close
tag and markup actions, but no autocompletion, as well as the validater will
only check well-formed-ness without a DTD.
*) 'Meta DTD' is a processed DTD produced by the dtdparse tool, which you can
download from CPAN or from dtdparse.sf.net. You can use the tool to produce
new meta DTDs for any DTD of your choice.
-anders
--
www: http://alweb.dk
jabber: anderslund@jabber.dk
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic