<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Rule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Rule_Axmedis.xsd">
  <Header>
    <Rule_Name>Noname</Rule_Name>
    <AXRID>axcprule:956ed371-c7d2-4733-9cab-b79bbd20c1bc</AXRID>
    <Rule_Version></Rule_Version>
    <Rule_Type>AXCP</Rule_Type>
    <Software_Name></Software_Name>
    <Version_of_software></Version_of_software>
    <Date_of_production>2006-03-08</Date_of_production>
    <Author></Author>
    <Affiliation></Affiliation>
    <URL></URL>
    <Comment></Comment>
    <Last_Modifications>2006-03-09</Last_Modifications>
    <Terminal_ID></Terminal_ID>
    <Cost></Cost>
    <Work_Item_ID></Work_Item_ID>
  </Header>
  <Schedule>
    <Run>
      <Date>2006-03-09</Date>
      <Time>12:13:50</Time>
      <Periodicity Unit="Day">0</Periodicity>
      <Expiration_Date>2007-03-08</Expiration_Date>
      <Expiration_Time>10:30:50</Expiration_Time>
    </Run>
    <Status>Inactive</Status>
  </Schedule>
  <Definition>
    <AXCP_Rule>
      <Arguments>
        <Parameter Name="docsourceTXT" Type="String">.\news1.txt</Parameter>
        <Parameter Name="docsource" Type="String">C:\xerces-c_2_6_0\doc\html\ApacheDOMC++BindingL3.html</Parameter>
        <Parameter Name="outpath" Type="String">.\</Parameter>
        <Parameter Name="mimeType" Type="String">text/plain</Parameter>
      
      </Arguments>
      <Rule_Body>
        <JS_Script><![CDATA[var res = new AxResource();
res.load(docsourceTXT);
var string = new Array(1);
string[0]="";

//TextDescriptors.KWFromComparisons(res,5,false,string);
print(string[0]);

var resPdf = new AxResource();
resPdf.load(docsource);
var outResTxt = new AxResource();
result = TextDocsAdaptation.DocumentConversion(resPdf,mimeType,outResTxt);
outResTxt.contentID = "pippo";
outResTxt.save(outpath+outResTxt.contentID);
TextDescriptors.KWFromComparisons(outResTxt,5,false,string);
print(string[0]);

i = 0;]]>
        </JS_Script>
      </Rule_Body>
      <Dependencies>
        <Dependency>
          <Plug_In_name>TextDescriptors</Plug_In_name>
          <Version>1.001</Version>
        </Dependency>
        <Dependency>
          <Plug_In_name>TextDocsAdaptation</Plug_In_name>
          <Version>1.001</Version>
        </Dependency>
      </Dependencies>
    </AXCP_Rule>
  </Definition>
</Rule>

