docbook-apps

Re: [docbook-apps] Relative path for highlight.xslthl.config

  • 1.  Re: [docbook-apps] Relative path for highlight.xslthl.config

    Posted 11-22-2011 10:23
    Hi Jirka,

    great tip. Thanks a lot, works perfectly.

    Best regards, Lars

    2011/11/21 Jirka Kosek <jirka@kosek.cz>

    > On 21.11.2011 19:59, Lars Vogel wrote:
    >
    > > Currently:
    > >
    > > > >
    > expression="file:///C:/Users/vogella/workspace/vogella/de.vogella.docbook.first/docbook-xsl-1.76.1/highlighting/xslthl-config.xml"
    > > />
    > >
    > > I did not manage to make the system accept a relative path. Can someone
    > > please share an example?
    >
    > I don't remember details, but there were some problems with relative
    > paths which I don't recall now. But as it seems that you are using Ant,
    > you can use its features to convert relative path into absolute URL,
    > something like
    >
    >
    > <property name="xslthl.config" value=".../xslthl-config.xml"/>
    > <makeurl file="${xslthl.config}" property="xslthl.config.url"/>
    >
    > and then
    >
    > ...
    >
    >
    > Jirka
    >
    > --
    > ------------------------------------------------------------------
    > Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
    > ------------------------------------------------------------------
    > Professional XML consulting and training services
    > DocBook customization, custom XSLT/XSL-FO document processing
    > ------------------------------------------------------------------
    > OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    > ------------------------------------------------------------------
    >



    --
    Lars
    http://www.vogella.de - Eclipse, Android and Java Tutorials
    http://www.twitter.com/vogella - Lars on Twitter