[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Xpath and msxml

  • To: bob mcwhirter <bob@w...>
  • Subject: RE: Xpath and msxml
  • From: Cristi Rusu <crirus@d...>
  • Date: Mon, 25 Mar 2002 16:34:24 +0200
  • Cc: xml-dev@l...
  • Return-receipt-to: Cristi Rusu <crirus@d...>

rusu cristi
In AUTOR I have this 4 elements AUTORVORNAME, AUTORNACHNAME, AUTORVORNAME,
AUTORNACHNAME
I need last AUTORNACHNAME from AUTOR to insert the FN

P.S. : /AUFSATZ/RUBRIK/ARTIKEL/AUTOR[position()=last()]/AUTORVORNAME give me
second element, I mean first AUTORNACHNAME

-----Original Message-----
From: bob mcwhirter [mailto:bob@w...] 
Sent: Monday, March 25, 2002 4:24 PM
To: Cristi Rusu
Cc: xml-dev@l...
Subject: Re:  Xpath and msxml



First guess, and pardon typos, and that's not my language:

 /AUFSATZ/RUBRIK/ARTIKEL/AUTOR[position()=last()]/AUTORVORNAME

Really, you need the AUTORVORNAME from the last AUTOR block, as I understand
it, no?

	-bob


On Mon, 25 Mar 2002, Cristi Rusu wrote:

> 
> 
> -----Original Message-----
> From: Cristi Rusu
> Sent: Monday, March 25, 2002 4:16 PM
> To: 'michael.h.kay@n...'
> Cc: '=SMTP:xml-dev@l...'
> Subject: RE:  Xpath and msxml
> 
> 
> Hello!
> Me again with Xpath issues:)
> 
> I have this XML:
> 
> <AUFSATZ>
> 	<RUBRIK>Wirtschaftsrecht</RUBRIK>
> 		<ARTIKEL>
> 			<AUTOR>
> 				<AUTORVORNAME>MARKUS</AUTORVORNAME>
> 				<AUTORNACHNAME>L&OUML;TZSCH
> 					<FN ID="CA9312002000" ART="STERN">
> 						<TEXT>
> 							<ABSATZ>Die
> Verfasser sind Rechtsreferendare in Stuttgart und W&uuml;rzburg und 
> verbringen zur Zeit ihre Auslandswahlstation bei Anw&auml;lten in New 
> York/ABSATZ>
> 						</TEXT>
> 					</FN>
> 				</AUTORNACHNAME>
> 			</AUTOR>
> 			<AUTOR>
> 				<AUTORVORNAME>KATRIN</AUTORVORNAME>
>  
> <AUTORNACHNAME>SCHLECHT</AUTORNACHNAME>
>                 		</AUTOR>
> 			<AUFSATZTITEL>Aktuelle Entwicklungen im
> US-amerikanischen Warenzeichenrecht</AUFSATZTITEL>
> 			<UNTERTITEL>Der Fall
> &rdquor;Windows&rdquor;</UNTERTITEL>
> 		</ARTIKEL>
> 	</AUFSATZ>
> 
> How to select the last <AUTORNACHNAME> to insert the FN tag curently 
> inserted at first <AUTORNACHNAME>.
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an 
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.