Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restrict Data from Appearing in File

Status
Not open for further replies.

jttjca

Technical User
Mar 2, 2012
2
0
0
US
Hi,

New to XML. Would like to restrict a file to only contain deltas made instead of containing info on all subjects.

Was thinking of using a definition and mappings..

EG:   <MappingDefinitions>
        <definition>
           <criteriaset>
               <criteria item="estatus_reason_xref">DM,PR,MERIT,REHIRE,COST OF LIVING,NEW ASSIGNMENT</criteria>
               <criteria item="paygroup_xref">6468</criteria>
           </criteriaset>
           <mapping>
              <mapto columnname="CompensationChangeReason">
              <Value>estatus_reason_xref</Value>
              </mapto>
              </mapping>
        <definition>
     </MappingDefinitions>

So basically I want the file that will be generated to only contain information if the estatus_reason_xref is filled out with the options listed. Any other information should not be included in the file.

Am I on the right track?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top