Raw output

The XML output of a Berlioz service prior to transformation. It is always application/xml using utf-8.

The raw output is what is being fed into the XSLT transformer to generate the final output returned by Berlioz. When using kickstart or the standard mapping the raw output is available using the .src extension.

berlioz transformation

XML

The raw output is always XML and has the following structure.

<root service="[service_id]" group="[group]">
  <!-- Only one header, always first -->
  <header>
    <location scheme="[http|https]" host="[host]" port="[port]" path="[path_info].[ext]" query=""
                base="[scheme]://[host][maybe_port]">[base][path]?[query]</location>
    <path info="[path_info]" extension=".[ext]"/>
    <http-parameters>
      <parameter name="[name]">[value]</parameter>
      <parameter name="[name]">[value]</parameter>
    </http-parameters>
    <uri-parameters>
      <parameter name="[name]">[value]</parameter>
    </uri-parameters>
    <berlioz version="0.10.2" mode="[mode]">
  </header>
  <!-- As many content elements as there are generators defined in services.xml -->
  <content generator="[class_name]"
                name="[short_name]"
              target="[target]"
              status="[status]"
                etag="[etag_if_cacheable]"> ... </content>

  ...

</root>

Created on , last edited on