<Modularity:ModuleCatalog xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Modularity="clr-namespace:Microsoft.Practices.Prism.Modularity;assembly=Microsoft.Practices.Prism" xmlns:AppInfo="clr-namespace:Example.Common.Services.Prism.Modularity;assembly=Example.Common.Services"> <Modularity:ModuleInfoGroup InitializationMode="OnDemand"> <AppInfo:ApplicationModuleInfo ModuleName="Administration" ModuleType="Example.UI.Administration.AdministrationModule, Example.UI.Administration, Version=1.2.1.1, Culture=neutral, PublicKeyToken=537c3450b3658434" Ref="Example.UI.Administration.xap" /> <AppInfo:ApplicationModuleInfo ModuleName="Prescribing" ModuleType="Example.UI.Prescribing.PrescribingModule, Example.UI.Prescribing, Version=1.24.2.1, Culture=neutral, PublicKeyToken=537c3450b3658434" Ref="Example.UI.Prescribing.xap" /> <AppInfo:ApplicationModuleInfo ModuleName="SampleModule" ModuleType="Example.UI.SampleModule.SampleModuleModule, Example.UI.SampleModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=537c3450b3658434" Ref="Example.UI.SampleModule.xap" /> </Modularity:ModuleInfoGroup> </Modularity:ModuleCatalog>
.//*[local-name() = 'ApplicationModuleInfo']/@ModuleType[substring-after(., ',')][substring-before(.,',')]
substring-before(., ",")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)