| 4D v16.3SAX GET XML PROCESSING INSTRUCTION | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v16.3
 SAX GET XML PROCESSING INSTRUCTION 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SAX GET XML PROCESSING INSTRUCTION ( document ; name ; value ) | ||||||||
| Parameter | Type | Description | ||||||
| document | DocRef |   | Reference of open document | |||||
| name | String |   | Instruction name | |||||
| value | String |   | Instruction value | |||||
The SAX GET XML PROCESSING INSTRUCTION command returns the name and value of the XML instruction processed in the XML document referenced in the document parameter. This command must be called with the XML Processing Instruction event. For more information about SAX events, refer to the description of the SAX Get XML node command.
Let's look at the following piece of XML code:
<?xml version="1.0" encoding="UTF-8"?> <!-- Edited with XML Spy v3.0.7 NT (http://www.xmlspy.com) by Myself (4D SA)--> <?PI TextProcess?> <!DOCTYPE RootElement SYSTEM "ParseTest.dtd">
The following instruction will return “PI” in vName and “TextProcess” in vValue:
 SAX GET XML PROCESSING INSTRUCTION($DocRef;vName;vValue)
	Product:  4D
	Theme:  XML SAX
	Number:  
        875
        
        
        
	
	Created:  4D 2004
	4D Language Reference ( 4D v16)
	
	
	
	4D Language Reference ( 4D v16.1)
	4D Language Reference ( 4D v16.2)
	
	
	4D Language Reference ( 4D v16.3)
	
 Add a comment
Add a comment