Urgent help on conditional formatting using XML publisher

Folks can any one help me. I am trying to do conditional format in my xml publisher rtf template and I am having issues to render data in specific format. Please see the sample xml file
<?xml version="1.0" encoding="UTF-8"?>
<ColTrn:CollegeTranscript xmlns:AcRec="urn:org:pesc:sector:AcademicRecord:v1.0.0" xmlns:ColTrn="urn:org:pesc:message:CollegeTranscript:v1.0.0" xmlns:UseExt="urn:org:pesc:useextensions" xmlns:core="urn:org:pesc:core.CoreMain:v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:org:pesc:message:CollegeTranscript:v1.0.0 http://www.regents.state.oh.us/articulation_transfer/AT/ATC/XML/Standards/Postsecondary/Transcript/v1.0.0/CollegeTranscript_v1.0.0.xsd urn:org:pesc:useextensions http://www.regents.state.oh.us/articulation_transfer/AT/ATC/XML/Standards/Postsecondary/Transcript/v1.0.0/OBRExtensions_v1.0.0.xsd">
<Student>
<Person>
<SchoolAssignedPersonID>0001567740</SchoolAssignedPersonID>
<Name>
<FirstName>WENDELL</FirstName>
<MiddleName>ROBERT</MiddleName>
<LastName>MORRISON</LastName>
</Name>
</Person>
<AcademicRecord>
<AcademicAward>
<AcademicAwardLevel>2.4</AcademicAwardLevel>
<AcademicAwardDate>2004-03-20</AcademicAwardDate>
<AcademicAwardTitle>BACHELOR OF SCIENCE IN EDUCATION</AcademicAwardTitle>
<AcademicCompletionIndicator>true</AcademicCompletionIndicator>
<AcademicCompletionDate>2004-03-20</AcademicCompletionDate>
<AcademicAwardProgram>
<AcademicProgramType>Major</AcademicProgramType>
<AcademicProgramName>INTEGRATED SOCIAL STUDIES (BS6308)</AcademicProgramName>
</AcademicAwardProgram>
<AcademicAwardProgram>
<AcademicProgramType>Minor</AcademicProgramType>
<AcademicProgramName>PSYCHOLOGY (OR4101)</AcademicProgramName>
</AcademicAwardProgram>
<NoteMessage>EDUCATION AND HUMAN SERVICES</NoteMessage>
<AcademicSummary>
<AcademicSummaryType>SenderOnly</AcademicSummaryType>
<AcademicSummaryLevel>Undergraduate</AcademicSummaryLevel>
<GPA>
<GradePointAverage>2.835</GradePointAverage>
</GPA>
<ClassRank>408</ClassRank>
<ClassSize>533</ClassSize>
</AcademicSummary>
</AcademicAward>
<AcademicAward>
<AcademicAwardLevel>2.4</AcademicAwardLevel>
<AcademicCompletionIndicator>false</AcademicCompletionIndicator>
<AcademicAwardProgram>
<AcademicProgramType>Minor</AcademicProgramType>
<AcademicProgramName>HISTORY (OR4211)</AcademicProgramName>
</AcademicAwardProgram>
</AcademicAward>
</Student>
</ColTrn:CollegeTranscript>
I am trying to generate the output in the below format -
[ The University Degrees Conferred section is printed if  /AcademicRecord/AcademicAward/AcademicCompletionIndicator = true and  AcademicProgramType = 'Major' Then ]
********** UNIVERSITY DEGREE(S) CONFERRED ******************
DATE : Mar 20, 2004 => <AcademicAwardDate>
COLLEGE : EDUCATION AND HUMAN SERVICES => <NoteMessage>
DEGREE : BACHELOR OF SCIENCE IN EDUCATION => <AcademicAwardTitle>
PROGRAM(S) : INTEGRATED SOCIAL STUDIES (BS6308) => <AcademicProgramName>
ACCUM GPA : 2.835 => AcademicSummary/GPA/GradePointAverage
GRAD RANK : 408 IN TOTAL OF 533 => <ClassRank> and <ClassSize>
[ The below section should print if the student has AcademicProgramType = 'Minor' and Academiccompletionindicator = true ]
******OTHER UNIVERSITY PROGRAM(S) COMPLETED******
DATE Mar 16, 2002 PROGRAM : PSYCHOLOGY (OR4101) => <AcademicProgramName> where AcademicProgramType = 'Minor'
[ The below section should print if Academiccompletionindicator = false print all majors and minors.
CURRENT PROGRAM(S) OF STUDY
PROGRAM(S) : HISTORY (OR4211)
=> AcademicProgramName where AcademicAward/AcademicCompletionIndicator = 'false'
Please help me guys. I really appreciate your help.
Thanks
Pradeep
Advertisement
Reply

I have sent you a modified template. Please take a look.
Assign points and close out the thread if you are satisfied.
Thanks,
Bipuser