Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
| Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 16th, 2006, 06:14 AM
Registered User
 
Join Date: Dec 2006
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default How Retrieve data of a node or from an element

Hi,

Is there a way to extract data from a specific node without using an xsl file? I need to get the data and then display it to the screen, by using SAX Parser, Give sample code


 
Old December 16th, 2006, 03:11 PM
mhkay's Avatar
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

You're obviously new to this so you will probably find it easier to start with the DOM interface rather than the SAX interface. This is very well covered in every introductory book on XML. It's reasonable to ask here if you have specific difficulties with the information given in a book or tutorial (especially a Wrox book, of course), but a forum like this is no substitute for reading what's already available.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference




Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieve numbered node path from xml jeft0nes XSLT 6 July 20th, 2007 03:59 PM
How to use XPath to retrieve a node tag rs:data? y10k XML 1 May 5th, 2006 01:11 PM
Reading every element from the specified node ROCXY XSLT 1 January 3rd, 2006 09:25 AM
Retrieve the escaped node content carlos.bravo XSLT 4 September 16th, 2005 03:23 PM
How can I get the element node of an attribute cdias XSLT 2 March 15th, 2004 10:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.