I'm enthusiastic of xml implementation, but...
I am trying to extract some text from an xml and save it in txt file. I need two xml loop in order to sequentially extract the text in node BRAILLE (where tribute = Id) and then all text inside subnode HEIGHT (there are more than one). In my idea it should parse first the BRAILLE node, then HEIGHT nodes inside that first BRAILLE node, then the loop goes to next BRAILLE node and read the next HEIGHT nodes of this second BRAILLE node ONLY. Instead I got the two BRAILLE Id sequentially (that is ok) but in every BRAILLE is reported all the HEIGHT nodes, two times (or more, depending on how many BRAILLE nodes are present.
I attacch the task and text file I got and the one I would have (TEST-howshouldbe.txt). I don't understand if it's a limitation of the xml loop or if I'm doing something wrong...
thanks
Andrea
XML LOOP
Re: XML LOOP
Give me, please, the example of your XML
also the the example of the text you want to get as a result.
I can try to write an example for you.
also the the example of the text you want to get as a result.
I can try to write an example for you.
Oleg Yershov
Re: XML LOOP
I ADDED exactly those files in my previous post, I attach it again
thanks
1) TEST-howshouldbe.txt
2) TEST.txt
3) my task, the xml text is inside it
thanks
1) TEST-howshouldbe.txt
2) TEST.txt
3) my task, the xml text is inside it
Re: XML LOOP
this is the task
Code: Select all
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|0
CatID=INTEGER|0
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
Events=FOLDER
ExternalName=STRING|"Task13"
Hide=INTEGER|0
ID=INTEGER|1576276986
LocalVariables=STRING|"HEIGHT="
LogOnAsUser=INTEGER|1
Name=STRING|"xml analysis"
OnErrorTaskID=INTEGER|-1
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action2=FOLDER
Action3=FOLDER
Action4=FOLDER
Action5=FOLDER
Action6=FOLDER
[Actions\Action1]
ActionID=STRING|"A_XML_LOOP"
Enabled=INTEGER|-1
Name=STRING|"XML Loop - extract NR"
Params=FOLDER
[Actions\Action1\Params]
ascending=STRING|"0"
att00000000=STRING|"Id,BRAILLENR,"
attcount=STRING|"1"
depthvar=STRING|"CHILD"
loadfile=STRING|"0"
nodenamevar=STRING|"NODENAME"
path=STRING|"/Proofiler/Braille"
pathvar=STRING|"NODEPATH"
savechildcount=STRING|"0"
savedepth=STRING|"0"
savenodename=STRING|"0"
savepath=STRING|"0"
savetext=STRING|"0"
savexml=STRING|"0"
sortmode=STRING|"1"
textvar=STRING|"HEIGHT"
withsubnodes=STRING|"0"
xml00000000=STRING|"<?xml version=""1.0"" encoding=""UTF-8""?>"
xml00000001=STRING|"<Proofiler Examinations=""1"">"
xml00000002=STRING|" <ProductionData Date=""26/08/2020"" Time=""15:30:12"" SoftwareVersion=""3.6.5 (Build 47353)"" File="""" Title=""26987485530"" Lang=""en"" RecordID=""Lotto: Test; Articolo: Braille"" User=""MACBOOKPRO\EyeC"">"
xml00000003=STRING|" <ProcessVariables>"
xml00000004=STRING|" <Variable Key=""POF"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf""/>"
xml00000005=STRING|" <Variable Key=""TemplateFileTime"" Value=""1595692258""/>"
xml00000006=STRING|" <Variable Key=""DocumentExt"" Value=""N/A""/>"
xml00000007=STRING|" <Variable Key=""DocumentFilePath"" Value=""N/A""/>"
xml00000008=STRING|" <Variable Key=""Job.NumOfCheckedItems"" Value=""0""/>"
xml00000009=STRING|" <Variable Key=""NumOfGoodItems"" Value=""1""/>"
xml0000000A=STRING|" <Variable Key=""Job.NumOfItems"" Value=""2""/>"
xml0000000B=STRING|" <Variable Key=""EXAMINATION.NUMOFITEMS"" Value=""2""/>"
xml0000000C=STRING|" <Variable Key=""EXAMINATION.SUMMARY"" Value=""Analisi 01 Completato con 2 deviazioni. 1 di queste sono state segnate come difettose""/>"
xml0000000D=STRING|" <Variable Key=""ErrorThreshold"" Value=""1.00""/>"
xml0000000E=STRING|" <Variable Key=""ExaminationStatus"" Value=""Bad""/>"
xml0000000F=STRING|" <Variable Key=""SampleFileTitle"" Value=""400-DT-Scan-Folding-Carton-Inspector-Braille""/>"
xml00000010=STRING|" <Variable Key=""FileName"" Value=""26987485530.pdf""/>"
xml00000011=STRING|" <Variable Key=""POF_0"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf""/>"
xml00000012=STRING|" <Variable Key=""FileName_0"" Value=""26987485530.pdf""/>"
xml00000013=STRING|" <Variable Key=""Title"" Value=""26987485530""/>"
xml00000014=STRING|" <Variable Key=""Braille.Points"" Value=""83""/>"
xml00000015=STRING|" <Variable Key=""PARAMETERSET"" Value=""Braille""/>"
xml00000016=STRING|" <Variable Key=""EXAMINATION.BRAILLE.MINHEIGHT"" Value=""160.0""/>"
xml00000017=STRING|" <Variable Key=""SampleFileTime"" Value=""1595692257""/>"
xml00000018=STRING|" <Variable Key=""TemplateDateTime_0"" Value=""25/07/2020 17:50:58""/>"
xml00000019=STRING|" <Variable Key=""TemplateTime_0"" Value=""17:50:58""/>"
xml0000001A=STRING|" <Variable Key=""DocumentFileTitle"" Value=""N/A""/>"
xml0000001B=STRING|" <Variable Key=""Date"" Value=""26/08/2020""/>"
xml0000001C=STRING|" <Variable Key=""Job.NumOfGood"" Value=""1""/>"
xml0000001D=STRING|" <Variable Key=""Doublechecker"" Value=""N/A""/>"
xml0000001E=STRING|" <Variable Key=""TemplatePath"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\""/>"
xml0000001F=STRING|" <Variable Key=""DocumentFileName"" Value=""N/A""/>"
xml00000020=STRING|" <Variable Key=""EXAMINATION.NUMOFGOOD"" Value=""1""/>"
xml00000021=STRING|" <Variable Key=""DoubleCheckerComment"" Value=""""/>"
xml00000022=STRING|" <Variable Key=""SampleFileName"" Value=""400-DT-Scan-Folding-Carton-Inspector-Braille.bmp""/>"
xml00000023=STRING|" <Variable Key=""NumOfChecked"" Value=""0""/>"
xml00000024=STRING|" <Variable Key=""JobId"" Value=""Test_Braille_65537""/>"
xml00000025=STRING|" <Variable Key=""Resolution"" Value=""600""/>"
xml00000026=STRING|" <Variable Key=""SamplePage"" Value=""1""/>"
xml00000027=STRING|" <Variable Key=""SampleExt"" Value=""bmp""/>"
xml00000028=STRING|" <Variable Key=""File"" Value=""N/A""/>"
xml00000029=STRING|" <Variable Key=""Time"" Value=""15:30:12""/>"
xml0000002A=STRING|" <Variable Key=""Braille.AvgHeight"" Value=""200.0""/>"
xml0000002B=STRING|" <Variable Key=""NumOfExaminations"" Value=""1""/>"
xml0000002C=STRING|" <Variable Key=""NumberRange3"" Value=""BRAILLE.LANGUAGE""/>"
xml0000002D=STRING|" <Variable Key=""NumberRange2"" Value=""ARTICLE""/>"
xml0000002E=STRING|" <Variable Key=""NumberRange1"" Value=""ORDER""/>"
xml0000002F=STRING|" <Variable Key=""User"" Value=""MACBOOKPRO\EyeC""/>"
xml00000030=STRING|" <Variable Key=""SAMPLE"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\400-DT-Scan-Folding-Carton-Inspector-Braille.bmp""/>"
xml00000031=STRING|" <Variable Key=""TemplateFileTitle_0"" Value=""26987485530""/>"
xml00000032=STRING|" <Variable Key=""Job.NumOfDefects"" Value=""1""/>"
xml00000033=STRING|" <Variable Key=""EXAMINATION.BRAILLE.AVGHEIGHT"" Value=""200.0""/>"
xml00000034=STRING|" <Variable Key=""EXAMINATION.NUMOFGOODITEMS"" Value=""1""/>"
xml00000035=STRING|" <Variable Key=""SamplePath"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\""/>"
xml00000036=STRING|" <Variable Key=""TemplatePage"" Value=""1""/>"
xml00000037=STRING|" <Variable Key=""Braille.MaxHeight"" Value=""231.0""/>"
xml00000038=STRING|" <Variable Key=""JobSummary"" Value=""Process.JobComment.Bad""/>"
xml00000039=STRING|" <Variable Key=""Comment"" Value=""""/>"
xml0000003A=STRING|" <Variable Key=""NumOfCheckedItems"" Value=""0""/>"
xml0000003B=STRING|" <Variable Key=""JobStatus"" Value=""2""/>"
xml0000003C=STRING|" <Variable Key=""CFR21PART11WARNING"" Value=""Warning: Proofiler was not installed with the 21 CFR 11 Compliant eSignature/Reviewer workflow but the license is valid.""/>"
xml0000003D=STRING|" <Variable Key=""TemplateFilePath"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf""/>"
xml0000003E=STRING|" <Variable Key=""TEMPLATE"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf""/>"
xml0000003F=STRING|" <Variable Key=""TemplateDate_0"" Value=""25/07/2020""/>"
xml00000040=STRING|" <Variable Key=""TemplatePage_0"" Value=""1""/>"
xml00000041=STRING|" <Variable Key=""TemplatePath_0"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\""/>"
xml00000042=STRING|" <Variable Key=""DOCUMENT"" Value=""""/>"
xml00000043=STRING|" <Variable Key=""NumOfGood"" Value=""1""/>"
xml00000044=STRING|" <Variable Key=""ITEMNUMBER"" Value=""""/>"
xml00000045=STRING|" <Variable Key=""EXAMINATION.NUMOFINSPECTEDITEMS"" Value=""0""/>"
xml00000046=STRING|" <Variable Key=""ExaminationNr"" Value=""1""/>"
xml00000047=STRING|" <Variable Key=""TemplateExt"" Value=""pdf""/>"
xml00000048=STRING|" <Variable Key=""TemplateFilePath_0"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf""/>"
xml00000049=STRING|" <Variable Key=""ARTICLE"" Value=""Braille""/>"
xml0000004A=STRING|" <Variable Key=""NumOfInspected"" Value=""0""/>"
xml0000004B=STRING|" <Variable Key=""ErrorSize"" Value=""130""/>"
xml0000004C=STRING|" <Variable Key=""ParametersetName"" Value=""Braille""/>"
xml0000004D=STRING|" <Variable Key=""NumOfDefects"" Value=""1""/>"
xml0000004E=STRING|" <Variable Key=""EXAMINATION.NUMOFDEFECTS"" Value=""1""/>"
xml0000004F=STRING|" <Variable Key=""EXAMINATION.BRAILLE.STDDEV"" Value=""16.7""/>"
xml00000050=STRING|" <Variable Key=""EXAMINATION.NUMOFINSPECTED"" Value=""0""/>"
xml00000051=STRING|" <Variable Key=""SampleDate"" Value=""25/07/2020""/>"
xml00000052=STRING|" <Variable Key=""TemplateTime"" Value=""17:50:58""/>"
xml00000053=STRING|" <Variable Key=""TemplateDate"" Value=""25/07/2020""/>"
xml00000054=STRING|" <Variable Key=""DocumentPath"" Value=""N/A""/>"
xml00000055=STRING|" <Variable Key=""Job.NumOfChecked"" Value=""0""/>"
xml00000056=STRING|" <Variable Key=""Job.NumOfSuspicious"" Value=""2""/>"
xml00000057=STRING|" <Variable Key=""NumOfBadItems"" Value=""1""/>"
xml00000058=STRING|" <Variable Key=""NumOfItems"" Value=""2""/>"
xml00000059=STRING|" <Variable Key=""EXAMINATION.NUMOFBADITEMS"" Value=""1""/>"
xml0000005A=STRING|" <Variable Key=""SampleFilePath"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\400-DT-Scan-Folding-Carton-Inspector-Braille.bmp""/>"
xml0000005B=STRING|" <Variable Key=""TemplateFileName"" Value=""26987485530.pdf""/>"
xml0000005C=STRING|" <Variable Key=""TemplateExt_0"" Value=""pdf""/>"
xml0000005D=STRING|" <Variable Key=""SoftwareVersion"" Value=""3.6.5 (Build 47353)""/>"
xml0000005E=STRING|" <Variable Key=""Braille.StdDev"" Value=""16.8""/>"
xml0000005F=STRING|" <Variable Key=""ORDER"" Value=""Test""/>"
xml00000060=STRING|" <Variable Key=""Overprint"" Value=""90""/>"
xml00000061=STRING|" <Variable Key=""SampleTime"" Value=""17:50:57""/>"
xml00000062=STRING|" <Variable Key=""TemplateDateTime"" Value=""25/07/2020 17:50:58""/>"
xml00000063=STRING|" <Variable Key=""TemplateFileTitle"" Value=""26987485530""/>"
xml00000064=STRING|" <Variable Key=""TEMPLATE_0"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf""/>"
xml00000065=STRING|" <Variable Key=""BasePath"" Value=""c:\EyeC""/>"
xml00000066=STRING|" <Variable Key=""Braille.MinHeight"" Value=""160.0""/>"
xml00000067=STRING|" <Variable Key=""Job.NumOfBadItems"" Value=""1""/>"
xml00000068=STRING|" <Variable Key=""BRAILLE.LANGUAGE"" Value=""65537""/>"
xml00000069=STRING|" <Variable Key=""EXAMINATION.BRAILLE.POINTS"" Value=""83""/>"
xml0000006A=STRING|" <Variable Key=""SampleDateTime"" Value=""25/07/2020 17:50:57""/>"
xml0000006B=STRING|" <Variable Key=""Job.NumOfGoodItems"" Value=""1""/>"
xml0000006C=STRING|" <Variable Key=""NumOfLabels"" Value=""2""/>"
xml0000006D=STRING|" <Variable Key=""EXAMINATION.NUMOFSUSPICIOUS"" Value=""2""/>"
xml0000006E=STRING|" <Variable Key=""TemplateFileTime_0"" Value=""1595692258""/>"
xml0000006F=STRING|" <Variable Key=""TemplateFileName_0"" Value=""26987485530.pdf""/>"
xml00000070=STRING|" <Variable Key=""DateTime"" Value=""26/08/2020 15:30:12""/>"
xml00000071=STRING|" <Variable Key=""ProofDate"" Value=""1598448612""/>"
xml00000072=STRING|" <Variable Key=""NumOfSuspicious"" Value=""2""/>"
xml00000073=STRING|" <Variable Key=""Job.NumOfLabels"" Value=""2""/>"
xml00000074=STRING|" <Variable Key=""EXAMINATION.BRAILLE.MAXHEIGHT"" Value=""231.0""/>"
xml00000075=STRING|" <Variable Key=""UIORDER"" Value=""Lotto""/>"
xml00000076=STRING|" <Variable Key=""UIARTICLE"" Value=""Articolo""/>"
xml00000077=STRING|" <Variable Key=""UIBRAILLE.LANGUAGE"" Value=""Braille Language""/>"
xml00000078=STRING|" </ProcessVariables>"
xml00000079=STRING|" <Scans NumberOfScans=""0""/>"
xml0000007A=STRING|" </ProductionData>"
xml0000007B=STRING|" <LayerColorantSelection TemplateNumber=""1"">"
xml0000007C=STRING|" <LayerColorantGroup GroupName=""Artwork"" SelectedLayers=""Artwork,Technical Data""/>"
xml0000007D=STRING|" <LayerColorantGroup GroupName=""Cutline"" SelectedLayers=""Cutline""/>"
xml0000007E=STRING|" <LayerColorantGroup GroupName=""Non-Printable"" SelectedLayers=""N/A""/>"
xml0000007F=STRING|" <LayerColorantGroup GroupName=""Braille"" SelectedLayers=""Braille,Cutline""/>"
xml00000080=STRING|" </LayerColorantSelection>"
xml00000081=STRING|" <GlobalSettings>"
xml00000082=STRING|" <Database Active=""false"" Workflow=""0""/>"
xml00000083=STRING|" </GlobalSettings>"
xml00000084=STRING|" <TestPattern TemplateIdx=""0"" ImageRef=""0"" TemplateName=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf"" Page=""1"" RelativePath=""C:\Users\EyeC\AppData\Local\Temp\Proofiler-340\Exam0-1598448622\images\TestPatternImage.jpg"" FileTime=""17:50:58"" FileDate=""25/07/2020"" MaskRelativePath=""C:\Users\EyeC\AppData\Local\Temp\Proofiler-340\Exam0-1598448622\images\TestPatternMask.jpg"" MaskManuallyEdited=""false""/>"
xml00000085=STRING|" <BrailleCalibration Id=""1"" Name=""Folding Carton"" TemplateClass=""5"" Measure=""29000.00"" Height=""200.00"" Offset=""0.00"" Resolution=""600.00"" Specularity=""0.29""/>"
xml00000086=STRING|" <Braille Id=""1"" Number=""1"" ItemRef=""1"" TemplateRef=""0"" SampleRef=""0"" IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml00000087=STRING|" <BrailleValues>"
xml00000088=STRING|" <BrailleSection Title="""">"
xml00000089=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml0000008A=STRING|" <Pressed>true</Pressed>"
xml0000008B=STRING|" <DotID>1</DotID>"
xml0000008C=STRING|" <Position>A1-1</Position>"
xml0000008D=STRING|" <PosX>158411</PosX>"
xml0000008E=STRING|" <PosY>83100</PosY>"
xml0000008F=STRING|" <State State=""2"">NotSet </State>"
xml00000090=STRING|" <Height defective=""false"" suspicious=""false"">0.200mm</Height>"
xml00000091=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml00000092=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml00000093=STRING|" </BrailleEntry>"
xml00000094=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml00000095=STRING|" <Pressed>true</Pressed>"
xml00000096=STRING|" <DotID>2</DotID>"
xml00000097=STRING|" <Position>A1-1</Position>"
xml00000098=STRING|" <PosX>158411</PosX>"
xml00000099=STRING|" <PosY>83100</PosY>"
xml0000009A=STRING|" <State State=""2"">NotSet </State>"
xml0000009B=STRING|" <Height defective=""false"" suspicious=""false"">0.200mm</Height>"
xml0000009C=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml0000009D=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml0000009E=STRING|" </BrailleEntry>"
xml0000009F=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml000000A0=STRING|" <Pressed>true</Pressed>"
xml000000A1=STRING|" <DotID>3</DotID>"
xml000000A2=STRING|" <Position>A1-1</Position>"
xml000000A3=STRING|" <PosX>158411</PosX>"
xml000000A4=STRING|" <PosY>83100</PosY>"
xml000000A5=STRING|" <State State=""2"">NotSet </State>"
xml000000A6=STRING|" <Height defective=""false"" suspicious=""false"">0.200mm</Height>"
xml000000A7=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml000000A8=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml000000A9=STRING|" </BrailleEntry>"
xml000000AA=STRING|" </BrailleSection>"
xml000000AB=STRING|" </BrailleValues>"
xml000000AC=STRING|" </Braille> "
xml000000AD=STRING|" "
xml000000AE=STRING|" <Braille Id=""2"" Number=""1"" ItemRef=""1"" TemplateRef=""0"" SampleRef=""0"" IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml000000AF=STRING|" <BrailleValues>"
xml000000B0=STRING|" <BrailleSection Title="""">"
xml000000B1=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml000000B2=STRING|" <Pressed>true</Pressed>"
xml000000B3=STRING|" <DotID>1</DotID>"
xml000000B4=STRING|" <Position>A1-1</Position>"
xml000000B5=STRING|" <PosX>158411</PosX>"
xml000000B6=STRING|" <PosY>83100</PosY>"
xml000000B7=STRING|" <State State=""2"">NotSet </State>"
xml000000B8=STRING|" <Height defective=""false"" suspicious=""false"">0.100mm</Height>"
xml000000B9=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml000000BA=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml000000BB=STRING|" </BrailleEntry>"
xml000000BC=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml000000BD=STRING|" <Pressed>true</Pressed>"
xml000000BE=STRING|" <DotID>2</DotID>"
xml000000BF=STRING|" <Position>A1-1</Position>"
xml000000C0=STRING|" <PosX>158411</PosX>"
xml000000C1=STRING|" <PosY>83100</PosY>"
xml000000C2=STRING|" <State State=""2"">NotSet </State>"
xml000000C3=STRING|" <Height defective=""false"" suspicious=""false"">0.100mm</Height>"
xml000000C4=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml000000C5=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml000000C6=STRING|" </BrailleEntry>"
xml000000C7=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml000000C8=STRING|" <Pressed>true</Pressed>"
xml000000C9=STRING|" <DotID>3</DotID>"
xml000000CA=STRING|" <Position>A1-1</Position>"
xml000000CB=STRING|" <PosX>158411</PosX>"
xml000000CC=STRING|" <PosY>83100</PosY>"
xml000000CD=STRING|" <State State=""2"">NotSet </State>"
xml000000CE=STRING|" <Height defective=""false"" suspicious=""false"">0.100mm</Height>"
xml000000CF=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml000000D0=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml000000D1=STRING|" </BrailleEntry>"
xml000000D2=STRING|" </BrailleSection>"
xml000000D3=STRING|" </BrailleValues>"
xml000000D4=STRING|" </Braille>"
xml000000D5=STRING|" </Proofiler>"
xmlcount=STRING|"214"
xmlfile=STRING|"{TempDir}\xmltoprocess\output_ITA.xml"
xmlvar=STRING|"NODEDEPH"
[Actions\Action2]
ActionID=STRING|"A_FILE_TEXTWRITE"
Enabled=INTEGER|-1
Name=STRING|"Create text file C:\Users\QC Manager\Documents\TEST.txt"
Params=FOLDER
[Actions\Action2\Params]
encode=STRING|"0"
fileexists=STRING|"1"
filname=STRING|"C:\Users\QC Manager\Documents\TEST.txt"
line0=STRING|"braille nr: {BRAILLENR}"
linecount=STRING|"1"
suppress=STRING|"0"
[Actions\Action3]
ActionID=STRING|"A_XML_LOOP"
Enabled=INTEGER|-1
Name=STRING|"XML Loop - extract braille height"
Params=FOLDER
[Actions\Action3\Params]
ascending=STRING|"0"
attcount=STRING|"0"
childcounvar=STRING|"CHILD"
depthvar=STRING|"CHILD"
loadfile=STRING|"0"
nodenamevar=STRING|"NODENAME"
path=STRING|"Proofiler/Braille/BrailleValues/BrailleSection/BrailleEntry/Height"
pathvar=STRING|"NODEPATH"
savechildcount=STRING|"0"
savedepth=STRING|"0"
savenodename=STRING|"0"
savepath=STRING|"0"
savetext=STRING|"1"
savexml=STRING|"0"
sortmode=STRING|"0"
textvar=STRING|"HEIGHT"
withsubnodes=STRING|"0"
xml00000000=STRING|"<?xml version=""1.0"" encoding=""UTF-8""?>"
xml00000001=STRING|"<Proofiler Examinations=""1"">"
xml00000002=STRING|" <Braille Id=""1"" Number=""1"" ItemRef=""1"" TemplateRef=""0"" SampleRef=""0"" IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml00000003=STRING|" <BrailleValues>"
xml00000004=STRING|" <BrailleSection Title="""">"
xml00000005=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml00000006=STRING|" <Pressed>true</Pressed>"
xml00000007=STRING|" <DotID>1</DotID>"
xml00000008=STRING|" <Position>A1-1</Position>"
xml00000009=STRING|" <PosX>158411</PosX>"
xml0000000A=STRING|" <PosY>83100</PosY>"
xml0000000B=STRING|" <State State=""2"">NotSet </State>"
xml0000000C=STRING|" <Height defective=""false"" suspicious=""false"">0.200mm</Height>"
xml0000000D=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml0000000E=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml0000000F=STRING|" </BrailleEntry>"
xml00000010=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml00000011=STRING|" <Pressed>true</Pressed>"
xml00000012=STRING|" <DotID>2</DotID>"
xml00000013=STRING|" <Position>A1-1</Position>"
xml00000014=STRING|" <PosX>158411</PosX>"
xml00000015=STRING|" <PosY>83100</PosY>"
xml00000016=STRING|" <State State=""2"">NotSet </State>"
xml00000017=STRING|" <Height defective=""false"" suspicious=""false"">0.200mm</Height>"
xml00000018=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml00000019=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml0000001A=STRING|" </BrailleEntry>"
xml0000001B=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml0000001C=STRING|" <Pressed>true</Pressed>"
xml0000001D=STRING|" <DotID>3</DotID>"
xml0000001E=STRING|" <Position>A1-1</Position>"
xml0000001F=STRING|" <PosX>158411</PosX>"
xml00000020=STRING|" <PosY>83100</PosY>"
xml00000021=STRING|" <State State=""2"">NotSet </State>"
xml00000022=STRING|" <Height defective=""false"" suspicious=""false"">0.200mm</Height>"
xml00000023=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml00000024=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml00000025=STRING|" </BrailleEntry>"
xml00000026=STRING|" </BrailleSection>"
xml00000027=STRING|" </BrailleValues>"
xml00000028=STRING|" </Braille> "
xml00000029=STRING|" "
xml0000002A=STRING|" <Braille Id=""2"" Number=""1"" ItemRef=""1"" TemplateRef=""0"" SampleRef=""0"" IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml0000002B=STRING|" <BrailleValues>"
xml0000002C=STRING|" <BrailleSection Title="""">"
xml0000002D=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml0000002E=STRING|" <Pressed>true</Pressed>"
xml0000002F=STRING|" <DotID>1</DotID>"
xml00000030=STRING|" <Position>A1-1</Position>"
xml00000031=STRING|" <PosX>158411</PosX>"
xml00000032=STRING|" <PosY>83100</PosY>"
xml00000033=STRING|" <State State=""2"">NotSet </State>"
xml00000034=STRING|" <Height defective=""false"" suspicious=""false"">0.100mm</Height>"
xml00000035=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml00000036=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml00000037=STRING|" </BrailleEntry>"
xml00000038=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml00000039=STRING|" <Pressed>true</Pressed>"
xml0000003A=STRING|" <DotID>2</DotID>"
xml0000003B=STRING|" <Position>A1-1</Position>"
xml0000003C=STRING|" <PosX>158411</PosX>"
xml0000003D=STRING|" <PosY>83100</PosY>"
xml0000003E=STRING|" <State State=""2"">NotSet </State>"
xml0000003F=STRING|" <Height defective=""false"" suspicious=""false"">0.100mm</Height>"
xml00000040=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml00000041=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml00000042=STRING|" </BrailleEntry>"
xml00000043=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml00000044=STRING|" <Pressed>true</Pressed>"
xml00000045=STRING|" <DotID>3</DotID>"
xml00000046=STRING|" <Position>A1-1</Position>"
xml00000047=STRING|" <PosX>158411</PosX>"
xml00000048=STRING|" <PosY>83100</PosY>"
xml00000049=STRING|" <State State=""2"">NotSet </State>"
xml0000004A=STRING|" <Height defective=""false"" suspicious=""false"">0.100mm</Height>"
xml0000004B=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml0000004C=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml0000004D=STRING|" </BrailleEntry>"
xml0000004E=STRING|" </BrailleSection>"
xml0000004F=STRING|" </BrailleValues>"
xml00000050=STRING|" </Braille>"
xml00000051=STRING|" </Proofiler>"
xmlcount=STRING|"82"
xmlfile=STRING|"{TempDir}\xmltoprocess\output_ITA.xml"
xmlvar=STRING|"NODEDEPH"
[Actions\Action4]
ActionID=STRING|"A_FILE_TEXTWRITE"
Enabled=INTEGER|-1
Name=STRING|"Create text file C:\Users\QC Manager\Documents\TEST.txt"
Params=FOLDER
[Actions\Action4\Params]
encode=STRING|"0"
fileexists=STRING|"1"
filname=STRING|"C:\Users\QC Manager\Documents\TEST.txt"
line0=STRING|"h: {HEIGHT}"
linecount=STRING|"2"
suppress=STRING|"0"
[Actions\Action5]
ActionID=STRING|"A_LOOP_END"
Enabled=INTEGER|-1
Name=STRING|"End Loop"
[Actions\Action6]
ActionID=STRING|"A_LOOP_END"
Enabled=INTEGER|-1
Name=STRING|"End Loop"
[Events]
Event1=FOLDER
[Events\Event1]
Enabled=INTEGER|-1
EventID=STRING|"E_FILE_MONITOR"
Name=STRING|"File Monitor"
Params=FOLDER
UniqueID=INTEGER|1339237376
[Events\Event1\Params]
chg=STRING|"0"
chga=STRING|"1"
chgsl=STRING|"1"
chgsm=STRING|"1"
chgtl=STRING|"1"
chgtm=STRING|"1"
del=STRING|"0"
folder1=STRING|"{PROOFILER_TEMP_PATH}"
foldercount=STRING|"1"
incmask=STRING|"output_ITA.*"
interval=STRING|"5"
listmode=STRING|"1"
mon_files=STRING|"1"
mon_folders=STRING|"0"
new=STRING|"1"
newlistparameter=STRING|"PATH"
onelistparameter=STRING|"PATH"
pass=STRING|"1"
passmode=STRING|"1"
required=STRING|"1"
saveresults=STRING|"0"
subfolders1=STRING|"1"
Re: XML LOOP
what I would have is this text:
braille nr 1
h 0.200mm
h 0.200mm
h 0.200mm
braille nr 2
h 0.100mm
h 0.100mm
h 0.100mm
_____________________________
instead I got this
braille nr 1
h 0.200mm
h 0.200mm
h 0.200mm
h 0.100mm
h 0.100mm
h 0.100mm
braille nr 2
h 0.200mm
h 0.200mm
h 0.200mm
h 0.100mm
h 0.100mm
h 0.100mm
braille nr 1
h 0.200mm
h 0.200mm
h 0.200mm
braille nr 2
h 0.100mm
h 0.100mm
h 0.100mm
_____________________________
instead I got this
braille nr 1
h 0.200mm
h 0.200mm
h 0.200mm
h 0.100mm
h 0.100mm
h 0.100mm
braille nr 2
h 0.200mm
h 0.200mm
h 0.200mm
h 0.100mm
h 0.100mm
h 0.100mm
Re: XML LOOP
Look at my example
Save the text of the task to a file and use menu Task->Import to import the task into RoboTask.
Save the text of the task to a file and use menu Task->Import to import the task into RoboTask.
Code: Select all
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|0
CatID=INTEGER|444033236
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
Events=FOLDER
ExternalName=STRING|"Task212"
Hide=INTEGER|0
ID=INTEGER|-614525269
LocalVariables=STRING|"HEIGHT="
LogOnAsUser=INTEGER|1
Name=STRING|"xml analysis (corrected)"
OnErrorTaskID=INTEGER|-1
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action10=FOLDER
Action2=FOLDER
Action3=FOLDER
Action4=FOLDER
Action5=FOLDER
Action6=FOLDER
Action7=FOLDER
Action8=FOLDER
Action9=FOLDER
[Actions\Action1]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""OUTFILE"" with value ""{TempDir}\text.txt"""
Params=FOLDER
[Actions\Action1\Params]
expand=STRING|"1"
varname=STRING|"OUTFILE"
varvalue=STRING|"{TempDir}\text.txt"
[Actions\Action10]
ActionID=STRING|"A_GENERAL_RUN_PROG"
Enabled=INTEGER|-1
Name=STRING|"Run ""{outfile} """
Params=FOLDER
[Actions\Action10\Params]
ifnonzero=STRING|"0"
program=STRING|"{outfile}"
runas=STRING|"0"
wait=STRING|"0"
[Actions\Action2]
ActionID=STRING|"A_FILE_DELETE"
Enabled=INTEGER|-1
Name=STRING|"Delete File"
Params=FOLDER
[Actions\Action2\Params]
Count=STRING|"1"
deletedirs=STRING|"0"
file0=STRING|"{outfile}"
hidden=STRING|"1"
subdir=STRING|"0"
system=STRING|"1"
ToRecycleBin=STRING|"0"
[Actions\Action3]
ActionID=STRING|"A_XML_LOOP"
Enabled=INTEGER|-1
Name=STRING|"XML Loop - extract NR"
Params=FOLDER
[Actions\Action3\Params]
ascending=STRING|"0"
att00000000=STRING|"Id,BRAILLENR,"
attcount=STRING|"1"
depthvar=STRING|"CHILD"
loadfile=STRING|"0"
nodenamevar=STRING|"NODENAME"
path=STRING|"/Proofiler/Braille"
pathvar=STRING|"NODEPATH"
savechildcount=STRING|"0"
savedepth=STRING|"0"
savenodename=STRING|"0"
savepath=STRING|"0"
savetext=STRING|"0"
savexml=STRING|"1"
sortmode=STRING|"1"
textvar=STRING|"HEIGHT"
withsubnodes=STRING|"0"
xml00000000=STRING|"<?xml version=""1.0"" encoding=""UTF-8""?>"
xml00000001=STRING|"<Proofiler Examinations=""1"">"
xml00000002=STRING|" <ProductionData Date=""26/08/2020"" Time=""15:30:12"" SoftwareVersion=""3.6.5 (Build 47353)"" File="""" Title=""26987485530"" Lang=""en"" RecordID=""Lotto: Test; Articolo: Braille"" User=""MACBOOKPRO\EyeC"">"
xml00000003=STRING|" <ProcessVariables>"
xml00000004=STRING|" <Variable Key=""POF"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf""/>"
xml00000005=STRING|" <Variable Key=""TemplateFileTime"" Value=""1595692258""/>"
xml00000006=STRING|" <Variable Key=""DocumentExt"" Value=""N/A""/>"
xml00000007=STRING|" <Variable Key=""DocumentFilePath"" Value=""N/A""/>"
xml00000008=STRING|" <Variable Key=""Job.NumOfCheckedItems"" Value=""0""/>"
xml00000009=STRING|" <Variable Key=""NumOfGoodItems"" Value=""1""/>"
xml0000000A=STRING|" <Variable Key=""Job.NumOfItems"" Value=""2""/>"
xml0000000B=STRING|" <Variable Key=""EXAMINATION.NUMOFITEMS"" Value=""2""/>"
xml0000000C=STRING|" <Variable Key=""EXAMINATION.SUMMARY"" Value=""Analisi 01 Completato con 2 deviazioni. 1 di queste sono state segnate come difettose""/>"
xml0000000D=STRING|" <Variable Key=""ErrorThreshold"" Value=""1.00""/>"
xml0000000E=STRING|" <Variable Key=""ExaminationStatus"" Value=""Bad""/>"
xml0000000F=STRING|" <Variable Key=""SampleFileTitle"" Value=""400-DT-Scan-Folding-Carton-Inspector-Braille""/>"
xml00000010=STRING|" <Variable Key=""FileName"" Value=""26987485530.pdf""/>"
xml00000011=STRING|" <Variable Key=""POF_0"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf""/>"
xml00000012=STRING|" <Variable Key=""FileName_0"" Value=""26987485530.pdf""/>"
xml00000013=STRING|" <Variable Key=""Title"" Value=""26987485530""/>"
xml00000014=STRING|" <Variable Key=""Braille.Points"" Value=""83""/>"
xml00000015=STRING|" <Variable Key=""PARAMETERSET"" Value=""Braille""/>"
xml00000016=STRING|" <Variable Key=""EXAMINATION.BRAILLE.MINHEIGHT"" Value=""160.0""/>"
xml00000017=STRING|" <Variable Key=""SampleFileTime"" Value=""1595692257""/>"
xml00000018=STRING|" <Variable Key=""TemplateDateTime_0"" Value=""25/07/2020 17:50:58""/>"
xml00000019=STRING|" <Variable Key=""TemplateTime_0"" Value=""17:50:58""/>"
xml0000001A=STRING|" <Variable Key=""DocumentFileTitle"" Value=""N/A""/>"
xml0000001B=STRING|" <Variable Key=""Date"" Value=""26/08/2020""/>"
xml0000001C=STRING|" <Variable Key=""Job.NumOfGood"" Value=""1""/>"
xml0000001D=STRING|" <Variable Key=""Doublechecker"" Value=""N/A""/>"
xml0000001E=STRING|" <Variable Key=""TemplatePath"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\""/>"
xml0000001F=STRING|" <Variable Key=""DocumentFileName"" Value=""N/A""/>"
xml00000020=STRING|" <Variable Key=""EXAMINATION.NUMOFGOOD"" Value=""1""/>"
xml00000021=STRING|" <Variable Key=""DoubleCheckerComment"" Value=""""/>"
xml00000022=STRING|" <Variable Key=""SampleFileName"" Value=""400-DT-Scan-Folding-Carton-Inspector-Braille.bmp""/>"
xml00000023=STRING|" <Variable Key=""NumOfChecked"" Value=""0""/>"
xml00000024=STRING|" <Variable Key=""JobId"" Value=""Test_Braille_65537""/>"
xml00000025=STRING|" <Variable Key=""Resolution"" Value=""600""/>"
xml00000026=STRING|" <Variable Key=""SamplePage"" Value=""1""/>"
xml00000027=STRING|" <Variable Key=""SampleExt"" Value=""bmp""/>"
xml00000028=STRING|" <Variable Key=""File"" Value=""N/A""/>"
xml00000029=STRING|" <Variable Key=""Time"" Value=""15:30:12""/>"
xml0000002A=STRING|" <Variable Key=""Braille.AvgHeight"" Value=""200.0""/>"
xml0000002B=STRING|" <Variable Key=""NumOfExaminations"" Value=""1""/>"
xml0000002C=STRING|" <Variable Key=""NumberRange3"" Value=""BRAILLE.LANGUAGE""/>"
xml0000002D=STRING|" <Variable Key=""NumberRange2"" Value=""ARTICLE""/>"
xml0000002E=STRING|" <Variable Key=""NumberRange1"" Value=""ORDER""/>"
xml0000002F=STRING|" <Variable Key=""User"" Value=""MACBOOKPRO\EyeC""/>"
xml00000030=STRING|" <Variable Key=""SAMPLE"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\400-DT-Scan-Folding-Carton-Inspector-Braille.bmp""/>"
xml00000031=STRING|" <Variable Key=""TemplateFileTitle_0"" Value=""26987485530""/>"
xml00000032=STRING|" <Variable Key=""Job.NumOfDefects"" Value=""1""/>"
xml00000033=STRING|" <Variable Key=""EXAMINATION.BRAILLE.AVGHEIGHT"" Value=""200.0""/>"
xml00000034=STRING|" <Variable Key=""EXAMINATION.NUMOFGOODITEMS"" Value=""1""/>"
xml00000035=STRING|" <Variable Key=""SamplePath"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\""/>"
xml00000036=STRING|" <Variable Key=""TemplatePage"" Value=""1""/>"
xml00000037=STRING|" <Variable Key=""Braille.MaxHeight"" Value=""231.0""/>"
xml00000038=STRING|" <Variable Key=""JobSummary"" Value=""Process.JobComment.Bad""/>"
xml00000039=STRING|" <Variable Key=""Comment"" Value=""""/>"
xml0000003A=STRING|" <Variable Key=""NumOfCheckedItems"" Value=""0""/>"
xml0000003B=STRING|" <Variable Key=""JobStatus"" Value=""2""/>"
xml0000003C=STRING|" <Variable Key=""CFR21PART11WARNING"" Value=""Warning: Proofiler was not installed with the 21 CFR 11 Compliant eSignature/Reviewer workflow but the license is valid.""/>"
xml0000003D=STRING|" <Variable Key=""TemplateFilePath"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf""/>"
xml0000003E=STRING|" <Variable Key=""TEMPLATE"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf""/>"
xml0000003F=STRING|" <Variable Key=""TemplateDate_0"" Value=""25/07/2020""/>"
xml00000040=STRING|" <Variable Key=""TemplatePage_0"" Value=""1""/>"
xml00000041=STRING|" <Variable Key=""TemplatePath_0"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\""/>"
xml00000042=STRING|" <Variable Key=""DOCUMENT"" Value=""""/>"
xml00000043=STRING|" <Variable Key=""NumOfGood"" Value=""1""/>"
xml00000044=STRING|" <Variable Key=""ITEMNUMBER"" Value=""""/>"
xml00000045=STRING|" <Variable Key=""EXAMINATION.NUMOFINSPECTEDITEMS"" Value=""0""/>"
xml00000046=STRING|" <Variable Key=""ExaminationNr"" Value=""1""/>"
xml00000047=STRING|" <Variable Key=""TemplateExt"" Value=""pdf""/>"
xml00000048=STRING|" <Variable Key=""TemplateFilePath_0"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf""/>"
xml00000049=STRING|" <Variable Key=""ARTICLE"" Value=""Braille""/>"
xml0000004A=STRING|" <Variable Key=""NumOfInspected"" Value=""0""/>"
xml0000004B=STRING|" <Variable Key=""ErrorSize"" Value=""130""/>"
xml0000004C=STRING|" <Variable Key=""ParametersetName"" Value=""Braille""/>"
xml0000004D=STRING|" <Variable Key=""NumOfDefects"" Value=""1""/>"
xml0000004E=STRING|" <Variable Key=""EXAMINATION.NUMOFDEFECTS"" Value=""1""/>"
xml0000004F=STRING|" <Variable Key=""EXAMINATION.BRAILLE.STDDEV"" Value=""16.7""/>"
xml00000050=STRING|" <Variable Key=""EXAMINATION.NUMOFINSPECTED"" Value=""0""/>"
xml00000051=STRING|" <Variable Key=""SampleDate"" Value=""25/07/2020""/>"
xml00000052=STRING|" <Variable Key=""TemplateTime"" Value=""17:50:58""/>"
xml00000053=STRING|" <Variable Key=""TemplateDate"" Value=""25/07/2020""/>"
xml00000054=STRING|" <Variable Key=""DocumentPath"" Value=""N/A""/>"
xml00000055=STRING|" <Variable Key=""Job.NumOfChecked"" Value=""0""/>"
xml00000056=STRING|" <Variable Key=""Job.NumOfSuspicious"" Value=""2""/>"
xml00000057=STRING|" <Variable Key=""NumOfBadItems"" Value=""1""/>"
xml00000058=STRING|" <Variable Key=""NumOfItems"" Value=""2""/>"
xml00000059=STRING|" <Variable Key=""EXAMINATION.NUMOFBADITEMS"" Value=""1""/>"
xml0000005A=STRING|" <Variable Key=""SampleFilePath"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\400-DT-Scan-Folding-Carton-Inspector-Braille.bmp""/>"
xml0000005B=STRING|" <Variable Key=""TemplateFileName"" Value=""26987485530.pdf""/>"
xml0000005C=STRING|" <Variable Key=""TemplateExt_0"" Value=""pdf""/>"
xml0000005D=STRING|" <Variable Key=""SoftwareVersion"" Value=""3.6.5 (Build 47353)""/>"
xml0000005E=STRING|" <Variable Key=""Braille.StdDev"" Value=""16.8""/>"
xml0000005F=STRING|" <Variable Key=""ORDER"" Value=""Test""/>"
xml00000060=STRING|" <Variable Key=""Overprint"" Value=""90""/>"
xml00000061=STRING|" <Variable Key=""SampleTime"" Value=""17:50:57""/>"
xml00000062=STRING|" <Variable Key=""TemplateDateTime"" Value=""25/07/2020 17:50:58""/>"
xml00000063=STRING|" <Variable Key=""TemplateFileTitle"" Value=""26987485530""/>"
xml00000064=STRING|" <Variable Key=""TEMPLATE_0"" Value=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf""/>"
xml00000065=STRING|" <Variable Key=""BasePath"" Value=""c:\EyeC""/>"
xml00000066=STRING|" <Variable Key=""Braille.MinHeight"" Value=""160.0""/>"
xml00000067=STRING|" <Variable Key=""Job.NumOfBadItems"" Value=""1""/>"
xml00000068=STRING|" <Variable Key=""BRAILLE.LANGUAGE"" Value=""65537""/>"
xml00000069=STRING|" <Variable Key=""EXAMINATION.BRAILLE.POINTS"" Value=""83""/>"
xml0000006A=STRING|" <Variable Key=""SampleDateTime"" Value=""25/07/2020 17:50:57""/>"
xml0000006B=STRING|" <Variable Key=""Job.NumOfGoodItems"" Value=""1""/>"
xml0000006C=STRING|" <Variable Key=""NumOfLabels"" Value=""2""/>"
xml0000006D=STRING|" <Variable Key=""EXAMINATION.NUMOFSUSPICIOUS"" Value=""2""/>"
xml0000006E=STRING|" <Variable Key=""TemplateFileTime_0"" Value=""1595692258""/>"
xml0000006F=STRING|" <Variable Key=""TemplateFileName_0"" Value=""26987485530.pdf""/>"
xml00000070=STRING|" <Variable Key=""DateTime"" Value=""26/08/2020 15:30:12""/>"
xml00000071=STRING|" <Variable Key=""ProofDate"" Value=""1598448612""/>"
xml00000072=STRING|" <Variable Key=""NumOfSuspicious"" Value=""2""/>"
xml00000073=STRING|" <Variable Key=""Job.NumOfLabels"" Value=""2""/>"
xml00000074=STRING|" <Variable Key=""EXAMINATION.BRAILLE.MAXHEIGHT"" Value=""231.0""/>"
xml00000075=STRING|" <Variable Key=""UIORDER"" Value=""Lotto""/>"
xml00000076=STRING|" <Variable Key=""UIARTICLE"" Value=""Articolo""/>"
xml00000077=STRING|" <Variable Key=""UIBRAILLE.LANGUAGE"" Value=""Braille Language""/>"
xml00000078=STRING|" </ProcessVariables>"
xml00000079=STRING|" <Scans NumberOfScans=""0""/>"
xml0000007A=STRING|" </ProductionData>"
xml0000007B=STRING|" <LayerColorantSelection TemplateNumber=""1"">"
xml0000007C=STRING|" <LayerColorantGroup GroupName=""Artwork"" SelectedLayers=""Artwork,Technical Data""/>"
xml0000007D=STRING|" <LayerColorantGroup GroupName=""Cutline"" SelectedLayers=""Cutline""/>"
xml0000007E=STRING|" <LayerColorantGroup GroupName=""Non-Printable"" SelectedLayers=""N/A""/>"
xml0000007F=STRING|" <LayerColorantGroup GroupName=""Braille"" SelectedLayers=""Braille,Cutline""/>"
xml00000080=STRING|" </LayerColorantSelection>"
xml00000081=STRING|" <GlobalSettings>"
xml00000082=STRING|" <Database Active=""false"" Workflow=""0""/>"
xml00000083=STRING|" </GlobalSettings>"
xml00000084=STRING|" <TestPattern TemplateIdx=""0"" ImageRef=""0"" TemplateName=""C:\Users\EyeC\Desktop\Demo Material\Demo - Folding Carton with Braille (Inspector)\26987485530.pdf"" Page=""1"" RelativePath=""C:\Users\EyeC\AppData\Local\Temp\Proofiler-340\Exam0-1598448622\images\TestPatternImage.jpg"" FileTime=""17:50:58"" FileDate=""25/07/2020"" MaskRelativePath=""C:\Users\EyeC\AppData\Local\Temp\Proofiler-340\Exam0-1598448622\images\TestPatternMask.jpg"" MaskManuallyEdited=""false""/>"
xml00000085=STRING|" <BrailleCalibration Id=""1"" Name=""Folding Carton"" TemplateClass=""5"" Measure=""29000.00"" Height=""200.00"" Offset=""0.00"" Resolution=""600.00"" Specularity=""0.29""/>"
xml00000086=STRING|" <Braille Id=""1"" Number=""1"" ItemRef=""1"" TemplateRef=""0"" SampleRef=""0"" IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml00000087=STRING|" <BrailleValues>"
xml00000088=STRING|" <BrailleSection Title="""">"
xml00000089=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml0000008A=STRING|" <Pressed>true</Pressed>"
xml0000008B=STRING|" <DotID>1</DotID>"
xml0000008C=STRING|" <Position>A1-1</Position>"
xml0000008D=STRING|" <PosX>158411</PosX>"
xml0000008E=STRING|" <PosY>83100</PosY>"
xml0000008F=STRING|" <State State=""2"">NotSet </State>"
xml00000090=STRING|" <Height defective=""false"" suspicious=""false"">0.200mm</Height>"
xml00000091=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml00000092=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml00000093=STRING|" </BrailleEntry>"
xml00000094=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml00000095=STRING|" <Pressed>true</Pressed>"
xml00000096=STRING|" <DotID>2</DotID>"
xml00000097=STRING|" <Position>A1-1</Position>"
xml00000098=STRING|" <PosX>158411</PosX>"
xml00000099=STRING|" <PosY>83100</PosY>"
xml0000009A=STRING|" <State State=""2"">NotSet </State>"
xml0000009B=STRING|" <Height defective=""false"" suspicious=""false"">0.200mm</Height>"
xml0000009C=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml0000009D=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml0000009E=STRING|" </BrailleEntry>"
xml0000009F=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml000000A0=STRING|" <Pressed>true</Pressed>"
xml000000A1=STRING|" <DotID>3</DotID>"
xml000000A2=STRING|" <Position>A1-1</Position>"
xml000000A3=STRING|" <PosX>158411</PosX>"
xml000000A4=STRING|" <PosY>83100</PosY>"
xml000000A5=STRING|" <State State=""2"">NotSet </State>"
xml000000A6=STRING|" <Height defective=""false"" suspicious=""false"">0.200mm</Height>"
xml000000A7=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml000000A8=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml000000A9=STRING|" </BrailleEntry>"
xml000000AA=STRING|" </BrailleSection>"
xml000000AB=STRING|" </BrailleValues>"
xml000000AC=STRING|" </Braille> "
xml000000AD=STRING|" "
xml000000AE=STRING|" <Braille Id=""2"" Number=""1"" ItemRef=""1"" TemplateRef=""0"" SampleRef=""0"" IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml000000AF=STRING|" <BrailleValues>"
xml000000B0=STRING|" <BrailleSection Title="""">"
xml000000B1=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml000000B2=STRING|" <Pressed>true</Pressed>"
xml000000B3=STRING|" <DotID>1</DotID>"
xml000000B4=STRING|" <Position>A1-1</Position>"
xml000000B5=STRING|" <PosX>158411</PosX>"
xml000000B6=STRING|" <PosY>83100</PosY>"
xml000000B7=STRING|" <State State=""2"">NotSet </State>"
xml000000B8=STRING|" <Height defective=""false"" suspicious=""false"">0.100mm</Height>"
xml000000B9=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml000000BA=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml000000BB=STRING|" </BrailleEntry>"
xml000000BC=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml000000BD=STRING|" <Pressed>true</Pressed>"
xml000000BE=STRING|" <DotID>2</DotID>"
xml000000BF=STRING|" <Position>A1-1</Position>"
xml000000C0=STRING|" <PosX>158411</PosX>"
xml000000C1=STRING|" <PosY>83100</PosY>"
xml000000C2=STRING|" <State State=""2"">NotSet </State>"
xml000000C3=STRING|" <Height defective=""false"" suspicious=""false"">0.100mm</Height>"
xml000000C4=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml000000C5=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml000000C6=STRING|" </BrailleEntry>"
xml000000C7=STRING|" <BrailleEntry IsDefect=""0"" IsSuspicious=""0"" ClassifiedAsDefect=""0"">"
xml000000C8=STRING|" <Pressed>true</Pressed>"
xml000000C9=STRING|" <DotID>3</DotID>"
xml000000CA=STRING|" <Position>A1-1</Position>"
xml000000CB=STRING|" <PosX>158411</PosX>"
xml000000CC=STRING|" <PosY>83100</PosY>"
xml000000CD=STRING|" <State State=""2"">NotSet </State>"
xml000000CE=STRING|" <Height defective=""false"" suspicious=""false"">0.100mm</Height>"
xml000000CF=STRING|" <Confidence defective=""false"" suspicious=""false"">1.00</Confidence>"
xml000000D0=STRING|" <Decoding defective=""false"" suspicious=""false"" ref="" ""> </Decoding>"
xml000000D1=STRING|" </BrailleEntry>"
xml000000D2=STRING|" </BrailleSection>"
xml000000D3=STRING|" </BrailleValues>"
xml000000D4=STRING|" </Braille>"
xml000000D5=STRING|" </Proofiler>"
xmlcount=STRING|"214"
xmlfile=STRING|"{TempDir}\xmltoprocess\output_ITA.xml"
xmlvar=STRING|"NODE"
[Actions\Action4]
ActionID=STRING|"A_DIALOG_SHOWTEXT"
Enabled=INTEGER|0
Name=STRING|"Show Text"
Params=FOLDER
[Actions\Action4\Params]
autoclose=STRING|"0"
fromfile=STRING|"1"
line00000000=STRING|"{node}"
linecount=STRING|"1"
timeout=STRING|"10"
[Actions\Action5]
ActionID=STRING|"A_FILE_TEXTWRITE"
Enabled=INTEGER|-1
Name=STRING|"Create text file {OutFile}"
Params=FOLDER
[Actions\Action5\Params]
encode=STRING|"0"
fileexists=STRING|"1"
filname=STRING|"{OutFile}"
line0=STRING|"braille nr: {BRAILLENR}"
linecount=STRING|"1"
suppress=STRING|"0"
[Actions\Action6]
ActionID=STRING|"A_XML_LOOP"
Enabled=INTEGER|-1
Name=STRING|"XML Loop - extract braille height"
Params=FOLDER
[Actions\Action6\Params]
ascending=STRING|"0"
attcount=STRING|"0"
childcounvar=STRING|"CHILD"
depthvar=STRING|"CHILD"
loadfile=STRING|"0"
nodenamevar=STRING|"NODENAME"
path=STRING|"/Braille/BrailleValues/BrailleSection/BrailleEntry/Height"
pathvar=STRING|"NODEPATH"
savechildcount=STRING|"0"
savedepth=STRING|"0"
savenodename=STRING|"0"
savepath=STRING|"0"
savetext=STRING|"1"
savexml=STRING|"0"
sortmode=STRING|"0"
textvar=STRING|"HEIGHT"
withsubnodes=STRING|"0"
xml00000000=STRING|"{Node}"
xmlcount=STRING|"1"
xmlfile=STRING|"{TempDir}\xmltoprocess\output_ITA.xml"
xmlvar=STRING|"NODEDEPH"
[Actions\Action7]
ActionID=STRING|"A_FILE_TEXTWRITE"
Enabled=INTEGER|-1
Name=STRING|"Create text file {outfile}"
Params=FOLDER
[Actions\Action7\Params]
encode=STRING|"0"
fileexists=STRING|"1"
filname=STRING|"{outfile}"
line0=STRING|"h: {HEIGHT}"
linecount=STRING|"2"
suppress=STRING|"0"
[Actions\Action8]
ActionID=STRING|"A_LOOP_END"
Enabled=INTEGER|-1
Name=STRING|"End Loop"
[Actions\Action9]
ActionID=STRING|"A_LOOP_END"
Enabled=INTEGER|-1
Name=STRING|"End Loop"
[Events]
Event1=FOLDER
[Events\Event1]
Enabled=INTEGER|-1
EventID=STRING|"E_FILE_MONITOR"
Name=STRING|"File Monitor"
Params=FOLDER
UniqueID=INTEGER|-1245297588
[Events\Event1\Params]
chg=STRING|"0"
chga=STRING|"1"
chgsl=STRING|"1"
chgsm=STRING|"1"
chgtl=STRING|"1"
chgtm=STRING|"1"
del=STRING|"0"
folder1=STRING|"{PROOFILER_TEMP_PATH}"
foldercount=STRING|"1"
incmask=STRING|"output_ITA.*"
interval=STRING|"5"
listmode=STRING|"1"
mon_files=STRING|"1"
mon_folders=STRING|"0"
new=STRING|"1"
newlistparameter=STRING|"PATH"
onelistparameter=STRING|"PATH"
pass=STRING|"1"
passmode=STRING|"1"
required=STRING|"1"
saveresults=STRING|"0"
subfolders1=STRING|"1"
Oleg Yershov
Re: XML LOOP
Excellent! it works as I require! thanks a lot 

Re: XML LOOP
Oleg I come to you because I cannot get the required result..
In my xml I have sequential nodes "pdtns:Braille" with nested subnodes "BrailleEntry" form which I need to extract the text values from its subnode "DotID", "Position", "Height"
I tried to add to the XML Loop the xml get single node for each required value but I get error node not found. I attach my files for you convenience, xml get single node.tsk is an easy example just to test it, thanks
In my xml I have sequential nodes "pdtns:Braille" with nested subnodes "BrailleEntry" form which I need to extract the text values from its subnode "DotID", "Position", "Height"
I tried to add to the XML Loop the xml get single node for each required value but I get error node not found. I attach my files for you convenience, xml get single node.tsk is an easy example just to test it, thanks