[Home] [By Thread] [By Date] [Recent Entries]
> Can a tool create an example instance from the > assertions just as it can from the XSD? Theoretically yes if the validation was a subset of Schematron capabilities and if the validation was considered to be authoritative - a complete validation of the XML format - but basically the correct answer would be it wouldn't be worth doing because any single Schematron validation is not likely to provide all XML structures allowed in a format. Schematron usage is generally to validate the parts that need validating. As an example consider if I wanted to validate an Invoice calculation model, that could be done via a Schematron with XPath 2.0 quite easy, but it certainly couldn't be usable to generate a structure. Cheers, Bryan Rasmussen
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



