sandeep.gvn
Posts: 26
Joined: Wed Jan 15, 2014 11:55 am

How to search for a value in an XML of this type?

Hi Dan,

Could you please let me know "How to search for a value from an XML of this type"?

<FilePath>
<StartUpPath>
<Type>RepSchema</Type>
<Path>D:\Release\Server\Reports\</Path>
</StartUpPath>
<StartUpPath>
<Type>RepLayouts</Type>
<Path>D:\Release\Server\Reports\</Path>
</StartUpPath>
<StartUpPath>
<Type>FormLayouts</Type>
<Path>D:\Release\Server\</Path>
</StartUpPath>
<StartUpPath>
<Type>UserFiles</Type>
<Path>D:\Release\Server\UserFiles\</Path>
</StartUpPath>
<StartUpPath>
<Type>LayoutConfiguration</Type>
<Path>D:\Release\Server\</Path>
</StartUpPath>
</FilePath>

I would like to get the path for LayoutConfiguration.. Once I get the path, I should be coping a file How would I achieve this?

Regards,

G.V.N.Sandeep
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to search for a value in an XML of this type?

Hi Sandeep,

I'm not sure I fully understand your scenario. Can you please give me more details about your specific scenario (maybe exemplify)? Does this .XML file is on the target machine and you want to get the path for LayoutConfiguration when you install your application?

Have you noticed our support for XML Search from the Search page? You can take a look on the Creating a XML Search article with related information for hints and guidance.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”