0 Replies Latest reply on Apr 15, 2014 5:17 AM by Sarankup

    XSLT - Processing Instruction failure

    Sarankup Level 1



      For large volume of XML to PDF productions, we apply XSLT using Saxon processors before improting into InDesign, though InDesign has built-in XSLT processor. For one of a tiny project, I tried to used InDesign in-built XSLT, by which Processing-instruction does not created in the output. Here goes my sample XSLT.


      <xsl:template match="book-chapter/title">


          <xsl:apply-templates select="@*|node()"/>

          <xsl:processing-instruction name="RRH"><xsl:value-of select="."/></xsl:processing-instruction>

          <xsl:processing-instruction name="LRH"><xsl:value-of select="ancestor::book/book-meta/book-title-group/book-title"/></xsl:processing-instructi on>




      In the above case, both RRH and LRH Processing-instructions are not created in InDesign. Please advise how to fix?