XSLT stylesheets to remove and enforce namespace prefixes for WCMP

11 views
Skip to first unread message

Eizi

unread,
Jun 12, 2012, 8:03:52 AM6/12/12
to wmo-i...@googlegroups.com
Hi all,

Just for your info: please find attached XSLT stylesheets that enforces standard (or recommended or whatever) namespace prefixes of WCMP.  It may be incomplete because it's real quick hack.  It comes with another stylesheet that removes prefixes (converts all known elements into default namespaces) to create test data.  That one is of course much more ugly :)

In the hypothetical future, if GISC were to enforce the ban on default namespace (in draft 1.3), they have to run such filter to enforce some prefixes.  Such filter has to have specific list of prefixes anyway.

Please note that I'm not so enthusiastic on such enforcing.  Rather I tend to be on KISS principle side.  Even if there's no systematic enforcement, these filters may be useful for creators.

Best,
Eizi
prefix-rewriting-xslt.zip
Reply all
Reply to author
Forward
0 new messages