Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











PROPERTY:  ProcessingInstruction::target

ProcessingInstruction.target

The target property is read-only and returns the 'target' of a processing instruction. This consists of the first token following the tag, which represents the application to which the processing instruction is directed. This value is the same as that returned by the nodeName property.

The following example uses a typical processing instruction for an XML document:

<?xml version="1.0"?>

The code creates a ProcessingInstruction node and then displays the value contained in the target property.

Code (VBScript):
Set PI = objXMLDoc.firstChild
document.write(PI.target)

Output:
xml



 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information