7. ASOLib—OpenROAD Server Library : XML Parameters for Use with GSCPs : How You Can Preprocess and Postprocess the XML : XML Postprocessing
 
Share this page                  
XML Postprocessing
Use postprocessing to change the generated XML before it is returned to the client. For example, it may be necessary to convert or transform the generated XML tags and values into a different XML vocabulary using a third-party eXtensible Style Language Transformation (XSLT) engine. Postprocessing of the XML string occurs immediately prior to the XML being returned through the b_so_xml parameter.
For example, the GSCP scp_getauthorandbooks XML output shown in the previous example could be transformed into a document with the following format:
<Root>
    <Author ID="101">
        <Age>23</Age>
        <Name>P.S.Eudonym</Name>
    </Author>
</Root>