Since each <c02> is the name of another newspaper, you could assign an id
attribute value to each c02 and use that as a variable for the file name.
Since you use XT, the fragment might look like this.
<xsl:variable name="file" select="concat(@id,'.html')"/>
From: Blake Carver [mailto:[log in to unmask]]
Sent: Wednesday, May 29, 2002 3:46 PM
To: [log in to unmask]
Subject: Breaking Into Multiple Files again, more, continued...
I really appreciate your help on my troubles so far. Now I am on to a new
one, some what related to the first problem with breaking files up that
Stephen Yearl and Michael Fox were able to help me with.
Now I need to break a second series into files, hopefully based on
information contained in a title level.
I need to break the XML into multiple files on the C02 level, but I am
hoping to get the name of that html file to be created from the TITLE level
that is down the tree further.
So can I somehow create those files name based on the the c02 > unittitle >
c02 > did > unittitle > title
Each one of those files will contain all the c02 level data.
Or, can I somehow code some attribute into the c02 tag to tell the xslt
what to name the file?
e.g. < c02 level="otherlevel" filename="blake.html" >
That would allow me to name that c02 level's file blake.html.
Is there an EAD element that would allow me to do that?
c02 <-- Break into seperate files on C02
title <-- Name of HTML file comes from here
My XML is here:
and XSL is here:
The Ohio State University Libraries
[log in to unmask]