Mandy,
We are also using XMetaL (v1.2) and the EAD Cookbook. I put
my XML documents in a newly created "EADs" folder and the
Cookbook XSL stylesheets in the "Display" folder.
Have you edited the ead.mcr file in the "Macros" folder to
point to the stylesheet correctly? I renamed the style
sheet we use to ead.xsl and modified ead.mcr to read:
// Path to XSLT stylesheet is hard coded
var xslPath = Application.Path + "\\Display\\ead.xsl";
This is found about 3/4 of the way down the document.
See section 7.2 of the Cookbook.
Terry
____________________________________________________
Mr. Terry Brandsma, Information Technology Librarian
ERIT, Jackson Library [log in to unmask]
UNC Greensboro, P.O. Box 26175 336.334.4238
Greensboro, NC 27420-6175 fax 336.334.5399
http://library.uncg.edu/
"If you don't know where you're going, any road will
take you there." Tom Magliozzi
On Mon, 11 Sep 2000 16:14:56 -0500 Mandy Oates
<[log in to unmask]> wrote:
> Hopefully someone out there can help me handle this problem - thanks in
> advance for any ideas!
>
> Situation:
> I have a validated xml document (located in my "Documents" directory),
> and an ead stylesheet taken from Michael Fox's EAD Cookbook, (located in
> my "Styles" directory). I have not yet been able to transform this xml
> document into html.
>
> In XMetaL, when I have my document open in "Tags On", I see my nice
> validated document with the tags on. When I go to "Page Preview", I see
> the template for the stylesheet but WITH NO DATA - that is, none of my
> document shows up in the stylesheet - I just see the stylesheet's
> background color and headers, and the links for "Return to Table of
> Contents", etc.
>
> Question:
> Why is this happening?!
> Do I have to transform the file into html before I can see what it will
> look like with the stylesheet?
> Or could it be that I have the stylesheet in the wrong directory?
>
> Thanks very much,
> Mandy Oates
|