All configurations are validated and works - that is, until I remove the
xsl folder. It uses css from the addon dir for styling and uses
templates and dtd's which are installed on another drive on the
computer. No problem there. I now wanted to make an installation of my
addon to deploy it in the company, and in that relation I wanted to
clean out the files I do not need. 
That's where I discovered the problem. 


-- 
Med venlig hilsen / Best regards

Kim Schulz


-----Original Message-----
From: [email protected]
[mailto:xmleditor-support-bounces at xmlmind.com] On Behalf Of Hussein
Shafie
Sent: 4. september 2006 13:34
To: Kim Schulz
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] Problems creating Addon

Kim Schulz wrote:
> I am trying to modify the Docbook addon such that it uses some
templates
> and xsl which is installed another place than in the addon directory. 
> 
> Normally the addon folder contains the following dirs:
> Css/
> Templates/
> Dtd/
> Xsl/
> 
> I want to have DTD, XSL, and Templates installed elsewhere (since they
> are available via our corporate styles elsewhere). I have modified the
> xxe file to point to the right templates (which then points to the
right
> dtd's). 
> The only place I could find a reference to the XSL was in the file
> xslMenu.incl which is included from the xxe file. I commented out the
> inclusion and then removed the xsl/ dir. But now the XMLeditor does
not
> show my templates in the list anymore.
> Does the editor need anything else from the xsl folder which is
included
> elsewhere in the system? 

No. (Except that the Simplified DocBook configuration also uses
xslMenu.incl and xsl/. You should remove the slides/ and sdocbook/
directories too, unless you need them.)

My guess is that your problem has nothing to do with the xsl/
subdirectory. I suspect that your problem is caused by the modifications
you have made to the docbook.xxe file. (For example, all locations must
be URLs and not filenames.)

[1] Open the modified docbook.xxe and common.incl in XXE. Do you have
validation errors?

[2] Open an existing DocBook document.

* Is it styled?

* When you move the mouse over the document tab, you should see a
tooltip looking like "C:\temp\foo.xml : DocBook".

That is, has XXE recognized the opened document as being DocBook?

If you don't find the problem yourself, do not hesitate to send us an
archive containing the whole configuration.
 
--
XMLmind XML Editor Support List
xmleditor-support at xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support


 To report this email as spam click
https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==
h3byD159u3wOd0DnZ43tX2q!x4ABElebxVT42c+7tfaLhheqL4QJtj!MMFuOUVoRknxqo4sw
dJaPswE7aSEn8aA0bDvpcIo1ag+Ubz0C1ZiPb8kcn6bO2gSiBUjIbT7hFvS9QquE2o7llgjv
Nq3lbwQ9aXhUagBrQpcDkgjgRstmNkzRWvZw8j! .

Reply via email to