31
Oct
Element constructors: computed and direct
Author: Dave Cassel | Category: Software DevelopmentIn XQuery, you can build an element one of two ways: computed or direct. Direct This is the simpler case, so I’ll take it first. Direct means that your XQuery code has the XML you want to build: declare namespace blog = “http://davidcassel.net/blog”; <blog:example simple=”true”> Â <blog:pointless/> </blog:example> XML is a natural data structure for […]