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

frederic.ouellet at desjardins.com frederic.ouellet at desjardins.com
Thu Oct 21 13:05:53 PDT 2004






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 at davidashen.net>                                                                                                                            
             Envoyé par : owner-xep-support at renderx.com                                                                                                                   
                                                                                                                                                                     Pour 
                                                                             xep-support at 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 at renderx.com                                                                                                                      
                                                                                                                                                                          
                                                                                                                                                                          
                                                                                                                                                                          
                                                                                                                                                                          
                                                                                                                                                                          




frederic.ouellet at 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 at 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 at 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



More information about the Xep-support mailing list