Example of an XML Pipeline in Stylus Studio

Figure 391 shows the diagram that represents getHoldings.pipeline, which is in the pipelines\stocks folder in the examples project installed with Stylus Studio.

Figure 391. Diagram of getHoldings.pipeline

This particular XML pipeline:

  • Aggregates two XML input sources
  • Validates the output of the XQuery using XML Schema and then either
    • Terminates if the validation fails or
    • Passes the output to an embedded pipeline for additional processing
  • Using XSLT, transforms the embedded pipeline's output to HTML
  • Using XQuery, transforms the same output to PDF using XSL-FO processing
 
Free Stylus Studio XML Training:
W3C Member