This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to include a file?


/ ben <nicolas.marsgui@libertysurf.fr> was heard to say:
| I want to include a file, whose name is defined by a variable. I've
| tried the following:
| <xsl:include href="{$filename}"/>
| 
| But it doesn't work. Does anyone know how to do this?

You can't. You have to setup a URIResolver and do it that way if you
really need runtime control over xsl:include and xsl:import.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | There has never been a perfect
http://www.oasis-open.org/docbook/ | government, because men have
Chair, DocBook Technical Committee | passions; and if they did not have
                                   | passions, there would be no need
                                   | for government.--Voltaire

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]