[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] xml validation
Subject: [xsl] xml validation From: "max toro q" <maxtoroq@xxxxxxxxx> Date: Mon, 16 Jun 2008 13:30:17 -0400 |
Hello list, I would be very grateful if you can share some of your experience to help me make a decision. In my next project I want to implement xml validation for documents built using values entered in html forms. An important requirement is being able to map errors in elements or atributes back to the textboxes from which the values came from. My platform is .net, and my xslt processor is saxon-b. In .net you have support for xml schema, and I can read a whole document and capture all the errors and local-names of elements and attributes, but I cannot use my own error messages (a far as I know), and I would have to write I lot of xsd code and some c#. I'm not looking at xforms because I don't know any .net implementation, I want complete control over html and I want complete separation between html and validation rules. Schematron seems like a very friendly and extensible solution built on top of xslt. Maybe I could even take advantage of the built-in atomic types in xslt2, and for example test if the 'price' element has a valid string value for an xs:integer type, using the <castable as> operator (i don't know if this would work). Has anyone here used Schematron for my use case? My intention is to use xslt2 as my primary programming language. Thanks, Max
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Check the last character , David Carlisle | Thread | Re: [xsl] xml validation, Wendell Piez |
Re: [xsl] apply-templates vs. call-, Greg Fausak | Date | Re: [xsl] xml validation, Wendell Piez |
Month |
Keywords