Thanks for trying anyway! :)
Hussein Shafie wrote:
>Dominique Lind wrote:
>
>
>>On Windows %p does not work for me, only file:///%P or file:\\\%P
>>works. When converting to PDF, HTML etc, I've customised xslMenu.incl
>>to use stylesheets found in the same directory location as the document
>>you're trying to convert.
>>
>>When using file:///%P to specify the location of the stylesheets, it
>>works as expected:
>>
>>Transforming XML file "__doc.xml" to "__doc.fo" using
>>"file:///C:\CTC_Benchbook/stylesheets/fo/mystyle.xsl"
>>Compiling style sheet "file:/C:/CTC_Benchbook/stylesheets/fo/mystyle.xsl"
>>
>>When using %p I get the error "Command execution has failed":
>>
>>Transforming XML file "__doc.xml" to "__doc.fo" using
>>"file:/C:/CTC_Benchbook/stylesheets/fo/mystyle.xsl"
>>Compiling style sheet
>>"file://SAURON/C:/CTC_Benchbook/stylesheets/fo/mystyle.xsl"
>>
>>SAURON is the server name where my customisations live, ie in
>>F:\.windata\Application Data\XMLmind\XMLEditor\addon\config\docbook\,
>>where the F drive is mapped to \\SAURON\username\.
>>
>>
>
>Hussein Shafie wrote:
>
>
>>Well, I see what happens.
>>
>>Using %p/xxx, the URL of the style sheet should be
>>"file:///C:/CTC_Benchbook/stylesheets/fo/mystyle.xsl"
>>and not
>>"file:/C:/CTC_Benchbook/stylesheets/fo/mystyle.xsl"
>>
>>We'll try to fix this bug (in fact a workaround for a
>>java.io.File.toURI() problem) in next release.
>>
>>
>
>In fact, the bug will not be fixed. The only workaround we have found
>("file://localhost/C:/CTC_Benchbook/stylesheets/fo/mystyle.xsl") breaks
>other software such as RenderX XEP.
>
>--
>XMLmind XML Editor Support List
>xmleditor-support at xmlmind.com
>http://www.xmlmind.com/mailman/listinfo/xmleditor-support
>
>
>
--
Dominique Lind
Systems Officer
Judicial Commission of New South Wales
Phone: (02) 9249 4421
Email: dlind at judcom.nsw.gov.au
Website: www.judcom.nsw.gov.au
__________________________________________________
This Message is intended for the addressee named and may contain confidential
information.
If you are not the intended recipient, please delete it and notify the sender.
Views expressed in this message are those of the individual sender and not
necessarily the views of the Judicial Commission of NSW.