LISTSERV mailing list manager LISTSERV 16.0

Help for EAD Archives


EAD Archives

EAD Archives


[email protected]


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

EAD Home

EAD Home

EAD  September 2004

EAD September 2004

Subject:

Re: daoloc attribute

From:

Mark Carlson <[log in to unmask]>

Reply-To:

Encoded Archival Description List <[log in to unmask]>

Date:

Thu, 23 Sep 2004 14:27:15 -0700

Content-Type:

TEXT/PLAIN

Parts/Attachments:

Parts/Attachments

TEXT/PLAIN (494 lines)

First, let me say, that what I propose is not an EAD standard, just one
interpretation based on the XLink specification.  But the fact that EAD
aligned itself more with the requirements for XLink in Version 2002
specifically by moving the Behavior attributes "show" and "actuate" out of
locator elements such as <daoloc> into the <arc> element means, IMO, that
we need to follow the structure for XLink if we want to use those
attributes.  And to correctly utilize <arc> in extended elements, you need
to create "traversal pairs" of resources.

Let's dissect this a little bit.

Let's say we have this type of standard hyperlink:

<a href="document.html" target="_blank">click here</a>

The "traversal pair" here is:

1) the text you click on to initiate the link: "click here"
2) the remote resource that you are traversing to: "document.html"

If you just have two traversal pairs, you can just use a "simple-type"
linking element such as <extref> to create this link in EAD:

<extref href="document.html" actuate="onrequest" show="new">click
here</extref>

If you prefer to utilize an "extended-type" linking element to create this
same link, things are broken out more into separate elements:

The <resource> element is used as a way for the user to initiate the link.
Remember that in extended-type elements, such as <daogrp>, the locator
element <daoloc> does not "...constitute a link just because it has a
locator (href) attribute; unlike a simple-type element, it does not create
an XLink-governed association between itself and the referenced resource."
(XLink 1.0 section 5.1.2 Note).  So we need a way for the user to be able
to initiate the link.

So in this instance, the text "click here" is used.

<linkgrp>
<resource label="start">click here</resource>

or

<daogrp>
<resource label="start">click here</resource>

A "label" attribute is required so that an <arc> element can reference it
when creating links.

If the remote resource you refer to in your locator element (<daoloc>,
etc.) is going to be embedded when the document loads, then the user
doesn't need any text or icon to click on.  It this case, the <resource>
element would be empty, but it is still needed to follow specifications,
because you still need a "traversal pair".

<daogrp>
<resource label="start"></resource>

Now if you wanted to generate some type of icon instead or text that users
would click on, you would set your "actuate" attribute in your <arc>
element to "onrequest".  This would indicate to an XSLT style sheet (or
another transformation engine) that it would need to generate some type of
content for the user to click on when no textual data is provided.
(XLink 1.0 sect. 5.1.1).

The remote resource is pretty straightforward.  We just need to be sure to
give it a value in the "label" attribute so that the <arc> element can
refer to it.

Let's put it all together:

<daogrp>
<resource label="start"></resource>
<daoloc label="image" href="image.jpg" role="image/jpeg"/>
<arc from="start" to="image" show="embed" actuate="onload"/>
</daogrp>

This would theoretically embed an image in your document at the location
of this code when the document loads.  No user intervention would be
required.  Let me show some other scenarios.

<daogrp>
<resource label="start"></resource>
<daoloc label="image" href="image.jpg" role="image/jpeg"/>
<arc from="start" to="image" show="new" actuate="onrequest"/>
</daogrp>

This markup would generate an icon that the user would click on to open
the remote resource.  (Note use of actuate="onrequest" instead of
"embed".  This means that user interaction is required).

<daogrp>
<resource label="start">click here</resource>
<daoloc label="image" href="image.jpg" role="image/jpeg"/>
<arc from="start" to="image" show="embed" actuate="onload"/>
</daogrp>

