Announcement

Collapse
No announcement yet.

Ignoring everything between XML tags

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ignoring everything between XML tags

    HI,

    I am comparing Visual Studio project file (csproj) files which are basically XML files, and want to ignore these tags <PropertyGroups> and <ItemGroups.> and everything within these tags. IS this possible?

    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <PackageAsSingleFile>false</PackageAsSingleFile>
    <ExcludeGeneratedDebugSymbol>true</ExcludeGeneratedDebugSymbol>
    <DesktopBuildPackageLocation>Bin\Release\Package </DesktopBuildPackageLocation>
    </PropertyGroup>

    <PropertyGroup>
    <ApplicationIcon></ApplicationIcon>
    </PropertyGroup>

    <ItemGroup>
    <Reference Include="AjaxControlToolkit, Version=18.1.0.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL">
    <HintPath>..\packages\AjaxControlToolkit.18.1.0\ li b\net40\AjaxControlToolkit.dll</HintPath>
    </Reference>
    <Reference Include="Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL">
    <HintPath>..\packages\Antlr.3.5.0.2\lib\Antlr3.R un time.dll</HintPath>
    </Reference>
    </ItemGroup>

  • #2
    Hello,

    Given this example, I'd suggest a Delimited grammar element, from:
    <Node
    to
    </Node>

    Which you can then mark that grammar as Unimportant. We have a guide here:
    http://www.scootersoftware.com/suppo..._unimportantv3
    Aaron P Scooter Software

    Comment


    • #3
      That is so useful... Where has this application been all my life?

      Comment

      Working...
      X