Dear Hussein Shafie,

I want to thank you for sending the information to me, I hope you do not think of me as a fool, I feel like one. I just wanted to thank you for your time in helping me. You see here are the dtd and css files I'm trying to put in. Again thank you.
Harry

-----Original Message----- From: Hussein Shafie
Sent: Friday, August 12, 2011 10:27 AM
To: Harry Bailey
Cc: '[email protected]'
Subject: Re: [XXE] How to use a dtd file

On 08/12/2011 03:35 PM, Harry Bailey wrote:

I 'm looking at that you sent me and I went in to see how to get XMLmind to look at it, I went to Writing a configuration file for XXE, I have a problem
it says Create a subdirectory named example1 in the addon/ subdirectory of
XXE user preferences directory. I can not find the XXE user preferences
directory these are the examples where it should be:

     $HOME/.xxe4/ on Linux.

     $HOME/Library/Application Support/XMLmind/XMLEditor4/ on the Mac.

     %APPDATA%\XMLmind\XMLEditor4\ on Windows 2000, XP, Vista.

     Example: C:\Documents and Settings\john\Application
Data\XMLmind\XMLEditor4\ on Windows 2000 and XP.
C:\Users\john\AppData\Roaming\XMLmind\XMLEditor4\ on Windows Vista.

     If you cannot see the "Application Data" directory using Microsoft
Windows File Manager, turn on Tools>Folder Options>View>File and
Folders>Show hidden files and folders. I also did this last part too. I'm
using a windows 7 32 bit system.

So where would I add the new subdirectory to?

XXE has two addon/ directories. If you have sufficient permissions, you
may install your example1 add-on in either directory.

A simple trick to learn where these addon/ directories are found is to
select menu item "Options|Preferences" and then to select "Install Add-ons".

See attached screenshot. The box drawn in red shows you the location of
the user-specific addon/ directory. The box drawn in magenta shows you
the location of the system-wide addon/ directory.

Note that if for any reason, the  user preferences directory (which
contains the first addon/ directory) does not exist and/or cannot be
created by XXE, then XXE will not be fully functional.

----------
IMPORTANT: Developers installing or uninstalling add-ons *by* *hand*
should disable the "Quick Start Cache". (Otherwise XXE will fail to see
the add-ons installed by hand.) This is done by unchecking the "Quick
Start Cache" check box in "Options|Preferences", "Advanced|Cached Data
section".

More information:
http://www.xmlmind.com/xmleditor/_distrib/doc/help/advancedOptions.html#cacheOptions
----------








--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Attachment: recipebook.dtd
Description: Binary data

/*

This cascading style sheet can be used to style raw RecipeBook XML
[http://www.happy-monkey.net/recipebook/] in a XML/CSS capable browser
like Mozilla Firefox. [http://www.mozilla.org/products/firefox/]
It is also handy to use with XML editors like XMLMind's XXE
[http://www.xmlmind.com/xmleditor] that use CSS for presenting the
document while editing.

recipebook-xml.css was written by David Horton

*/

hyperlink {
  display: inline;
  color: #0000FF;
  text-decoration: underline;
}

cookbook {
  display: block;
  background-color: #FFFFFF;
  font-family: sans-serif;
  font-size: 12pt;
  margin: 12pt;
  padding: 12pt;
}

cookbook>title {
  font-size: 18pt;
  font-weight: bold;
}

section {
  display: block;
  background-color: #FFFFFF;
  font-family: sans-serif;
  font-size: 12pt;
  margin: 12pt;
  padding: 12pt;
}

section>title {
  font-size: 16pt;
  font-weight: bold;
}

recipe {
  display: block;
  background-color: #FFFFFF;
  font-family: sans-serif;
  font-size: 12pt;
  margin: 12pt;
  padding: 12pt;
}

recipe>title {
  font-size: 14pt;
  font-weight: bold;
}

recipeinfo {
  display: block;
  margin-top: 12pt;
  margin-bottom: 12pt;
}

author {
  display: block;
}

author:before {
  display: inline;
  content: "Recipe by: ";
}

blurb {
  display: block;
}

genre {
  display: block;
}

genre:before {
  display: inline;
  content: "File under: ";
}

preptime {
  display: block;
}

preptime:before {
  display: inline;
  content: "Preparation Time: ";
}

source {
  display: block;
}

source:before {
  display: inline;
  content: "Source: ";
}

yield {
  display: block;
}

yield:before {
  display: inline;
  content: "Yield: ";
}

ingredientlist {
  display: block;
  margin-top: 12pt;
  margin-bottom: 12pt;
}

ingredientlist:before {
  display: block;
  content: "Ingredients";
  font-weight: bold;
  margin-bottom: 12pt;
}

ingredient {
  display: block;
}

preparation {
  display: block;
  margin-top: 12pt;
  margin-bottom: 12pt;
}

preparation:before {
  display: block;
  content: "Preparation Instructions";
  font-weight: bold;
  margin-bottom: 12pt;
}

serving {
  display: block;
  margin-top: 12pt;
  margin-bottom: 12pt;
}

serving:before {
  display: block;
  content: "Serving Suggestion";
  font-weight: bold;
  margin-bottom: 12pt;
}

notes {
  display: block;
  margin-top: 12pt;
  margin-bottom: 12pt;
}

notes:before {
  display: block;
  content: "Notes";
  font-weight: bold;
  margin-bottom: 12pt;
}

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to