Hi

I've created the directory and files:

[jison at emboss19 custom]$ pwd
/homes/jison/.xxe4/addon/custom

[jison at emboss19 custom]$ ls
0docbook5.xxe  chunk.xsl  fo.xsl  readme

I've edited 0docbook5.xxe to include the property (for chunk.xsl only).
I haven't added anything (yet) to chunk.xsl

When I try to convert my document to HTML, I get an error (Failed to parse 
stylesheet)

...
Copying file "file:/opt/xxe-pro-4_4_0/addon/config/docbook5/xsl/css/html.css" to
"/tmp/xxe9175896339809769997/html.css"
Transforming XML file "__doc.xml" to "__doc.html" using "<property 
name="db5.toHTML.transform">"
Compiling style sheet "file:/homes/jison/.xxe4/addon/custom/chunk.xsl"
Fatal error: Error reported by XML parser


All files are attached.

Any help appreciated

Jon



> Jon Ison wrote:
>>
>> I've been trying to customize the XSLT style sheets used in the Convert 
>> Document submenu
>> according
>> to the instructions here:
>> http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customize_xslt.html
>>
>> I need a couple of things clarifying.
>>
>> I've created chunk.xsl for my customisations - but where should this file 
>> go?  At the moment it
>> is
>> down from my home directory:
>> ~/.xxe/custom/chunk.xsl
>>
>> Second question is, to which file do I add the property:
>>
>> <property name="db5.toHTML.transform"
>>   url="true">chunk.xsl</property>
>>
>> The instructions say "custom .xxe file" but I'm not sure where this should 
>> be.
>>
>
> --> It's all wrong. Please remove everything you did because this will
> get in the way.
>
>
>
> --> Please take the time to carefully read Chapter 5. "Customizing an
> existing configuration" --
> http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html
> -- from its *start*.
>
> It explains this:
>
> [1] Create XXE_user_preferences_dir/addon/custom/
>
> (on Linux, XXE_user_preferences_dir is ~/.xxe4/, not ~/.xxe/. See
> http://www.xmlmind.com/xmleditor/_distrib/doc/configure/dtd_example.html#xxe_user_preferences_dir)
>
> [2] Copy 0docbook5.xxe to custom/.
>
> (Open the customizing.html page in your Web browser, then right-click on
> the 0docbook5.xxe link, then select "Save Link As" from the popup menu)
>
>
>
> Next, as explained in Section 5.10. "Customizing the XSLT style sheets
> used in the Convert Document submenu" --
> http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customize_xslt.html
>
> [3] Copy chunk.xsl to custom/.
>
> [4] Add one of the following property configuration elements to your
> custom .xxe file:
>
> ---
> <property name="db5.toHTML.transform"
>   url="true">chunk.xsl</property>
> ---
>
> Your custom .xxe file is XXE_user_preferences_dir/addon/custom/0docbook5.xxe
> You have created it in step #2.
>
>
> ---
> PS: This level of support is reserved to the customers of XMLmind XML
> Editor Professional Edition. Please identify yourself as such by using
> an email address which has been registered with our customer database.
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0docbook5.xxe
Type: application/octet-stream
Size: 850 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20100128/0f04047c/attachment.dll
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chunk.xsl
Type: application/xml
Size: 137 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20100128/0f04047c/attachment.xpdl
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fo.xsl
Type: application/xml
Size: 136 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20100128/0f04047c/attachment-0001.xpdl
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ManualConventions.xml
Type: text/xml
Size: 5157 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20100128/0f04047c/attachment.xml
 

Reply via email to