At 09:34 AM 9/22/2004, Andrew wrote:
> What am I doing wrong???
It's a question of brackets, you want to get all <objectid.contactid>
and then select the first, so use:
(//objectid.contactid)[1]
Or, a little less obscurely,
/descendant::objectid.contactid[1]
(The difference is that the first collects all objectid.contactid nodes
that are children of the root or of some descendant of the root, and takes
the first. The second takes the first objectid.contactid descendant of the
root. They are the same node.)
Cheers,
Wendell
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================