XML and XSLT in XPP

I have a XML and its corresponding XSLT to generate a desired HTML. How can I apply these styles to the XML when it is imported in XPP?

Thanks in advance.

Parents Reply Children
  • Hi Bart,

    Our data is in DITA format and we need to generate HTML and PDF from it. The styling is not necessarily uniform and is sometimes complex, hence we cannot apply a single style-sheet for all documents. The page breaks are also required to be added in both HTML and PDF. We were hoping to import the merged DITA XML in XPP and generate both the required outputs. Is this possible?

    We were also hoping to use the web service to automate this process.
  • Hi Deveayni

    With careful planning this should all be possible but mapping out the exact requirements before starting is going to be the key to this. XPP takes XML in any format so that is not a problem, PDF production can then be achieved using that imported XML and different style sheets can be used dependant on required output. If you then export the XML after XPP composition, ie the XML that made the PDF, and add special options you can make sure the page breaks are added to the XML export - so from there a transform to HTML with the page breaks is perfectly possible. Web Services is just the automation of the project so again yes this should all be perfectly possible. A lot of this will require custom scripting but agian all perfectly possible.