This markup would generate the text "click here" that the user would click
on to open the link.  The same actuate="onload" is used, except that since
<resource> actually contains text, that text is used to generate a link
instead of an icon being generated.

Let me move on to the "3 traversal pairs" model with two <arc> elements.
This is as far as we can really go in a single unidirectional link.  It
also requires the first traversal to be embedded in the current document.
This type of link occurs in this scenario in HTML:

<a href="largeimage.jpg" target="_blank">
<img src="smallimage.jpg" alt="image"/>
</a>

As I stated previously, I don't believe you can create this type of dual
linking using only simple-type linking elements such as <extptr> or
<extref>.  For demonstration purposes, let's just encode this as a single
embedded image first:

<daogrp>
<resource label="start"></resource>
<daoloc label="image1" href="smallimage.jpg" role="image/jpeg"/>
<arc from="start" to="image1" show="embed" actuate="onload"/>
</daogrp>

This embeds our first image when the documents loads.  The same as just
using an <img> element.

Moving one step further, we now just want to create another traversal from
the first image to the second image.  The "traversal pair" will be "from"
the first image "to" the second image, represented like this:

<daogrp>
<resource label="start"></resource>
<daoloc label="image1" href="smallimage.jpg" role="image/jpeg"/>
<daoloc label="image2" href="largeimage.jpg" role="image/jpeg"/>
<arc from="start" to="image1" show="embed" actuate="onload"/>
<arc from="image1" to="image2" show="new" actuate="onrequest"/>
</daogrp>

No other value other than show="embed" is valid in the first <arc>
element, because once you traverse away from the current document, you
have completed your unidirectional link.  The original document is no
longer held in memory from which to create additional links.

If you are using XSLT to process your XML document, then all you need to
worry about at most (in a unidirectional linking scenario such as this)
is two <arc> elements.  I use the MIME types in the "role" attribute of
the locator element to indicate to the style sheet what type of linking
element to use to display the resource.  You may want to embed an image,
in which case, image/jpeg would indicate that the <img> element is to be
used in an HTML output.  If you wanted to embed a sound file, you might
use "audio/mpeg" which would trigger the style sheet to use the <object>
element instead.  For style sheet processing, you basically match each
<arc> element and then check to see what else is required to create the
link based on the "behavior" attributes in that element.

The "from" attribute in first <arc> matches or points to the "label"
attribute of your starting resource <resource>: how the user initiates the
link (or doesn't, depending on the "actuate" attribute set in the <arc>
element).  This is the "starting" resource.

The "to" attribute in <arc> points to the "label" attribute of the remote
resource you are traversing to <daoloc>, etc.  This is the "ending"
resource.

Similarly, in a second <arc> element, the "from" and "to" attribute values
point to the elements that have those same values in the "label"
attribute.

To demonstrate:

"click here" --> image 1 opens


image 1 (already open) --> image 2 opens


starting resource "from" --> ending resource "to"

I hope this has clarified things a bit more.  It is rather complex, but
once you get the hang of it, it seems to fit together rather nicely, I
think.

Mark




On Thu, 23 Sep 2004, Hyslop, John wrote:

