When you traverse the DOM tree, you can tell it's a PI node if

node.getNodeType() == Node.PROCESSING_INSTRUCTION_NODE

HTH,
Sandy Gao
Software Developer, IBM Canada
(1-416) 448-3255
[EMAIL PROTECTED]



                                                                                
                                    
                    Lei Chen                                                    
                                    
                    <[EMAIL PROTECTED]       To:     "'[EMAIL PROTECTED]'" 
<[EMAIL PROTECTED]>   
                    merce.com>            cc:                                   
                                    
                                          Subject:     processing instructions  
                                    
                    03/30/2001                                                  
                                    
                    04:24 PM                                                    
                                    
                    Please respond                                              
                                    
                    to                                                          
                                    
                    xerces-j-user                                               
                                    
                                                                                
                                    
                                                                                
                                    



how to get the processing instructions within a DOM?




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to