I have modified your program (but not completely). Please see if this helps you and refer to samples for more info..
Regards,
venu
Rahul Agarwal wrote:
Hi Venu, Thanks for your reply, but I am still unable to resolve the problem. I am attaching my program and the XML,DTD files. Please check it.Thanks, Rahul --- "K. Venugopal" <[EMAIL PROTECTED]> wrote:Hi Rahul , Please refer to the attached program .If you are still facing problem post your xml ,xsd and program. Regards venu Rahul Agarwal wrote:Hi, Thanks for the reply. But its still not working,italways returns null. --- Andy Clark <[EMAIL PROTECTED]> wrote:Rahul Agarwal wrote:I am trying to use the property"http://apache.org/xml/properties/dom/current-element-node"but everytime it returns a null node (or gives SAXException ). I am unable to figure our theproblemin my code(part of which is mentioned below), can someone help ?Turn off the deferred node expansion feature.Checkthe docs for details. -- Andy Clark * [EMAIL PROTECTED]---------------------------------------------------------------------To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com---------------------------------------------------------------------To unsubscribe, e-mail:[EMAIL PROTECTED]For additional commands, e-mail:[EMAIL PROTECTED]ATTACHMENT part 2 application/octet-streamname=doctype.jar---------------------------------------------------------------------To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
<?xml version="1.0"?> <!DOCTYPE book SYSTEM "book.dtd"> <book> <title> THE COMPLETE REFERENCE TO JAVA2 </title> <author> HERBERT SCHILDT </author> <chapter> <index> ONE </index> <title> INTRODUCTION </title> <para> blah....blah ......blah </para> <para> blah....blah ......blah </para> <reference> The complete reference to XML</reference> <reference> JAVA AND XML </reference> </chapter> <chapter> <author> Somebody </author> <index> TWO </index> <title> BASICS OF JAVA </title> <para> blah....blah ......blah </para> <para> blah....blah ......blah </para> <reference> JAVA AND XML </reference> </chapter> </book>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
rahul.jar
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
