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

xpath question

Subject: xpath question
From: Mulberry Technologies List Owner<xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Jul 2001 16:47:00 -0400
domparser xpath
>From: "Earl Spencer" <eapencer74@xxxxxxxxxxx>
>To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
>Subject: xpath question
>Date: Thu, 26 Jul 2001 15:35:10 +0000
>
>Hi list,
>         I want to view & update the node of a dom tree using xpath api and
>i have a problem  the below code gives me a null value.
>public static void main(String[] args)
>	{
>		try{
>		get gt=new get();
>		DOMParser parser = new DOMParser();
>		parser.parse("add.xml");
>		org.w3c.dom.Document doc = parser.getDocument();
>		Node res=gt.findAddress("Earl Spencer",doc);
>		System.out.println(res.getNodeValue());
>		}
>		catch(Exception e){}
>	}
>
>      Forgive me if i have done any thing wrong cause i am using XPATH and
>DOM api's for the first time i am using xalan-1.2.2 to do this.
>            I actually want to update a node value using an xpath
>expression.
>
>Thanks in Advance
>Spencer
>

-- 
======================================================================
B. Tommie Usdin                        mailto:btusdin@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com  
17 West Jefferson Street                           Phone: 301/315-9631
Suite 207                                    Direct Line: 301/315-9634
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML              
======================================================================

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • xpath question
    • Mulberry Technologies List Owner - Thu, 26 Jul 2001 16:55:00 -0400 (EDT) <=

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
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.