cancel
Showing results for 
Search instead for 
Did you mean: 

Expose .vdx (visio 2007 xml files) to content index -

cjciii
Champ in-the-making
Champ in-the-making
goal - i need to index all text content from visio 2007 xml files ( extension .vdx) as content … ie i want all visible text in all .vdx files to be searchable

all relevent text in files is in format – <Shape><Text>index this here stuff</Text></Shape> (for actual example from vdx file see below…)

so i need to
add .vdx definitions to document dictionary
Parse all .vdx files and expose all data under <Shape><Text>index this here stuff</Text></Shape> as content

example from vdx file … in example the following should be searchable content
Static NAT: 
xxx.xxx.xxx.xxx to xxx.xxx.xxx.xxx
customer.clnt.company.net

==================================================================================================================
<Shape ID='13' Type='Shape' LineStyle='3' FillStyle='3' TextStyle='3'><XForm><PinX>4.707048324487106</PinX><PinY>1.594907914470058</PinY><Width>0.7497709885224545</Width><Height>0.8330788761360605</Height><LocPinX F='Width*0.5'>0.3748854942612273</LocPinX><LocPinY F='Height*0.5'>0.4165394380680302</LocPinY><Angle>0</Angle><FlipX>0</FlipX><FlipY>0</FlipY><ResizeMode>0</ResizeMode></XForm><Geom IX='0'><NoFill>0</NoFill><NoLine>0</NoLine><NoShow>0</NoShow><NoSnap>0</NoSnap><Ellipse IX='1'><X F='Width*0.5'>0.3748854942612273</X><Y F='Height*0.5'>0.4165394380680302</Y><A Unit='DL' F='Width*1'>0.7497709885224545</A><B Unit='DL' F='Height*0.5'>0.4165394380680302</B><C Unit='DL' F='Width*0.5'>0.3748854942612273</C><D Unit='DL' F='Height*1'>0.8330788761360605</D></Ellipse></Geom></Shape><Shape ID='10' Type='Shape' LineStyle='3' FillStyle='3' TextStyle='3'><XForm><PinX>4.707048324487106</PinX><PinY>2.927834116287755</PinY><Width>0.7497709885224545</Width><Height>0.8330788761360605</Height><LocPinX F='Width*0.5'>0.3748854942612273</LocPinX><LocPinY F='Height*0.5'>0.4165394380680302</LocPinY><Angle>0</Angle><FlipX>0</FlipX><FlipY>0</FlipY><ResizeMode>0</ResizeMode></XForm><Geom IX='0'><NoFill>0</NoFill><NoLine>0</NoLine><NoShow>0</NoShow><NoSnap>0</NoSnap><Ellipse IX='1'><X F='Width*0.5'>0.3748854942612273</X><Y F='Height*0.5'>0.4165394380680302</Y><A Unit='DL' F='Width*1'>0.7497709885224545</A><B Unit='DL' F='Height*0.5'>0.4165394380680302</B><C Unit='DL' F='Width*0.5'>0.3748854942612273</C><D Unit='DL' F='Height*1'>0.8330788761360605</D></Ellipse></Geom></Shape><Shape ID='16' Type='Shape' LineStyle='1' FillStyle='1' TextStyle='3'><XForm><PinX>6.513718713867508</PinX><PinY>6.126857000650226</PinY><Width>4.727444929113432</Width><Height>0.6220322275149253</Height><LocPinX F='Width*0.5'>2.363722464556716</LocPinX><LocPinY F='Height*0.5'>0.3110161137574626</LocPinY><Angle>0</Angle><FlipX>0</FlipX><FlipY>0</FlipY><ResizeMode>0</ResizeMode></XForm><Event><TheData F='No Formula'>0</TheData><TheText F='No Formula'>0</TheText><EventDblClick F='OPENTEXTWIN()'>0</EventDblClick><EventXFMod F='No Formula'>0</EventXFMod><EventDrop F='No Formula'>0</EventDrop></Event><vx:Event xmlns:vx='http://schemas.microsoft.com/visio/2006/extension'><vx:EventMultiDrop F='No Formula'>0</vx:EventMultiDrop></vx:Event><Geom IX='0'><NoFill>0</NoFill><NoLine>0</NoLine><NoShow>0</NoShow><NoSnap>0</NoSnap><MoveTo IX='1'><X F='Width*0'>0</X><Y F='Height*0'>0</Y></MoveTo><LineTo IX='2'><X F='Width*1'>4.727444929113432</X><Y F='Height*0'>0</Y></LineTo><LineTo IX='3'><X F='Width*1'>4.727444929113432</X><Y F='Height*1'>0.6220322275149253</Y></LineTo><LineTo IX='4'><X F='Width*0'>0</X><Y F='Height*1'>0.6220322275149253</Y></LineTo><LineTo IX='5'><X F='Width*0'>0</X><Y F='Height*0'>0</Y></LineTo></Geom><Text/></Shape><Shape ID='18' Type='Shape' LineStyle='1' FillStyle='1' TextStyle='8'><XForm><PinX>3.9375</PinX><PinY>5.039140469605693</PinY><Width>2.875</Width><Height>1.078280939211386</Height><LocPinX F='Width*0.5'>1.4375</LocPinX><LocPinY F='Height*0.5'>0.5391404696056927</LocPinY><Angle>0</Angle><FlipX>1</FlipX><FlipY>1</FlipY><ResizeMode>0</ResizeMode></XForm><Line><LineWeight F='Inh'>0.01</LineWeight><LineColor>#000000</LineColor><LinePattern>1</LinePattern><Rounding F='Inh'>0</Rounding><EndArrowSize F='Inh'>2</EndArrowSize><BeginArrow F='Inh'>0</BeginArrow><EndArrow F='Inh'>0</EndArrow><LineCap F='Inh'>0</LineCap><BeginArrowSize F='Inh'>2</BeginArrowSize><LineColorTrans F='No Formula'>0</LineColorTrans></Line><Event><TheData F='No Formula'>0</TheData><TheText F='No Formula'>0</TheText><EventDblClick F='OPENTEXTWIN()'>0</EventDblClick><EventXFMod F='No Formula'>0</EventXFMod><EventDrop F='No Formula'>0</EventDrop></Event><vx:Event xmlns:vx='http://schemas.microsoft.com/visio/2006/extension'><vx:EventMultiDrop F='No Formula'>0</vx:EventMultiDrop></vx:Event><Fill><FillForegnd>5</FillForegnd><FillBkgnd F='Inh'>0</FillBkgnd><FillPattern>1</FillPattern><ShdwForegnd F='Inh'>0</ShdwForegnd><ShdwBkgnd F='Inh'>1</ShdwBkgnd><ShdwPattern F='Inh'>0</ShdwPattern><FillForegndTrans F='No Formula'>0</FillForegndTrans><FillBkgndTrans F='No Formula'>0</FillBkgndTrans><ShdwForegndTrans F='No Formula'>0</ShdwForegndTrans><ShdwBkgndTrans F='No Formula'>0</ShdwBkgndTrans><ShapeShdwType F='Inh'>0</ShapeShdwType><ShapeShdwOffsetX F='Inh'>0</ShapeShdwOffsetX><ShapeShdwOffsetY F='Inh'>0</ShapeShdwOffsetY><ShapeShdwObliqueAngle F='Inh'>0</ShapeShdwObliqueAngle><ShapeShdwScaleFactor F='Inh'>1</ShapeShdwScaleFactor></Fill><Char IX='0'><Font F='Inh'>4</Font><Color F='Inh'>0</Color><Style>1</Style><Case F='Inh'>0</Case><Pos F='Inh'>0</Pos><FontScale F='Inh'>1</FontScale><Size Unit='PT'>0.1666666666666667</Size><DblUnderline F='Inh'>0</DblUnderline><Overline F='Inh'>0</Overline><Strikethru F='Inh'>0</Strikethru><Highlight F='Inh'>0</Highlight><DoubleStrikethrough F='Inh'>0</DoubleStrikethrough><RTLText F='Inh'>0</RTLText><UseVertical F='Inh'>0</UseVertical><Letterspace F='Inh'>0</Letterspace><ColorTrans F='No Formula'>0</ColorTrans><AsianFont F='Inh'>0</AsianFont><ComplexScriptFont F='Inh'>0</ComplexScriptFont><LocalizeFont F='Inh'>0</LocalizeFont><ComplexScriptSize F='Inh'>-1</ComplexScriptSize><LangID F='Inh'>1033</LangID></Char><Geom IX='0'><NoFill>0</NoFill><NoLine>0</NoLine><NoShow>0</NoShow><NoSnap>0</NoSnap><MoveTo IX='1'><X F='Width*0'>0</X><Y F='Height*0'>0</Y></MoveTo><LineTo IX='2'><X F='Width*1'>2.875</X><Y F='Height*0'>0</Y></LineTo><LineTo IX='3'><X F='Width*1'>2.875</X><Y F='Height*1'>1.078280939211386</Y></LineTo><LineTo IX='4'><X F='Width*0'>0</X><Y F='Height*1'>1.078280939211386</Y></LineTo><LineTo IX='5'><X F='Width*0'>0</X><Y F='Height*0'>0</Y></LineTo></Geom><Text><cp IX='0'/>Static NAT: 
xxx.xxx.xxx.xxx to xxx.xxx.xxx.xxx
customer.clnt.company.net

</Text></Shape>
==================================================================================================================
1 REPLY 1

rliu
Champ in-the-making
Champ in-the-making