Exemple #1
0
 protected abstract void Visit(ProcessingInstructionNode node);
Exemple #2
0
 protected override void Visit(ProcessingInstructionNode node)
 {
     //[16]   	PI	   ::=   	'<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>'
     if (string.IsNullOrEmpty(node.Body))
         AddLiteral(string.Concat("<?", node.Name, "?>"));
     else
         AddLiteral(string.Concat("<?", node.Name, " ", node.Body, "?>"));
 }
 protected override void Visit(ProcessingInstructionNode node)
 {
     Nodes.Add(node);
 }