Help > Authoring > Using Profiling > Complex Profiling > Publishing with This Example
  
Publishing with This Example
If you were to publish the document setting a publish profile of Customer and Windows XP, the published document would contain chapter 1 and section 1.1 and nothing from chapter 2 for the following reasons:
The sections within chapter 1 are eligible to appear because they inherit the Windows XP profile from their parent chapter.
Section 1.1 is included because it is an element with no profiles and inherits the Windows XP profile from its parent chapter.
Section 1.2 is not included because it has a Windows 2000 profile, which is not part of the publish profile.
None of the sections in chapter 2 are included because they inherit the UNIX profile from the parent chapter. The UNIX profile is not part of the publish profile.
If you widened the scope of the publish profile to include the Customer, Windows XP, and UNIX profiles, the published document would contain chapter 1, section 1.1 and chapter 2, section 2.1 for the following reasons:
The sections within chapter 1 are eligible to appear because they inherit the matching Windows XP profile from their parent chapter.
Section 1.1 is included because it is an element with no profiles and it inherits the Windows XP profile from its parent chapter.
Section 1.2 is not included because it has a Windows 2000 profile, which is not part of the publish profile set.
The sections within chapter 2 are included because they inherit the UNIX profile from their parent chapter.
Section 2.1 is included because it matches the Customer publish profile set.
Section 2.2 is not included because it has an Employee profile, which is not part of the publish profile set.