[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Validating and Viewing XSL-FO Output
At 2003-07-30 09:17 -0400, CHAUDHURI, Neil wrote:
I have written a stylesheet utilizing XSL-FO There is no "parent schema" ... the document type definition for XSL-FO is in prose, not in any machine processable syntax. The same is true for XSLT. A schema expression of constraints is only useful if it can successfully express all the constraints that are defined (otherwise you would only get partial validation, which some would argue is less useful than no validation ... at the least it could be misleading). XSLT processors and XSL-FO processors need to act on your instances and these applications validate the correctness of your instances against the constraints expressed in the prose of the Recommendations. Of what use is an external document type expression when the processor is going to validate it anyway when it acts on the document? When I write a document model for my vocabularies, or use a model such as DocBook, this tells me my structure is correct for stylesheet or other processing because stylesheets don't do validation and processors and applications are made simpler if they can assume the inputs are already validated. Without an expression language powerful enough to express the constraints, XSLT and XSL-FO processors validate your inputs in order to find the information they are looking for in order to implement the processing model described by the Recommendation. Dave pointed you to the answer to your second question regarding processing your XSL-FO ... that will give you the validation you are looking for ... the http://xmlsoftware.com site is a good place to learn about available tools. I hope this helps. ................. Ken -- Upcoming hands-on courses: in-house corporate training available; North America public: XSL-FO Aug 4,2003; XSLT/XPath Aug 12, 2003 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-11-X Practical Formatting Using XSL-FO Member of the XML Guild of Practitioners: http://XMLGuild.info Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|