Using RELAX NG to Generate WXS
-
While I'd prefer to use RNG
for features like co-occurrence constraints, a better match between XML's capabilities and
those of the schema language, and a generally friendlier lack of barriers on what I can do
-
The world seems stuck in WXS
I'm writing about Office 2003's XML capabilities at the moment: they're all tied to WXS.
When I create new formats, some portion of users want WXS. This would be depressing, if I had to work
with WXS
-
Instead...
I write in RELAX NG Compact Syntax, occasionally using the RELAX NG XML syntax, and then I
convert my schemas to WXS using Trang. So long as I don't get excited about RELAX NG features (like
non-determinism and co-occurrence constraints) which aren't supported in WXS, I can work in RELAX NG
and share in WXS (and DTDs, for that matter.)
-
Writing format, destination format
It's odd to create in one format while targeting another. On the other hand, it's not that
much stranger than writing in a programming language and delivering results for multiple platforms.
-
RELAX NG tools growing, though
Data binding, directed editing, and other common WXS-dependent features are more and more
available for RELAX directly
Previous Page <
TOC
> Next Page