You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stavros Kounis <go...@osmosis.gr> on 2003/06/09 11:56:45 UTC

xml validation

hi people

i want to make same sql queries using cocoon and get the result in XML.

is it possible to make e validation of this xml output (using DTD).

for example i want my pipeline return a XML stream when this stream is
valid or another XML stream (just like error message) if the stream was
in-valid.

a first think is to make an action based aproach?

is this the right way or not ?


thnx for your comments


-- stavros


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


Re: xml validation

Posted by g4 <ja...@root10.net>.
On Monday, Jun 9, 2003, at 10:56 Europe/London, Stavros Kounis wrote:

>
> hi people
>
> i want to make same sql queries using cocoon and get the result in XML.
>
> is it possible to make e validation of this xml output (using DTD).
>
> for example i want my pipeline return a XML stream when this stream is
> valid or another XML stream (just like error message) if the stream was
> in-valid.
>
> a first think is to make an action based aproach?

I don't know if I'm right in saying this, but couldn't this be done 
through Schematron?

http://www.ldodds.com/papers/schematron_xsltuk.html


>
> is this the right way or not ?
>
>
> thnx for your comments
>
>
> -- stavros
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
>
Jason Lane

Developer
Root10 developments


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