Skip to content

Instantly share code, notes, and snippets.

@wcandillon
Created September 29, 2011 15:09
Show Gist options
  • Save wcandillon/1250928 to your computer and use it in GitHub Desktop.
Save wcandillon/1250928 to your computer and use it in GitHub Desktop.
(: The "news-data" Library Module :)
module namespace news-data = "http://www.news.org/lib/data";
import schema namespace news-schemas = "http://www.news.org/schemas/schemas";
declare collection news-data:employees as schema-element(news-schemas:employee)*;
declare collection news-data:articles as node()*;
declare variable $news-data:employees := xs:QName("news-data:employees");
declare variable $news-data:articles := xs:QName("news-data:articles");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment