 These directives are replaced by the generated content so that the resulting, augmented XML document can be subject to further processing with XSL Transformations.XSP pages are transformed into Cocoon producers, typically as Java classes, though any scripting language for which a Java-based processor exists could also be used.Directives can be either XSP built-in processing tags or user-defined library tags.