Xatapult's XML Blog

05/04/2012

XQuery functions with side effects – How to handle?

Filed under: How-to,Tips and trics — xatapult @ 14:12
Tags:

XQuery is the language for working with XML databases. It can also be used as a general purpose language for working with XML.

If you have functions in XQuery with side effects (e.g. updating a log) that return something you don’t want to use, you have a serious problem. This blog explores this and proposes some solutions. (more…)

26/04/2011

XSLT types against typos

Filed under: How-to,Tips and trics,Uncategorized — xatapult @ 07:13
Tags: ,

Some tiny typing mistakes in your XSLT stylesheet can cause major headaches. Why? Because they go undetected by the standard static and dynamic error checking mechanisms. Something as simple as writing /Filename where it should be /FileName will only show up if your own test/debug efforts find it and will not be trapped by the XSLT engine. Unless… (more…)

09/09/2009

Schema references

Filed under: How-to — xatapult @ 12:43
Tags: , ,

How do you associate a schema with an XML document? It’s easy but the details also easily forgotten. A summary and a how-to. (more…)

Blog at WordPress.com.