we want Unix version of sample.xml document:
saxon -o unixsample.xml sample.xml profile.xsl "os=unix"
profiled document unixsample.xml can be
processed by any DocBook tool
implementation is able to handle multiple profiling targets in
you can perform profiling based on several attributes in one
saxon -o xsample.xml sample.xml profile.xsl "os=win" "ul=beginner"