ProcessingInstruction(p, target$, data$)
target$ is the
first word in the processing instruction. The data$ is the rest of the characters in it after
skipping all whitespace after the initial word.
Function p_ProcessingInstruction(p, target$, data$)
DebugPrint(target$, data$)
EndFunction
p = xml.CreateParser({ProcessingInstruction = p_ProcessingInstruction})
p:Parse([[<foo><?Hollywood rocks?></foo>]])
p:Free()
The code above prints "Hollywood rocks".