Syntax |
Example |
Description/Remarks |
XML_MAP "new_tag", "GainSeeker_tag" |
XML_MAP " PN", "Part_Number"
See XML and Record Buffer Template Commands for sample templates showing how the XML and record buffer commands work together.
See XML and Record Buffer Template Commands for a complete list of tags available. Note: Please check the return value, if it is equal to zero you probably need to check the upper case/lower case spelling of the tags. If need to clear mappings, use the INITVARS command. Closing the file does not clear the maps. Do not use the XML_MAP command to map defects for DMS data, use the XML_DEFECT_MAP command for this purpose. |
Returns 1 if successful. Returns 0 if not successful. This command is used to map tags from the user’s file into the record buffer. For example, if the user uses a tag called < PN> for their part number, then to place the value in the record buffer’s part number bin, the user must use this command to map the user’s tag into the GainSeeker tag: XML_MAP " PN", "Part_Number". Important: You can map a tag (field) in an XML file into multiple GainSeeker tags (multiple bins in the record buffer). For example, you can map the < PN> field in the file to both the Part_Number tag and the Trace_6 tag. Doing this would put the value for the < PN> field of the XML file in both bins of the record buffer. You can only map one field into each GainSeeker tag. If you do more than one, the last one takes precedence. For example, if you map the < PN> tag to Trace_6 and then map the <Operator> tag to Trace_6, the <Operator> mapping replaces the < PN> mapping. |