RE: Schematron: Categories of Usage?
Hi Roger, Last time i used Schematron to validate sitemap files during project builds. By sitemap files i mean XML documents where the element structure is used to denote URLs of a web application, something like: <root> <user> <login /> <logout /> </user> <products> <!-- ... -> </products> </root> Anyway, one would want to ensure that all denoted URIs are unique, i.e. that arbitrary element names are unique between siblings. It took seconds with Schematron but, if possibhle at all, it would take a lot more with another schema language. I haven't bothered to find out. Dunno how would one describe this without flattening everything down to "power of XPath" or without getting way too funny like "sub-document context random uniqueness?" :-) Free time for hacking is limited. Schematron really works while not getting in the way, so "Hacking" deserves to be a (great) category IMHO. Cheers, Manos PS: Now that i think about it, since even my error pages are XHTML docs, i may even try to use this to check against 404s/obsolete paths during validation. Heh.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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