Réf. : Re: R?f. : Re: [xep-support] How can I use FOTransformer with xsl:include relative path.

From: frederic.ouellet@desjardins.com
Date: Thu Oct 21 2004 - 13:05:53 PDT

  • Next message: Jirka Kosek: "Re: [xep-support] [docbook-apps] Internal document links - best practices?"

    David,

    I have just found this solution, this last hour... I have put this also:

        <option name="DISCARD_IF_NOT_VALID" value="false" />

    But, I have the exception from the xsl:include before I can setURIResolve. (at the construction of FOTransformer)

    Can you do a FOTransformer with a URIResolve parameter? With this and the URIResolver set before starting the xsl check of xsl:include, this will work...!

    I must force the FOTransformer to do not resolve the xsl:include tag.

    I am sure, I am not the only one who have been in this situation...

    I continue my research but my boss need some justification right now. 16 hours on this is really tough to justify.

    Please, give me a way to associate the XSL file after I setURIResolver.

    My setParameter experiences was not succesfull... so, I think I cannot associate a xsl file with this method.

    Frédéric Ouellet

                                                                                                                                                                              
                 David Tolpin <dvd@davidashen.net>
                 Envoyé par : owner-xep-support@renderx.com
                                                                                                                                                                         Pour
                                                                                 xep-support@renderx.com
                 2004-10-21 15:18 cc
                                                                                                                                                                              
                                                                                                                                                                        Objet
                                   Veuillez répondre à Re: R?f. : Re: [xep-support] How can I use FOTransformer with xsl:include relative path.
                                 xep-support@renderx.com
                                                                                                                                                                              
                                                                                                                                                                              
                                                                                                                                                                              
                                                                                                                                                                              
                                                                                                                                                                              

    frederic.ouellet@desjardins.com:
    [ Charset ISO-8859-1 unsupported, converting... ]
    >
    >
    >
    >
    >
    > David,
    >
    > My Resolver work well.
    >
    > In debug, I've seen the FOTransformer throw the IO exception because he don't find the include external file. The prob is the validation. The validation of the xsl is
    > done before I can setURIResolver.

    Frederic,

    why can't you just turn validation off? Add

      <option name="VALIDATE" value="false"/>

    to the configuration, or just set it as an option of the
    formatter.

    David
    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Thu Oct 21 2004 - 13:23:54 PDT