//======================================================================================== // // $File: //depot/indesign_5.0/gm/build/scripts/xml rules/glue code.jsx $ // // Owner: Lin Xia // // $Author: sstudley $ // // $DateTime: 2007/02/15 13:37:33 $ // // $Revision: #1 $ // // $Change: 505969 $ // // Copyright 2006 Adobe Systems Incorporated. All rights reserved. // // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance // with the terms of the Adobe license agreement accompanying it. If you have received // this file from a source other than Adobe, then your use, modification, or // distribution of it requires the prior written permission of Adobe. // // DESCRIPTION: JavaScript glue code for XML Rules Processing // //======================================================================================== app.scriptPreferences.version = 5 ; function ruleProcessorObject(ruleSet, ruleProcessor) { this.ruleSet = ruleSet; this.ruleProcessor = ruleProcessor; } function __makeRuleProcessor(ruleSet, prefixMappingTable){ // Get the condition paths of all the rules. var pathArray = new Array(); for (i=0; i