> After the WC3 recommendation for XML Linking Language (XLink) Version 1.0
> http://www.w3.org/TR/xlink/, Mark's proposal seems to be appropriate for us.
>
>
> The division is encoding a finding aid that describes a collection of
> images.  We'd like to have a thumbnail of the image embedded in the finding
> aid and have the user be able to see a larger version of the image.  I think
> I understand how most of the <daogrp> element works.  I don't understand the
> <resource> element and the FROM and TO attributes.
>
> John Hyslop
> Assistant Division Manager
> Long Island Division
> Queens Borough Public Library
> 89-11 Merrick Boulevard
> Jamaica, New York 11432
> (718)990-0770
>
> These opinions are my own and not those of the Queens Borough Public Library
>
>
> -----Original Message-----
> From: Mark Carlson [mailto:[log in to unmask]]
> Sent: Wednesday, September 22, 2004 7:30 PM
> To: [log in to unmask]
> Subject: Re: daoloc attribute
>
> I realized after I sent off that example, that in the current environment,
> where you would have at most two traversals for a unidirectional link (an
> embedded resource and a resource that links away from the current page),
> that it would have been better to put each image in its own <daogrp>
> element.  That means you would have, at most, two <arc> elements using
> this model.  This is much easier to deal with.  Here's how I would have
> revised what I sent:
>
> <daogrp>
> <resource label="start"/>
> <daoloc label="image" role="image/jpeg" href="firstimage.jpg"/>
> <arc from="start" to="image" show="embed" actuate="onload"/>
> </daogrp>
>
> <daogrp>
> <resource label="start"/>
> <daoloc label="image" role="image/jpeg" href="secondimage.jpg"/>
> <daoloc label="image2" role="image/jpeg" href="linkout2.jpg"/>
> <arc from="start" to="image" show="embed" actuate="onload"/>
> <arc from="image" to="image2" show="new" actuate="onrequest"/>
> </daogrp>
>
> <daogrp>
> <resource label="start"/>
> <daoloc label="image" role="image/jpeg" href="thirdimage.jpg"/>
> <arc from="start" to="image" show="embed" actuate="onload"/>
> </daogrp>
>
> This also means that it is much easier to handle in XSLT, because you will
> have, at most, two <arc> elements and if you had two <arc> elements, one
> of them would have to be embedded.
>
> Mark
>
> On Tue, 21 Sep 2004, André Kahle wrote:
>
> > But then, what XSL is needed to transform this example into HTML?
> >
> > Andre Kahle
> > SHLM & INFOKA
> >
> > A 11:18 2004/09/21 -0700, vous avez écrit :
> > >I would argue that it is very difficult to create anything but a single
> > >hyperlink with a simple-type linking element such as <extptr> or <extref>
> > >because you can't create or establish any real *relationship* between the
> > >elements because they are siblings.  How could you represent this type of
> > >link using simple-type elements?
> > >
> > ><a href="largeimage.jpg" target="_blank">
> > ><img src="smallimage.jpg" alt="image"/>
> > ></a>
> > >
> > >You could use a combination of <extptr>/<extref> (etc.) elements, one
> > >element set to show="embed" (I suppose this could imply that this is the
> > ><img> element in HTML) and another set to show="new" (or "replace").
> > >
> > >However, what about the scenario where you want the first element to just
> > >be an embedded image, and the second element doesn't have any connection
> > >to the first element?  You would need some type of term that identifies
> > >(or disassociates) this relationship.  So I think it could be just as
> > >cumbersome to do this as to use an extended-type linking element where
> you
> > >can establish the relationship between resources, even with single,
> > >uni-directional outbound links.
> > >
> > >In fact, using this scenario, you could create any number of embedded
> > >images and link out from any selected number of them using an <arc>
> > >element to establish to relationship between resources.  In this example,
> > >the first and third images are just embedded images, while the second
> > >image is embedded and also links out to another image.
> > >
> > ><img src="firstimage.jpg" alt="image"/>
> > >
> > ><a href="linkout1.jpg"><img src="secondimage.jpg" alt="image"/></a>
> > >
> > ><img src="thirdimage.jpg" alt="image"/>
> > >
> > >So we only want to link out from the second image.  We could represent
> > >that like this:
> > >
> > >
> > >This may seem needlessly complex, but the trade-off is that we have now
> > >established the exact relationship between resources.  There is no
> > >question as to which links belong together and how each is to be
> > >traversed.
> > >
> > >If you never need to get any more complex that creating a single embedded
> > >image or a single hyperlink, then I agree that this is way more work than
> > >it is worth.  But if you want to go beyond the basics and really extend
> > >the capabilities of EAD and XML, then I think my ideas are worth
> > >considering, even in the present environment.
> > >
> > >Mark
> > >
> > >On Mon, 20 Sep 2004, Fox, Michael wrote:
> > >
> > >> Mark,
> > >>    Thank you for sharing this interesting document.  I have several
> > >> comments in response to the useful issue you raise.
> > >>
> > >> 1.  While it is both true that XLink is the linking mechanism for XML
> > >> and that it can be used for simple and extended links, the truth is
> that
> > >> the environment in which we are now working is actually a mixture of
> XML
> > >> and HTML and that the linking capability we have is limited to the
> > >> simple links now possible in HTML.  I am still waiting to see an all
> XML
> > >> environment where XLink actually functions in a global way and
> extended,
> > >> bi-directional links are possible.
> > >>
> > >> 2.  If this is the case, the use of XLink syntax to generate simple,
> > >> uni-directional HTML links is needlessly complex and unnecessary.  It
> is
> > >> hardly necessary to generate the proper HTML output that would result
> > >> from a transformation.  Theoretically interesting to be sure.  Am I
> > >> missing something here?
> > >>
> > >> 3.  Your chart associates <extref> solely with the HTML <a> element but
> > >> it might also need to generate an <img> element where the text in
> > >> <extref> is used to produce a caption for an external image rather than
> > >> the link text in an <a>.  The differentiation of these two possible
> > >> outcomes, an HTML <a> or an HTML <img> in an HTML transformation, is
> the
> > >> reason why one needs the embed and new values in the show attribute
> with
> > >> <extptr>.
> > >>
> > >> Michael Fox
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> -----Original Message-----
> > >> From: Encoded Archival Description List [mailto:[log in to unmask]]On Behalf
> Of
> > >> Mark Carlson
> > >> Sent: Friday, September 17, 2004 8:03 PM
> > >> To: [log in to unmask]
> > >> Subject: Re: daoloc attribute
> > >>
> > >>
> > >> I don't believe this is true.  XLink forms the basis for all linking
> > >> elements in XML, both simple (extptr, etc.) and extended (daogrp,
> linkgrp,
> > >> etc.).  In the XLink specification, section 2.1, it states that "one of
> > >> the common uses of XLink is to create hyperlinks".  A standard <A>
> > >> hyperlink is called an "outbound" link in XLink and that type of link
> can
> > >> be created with a simple-type linking element or, as per section 5.2
> > >> states, using as extended link to create simple link functionality (see
> > >> example in this section "Simple Link Functionality Done with an
> Extended
> > >> Link").  But using an extended link in this way requires additional
> > >> elements since the "behavior" attributes are contained in the <arc>
> > >> element in EAD.  (Section 5).
> > >>
> > >> A document I'm working on presents one interpretation for how this
> could
> > >> be implementated using today's tools (for simple outbound links, that
> > >> is).
> > >>
> > >> I would be interested in comments.
> > >>
> > >> http://staff.washington.edu/carlsonm/XLinkToEAD.pdf
> > >>
> > >> Mark
> > >>
> > >>   On Fri, 17 Sep 2004, Fox, Michael wrote:
> > >>
> > >> > I have been intrigued by this thread with respect to the <daoloc>
> > element.    It is my understanding that this element is applicable only as
> > part of an implementation of bi-directional links within an XLink-enabled
> > technology and I was unaware of any broadly based implementation of same.
> > If someone is using it, I would appreciate a pointer to the application as
> > I've always wondered how this standard would play out in real life.
> > >> >
> > >> > Michael
> > >> > -----Original Message-----
> > >> > From: Encoded Archival Description List [mailto:[log in to unmask]]On Behalf
> > Of Druscie Simpson
> > >> > Sent: Friday, September 17, 2004 1:13 PM
> > >> > To: [log in to unmask]
> > >> > Subject: Re: daoloc attributes
> > >> >
> > >> >
> > >> > Dietra,
> > >> >
> > >> > Ashley is working on this as well.  She received some code from Kathy
> > Wisser, but, while it works just fine on Kathy's PC, it doesn't work on
> > Ashley's!  Check with Ashley on Monday to see where she is on this.
> > >> >
> > >> > Druscie
> > >> > _____________________________________________________________
> > >> > Druscilla R. Simpson
> > >> > Head, Information Technology Branch
> > >> > N.C. State Archives
> > >> > (919) 807-7319 (voice)
> > >> > (919) 733-1354 (fax)
> > >> > [log in to unmask]
> > >> >
> > >> > Opinions expressed in this message may not represent the policy of
> this
> > >> > agency.  E-Mail to and from me, in connection with the transaction of
> > public
> > >> > business, is subject to the North Carolina Public Records Law and may
> be
> > >> > disclosed to third parties.
> > >> >
> > >> > ----- Original Message -----
> > >> > From: Dietra Stanley <mailto:[log in to unmask]>
> > >> > To: [log in to unmask]
> > >> > Sent: Friday, September 17, 2004 12:11 PM
> > >> > Subject: Re: daoloc attributes
> > >> >
> > >> > Hey John can you please forward me his reply...I am having
> significant
> > difficulty in adding dao's into my document also.
> > >> >
> > >> > Do you have a copy of what code i need to add to the style sheet and
> > the dtd files in order for them to recognize i am inserting a dao into my
> xml.
> > >> >
> > >> > gee thanx for any help
> > >> >
> > >> > dietra lynn
> > >> > ----- Original Message -----
> > >> > From: Hyslop, John <mailto:[log in to unmask]>
> > >> > To: [log in to unmask]
> > >> > Sent: Friday, September 17, 2004 11:34 AM
> > >> > Subject: Re: daoloc attributes
> > >> >
> > >> > Thanks to Nick Mangine my confusion has been cleared up.
> > >> >
> > >> > John Hyslop
> > >> > Assistant Division Manager
> > >> > Long Island Division
> > >> > Queens Borough Public Library
> > >> > 89-11 Merrick Boulevard
> > >> > Jamaica, New York 11432
> > >> > (718)990-0770
> > >> >
> > >> > These opinions are my own and not those of the Queens Borough Public
> > Library
> > >> >
> > >> > -----Original Message-----
> > >> > From: Hyslop, John [mailto:[log in to unmask]]
> > >> > Sent: Friday, September 17, 2004 10:17 AM
> > >> > To: [log in to unmask]
> > >> > Subject: daoloc attributes
> > >> >
> > >> > I'm a bit confused and a novice so bear with me.  In the EAD
> > Application Guidelines Version 1.0, Figure 7.6c page 230 shows the daoloc
> > element having the actuate and show attributes.  However the EAD DTD
> > doesn't allow them and the Tag Library doesn't list them.  Why?
> > >> >
> > >> >
> > >> > John Hyslop
> > >> > Assistant Division Manager
> > >> > Long Island Division
> > >> > Queens Borough Public Library
> > >> > 89-11 Merrick Boulevard
> > >> > Jamaica, New York 11432
> > >> > (718)990-0770
> > >> >
> > >> > These opinions are my own and not those of the Queens Borough Public
> > Library
> > >> >
> > >> >
> > >>
> > >
> >
>

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
January 2001
December 2000
November 2000
October 2000
September 2000
August 2000
July 2000
June 2000
May 2000
April 2000
March 2000
February 2000
January 2000
December 1999
November 1999
October 1999
September 1999
August 1999
July 1999
June 1999
May 1999
April 1999
March 1999
February 1999
January 1999
December 1998
November 1998
October 1998
September 1998
August 1998
July 1998
June 1998
May 1998
April 1998
March 1998
February 1998
January 1998
December 1997
November 1997
October 1997
September 1997
August 1997
July 1997
June 1997
May 1997
April 1997
March 1997
February 1997
January 1997
December 1996
November 1996
October 1996
September 1996
August 1996
July 1996
June 1996
May 1996
April 1996
March 1996
February 1996
December 1995

ATOM RSS1 RSS2



LISTSERV.LOC.GOV

CataList Email List Search Powered by the LISTSERV Email List Manager