You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by George Singer <gs...@lincoln.ac.uk> on 2004/07/29 09:57:12 UTC

xml validation

Is it possible to validate an XML document using a DTD / W3C Schema (for development work only) ?
 
If so can anyone give a simple example
 
regards
 
GeorgeS

Re: xml validation

Posted by Olivier Billard <ob...@jouve.fr>.
Hi George,

This is more a general XML parser question.
You'll find  what you want here :
http://xml.apache.org/xerces2-j/

HTH,
--
Olivier Billard

George Singer wrote:

> Is it possible to validate an XML document using a DTD / W3C Schema (for development work only) ?
>  
> If so can anyone give a simple example
>  
> regards
>  
> GeorgeS


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: xml validation

Posted by Lionel Crine <cr...@4dconcept.fr>.
I have developed an action and a transformer to do validate an xml 
document against a DTD.

But on wiki you can find what you want. There's a transformer called 
ValidationTransformer.


http://wiki.apache.org/cocoon/ValidationTransformer?action=highlight&value=validate


Lionel


George Singer wrote:
> Is it possible to validate an XML document using a DTD / W3C Schema (for development work only) ?
>  
> If so can anyone give a simple example
>  
> regards
>  
> GeorgeS

-- 
Lionel CRINE
Ingénieur Systèmes Documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.46.06.90

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org