Once you have built and previewed your report in XML Publisher, you can generate XSLT or XQuery code for it. The generated code includes all the instructions necessary to create the report you composed in XML Publisher in the format (HTML or PDF) you selected when creating the report.