[jdom-interest] Schema

Kenworthy, Edward edward.kenworthy at exchange.co.uk
Mon Jun 4 00:35:05 PDT 2001

Load the schema as another instance of a JDom Document and use that.

-----Original Message-----
From: Kiss Gábor [mailto:kissg at freemail.hu]
Sent: 30 May 2001 10:58
To: jdom-interest at jdom.org
Subject: [jdom-interest] Schema

Hello everyone!
I again turn to the list with a Validation question.
I write an XML editor in which the user can only edit the content and
attributes of an element. No modifications to the structure are allowed.
I would like to read -for example- the restrictions from the schema, so that
user could choose among those restrictions, and couldn't type in anything
For example for a postition attribute one could choose center, left or right
from a drop-down list.
I'm looking for the simplest way to do it.
Thanks a lot,
Gabor Kiss

More information about the jdom-interest mailing list