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:

Monospaced Font

LISTSERV Archives

LISTSERV Archives

EAD Home

EAD Home

EAD  January 2008

EAD January 2008

Subject:

Testing sibling nodes

From:

Bob Walser <[log in to unmask]>

Reply-To:

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

Date:

Thu, 31 Jan 2008 20:17:01 -0600

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (24 lines)

Hello,

I have an XSL question. I'm trying to select <c0x> entries with
certain <pername>s in the <unittitle> (always a child of <did>) but
my xsl only finds those where the searched-for name occurs first
(when there are multiple names). How can I fix the test? Here is what I have:
                 <xsl:for-each select="//*[@otherlevel='init' and
(contains(./did//persname, $SearchName) or
contains(./did//persname/@normal, $SearchName))]">
                         <xsl:call-template name="init-display"/>
                 </xsl:for-each>
The problem is that (contains(./did//persname $SearchName)) only
tests the first <persname> in a given unittitle. Can someone tell me
how to address this?

Thanks
Bob Walser

Robert Young Walser - [log in to unmask]
The James Madison Carpenter Project
http://www.hrionline.ac.uk/carpenter/
Office telephone 1-612-374-4364
- - - - - - - - - -

Top of Message | Previous Page | Permalink

Advanced Options


Options

Error during command authentication.

Error - unable to initiate communication with LISTSERV (errno=111). The server is probably not started.

Log In

Log In

Get Password

Get Password


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

ATOM RSS1 RSS2



LISTSERV.LOC.GOV

CataList Email List Search Powered by the LISTSERV Email List Manager