In: Computer Science
Create CSS styling for this xml code
5.2. Change the CSS so only a single course is displayed.
5.2.1. You may add IDs or classes to the XML file a desired.
<InformationSystems>
<Classes>
<CourseHeader>
<CourseNumber>CIS 145</CourseNumber>
<CourseName>Introduction to Relational
Database</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces relational database
concepts and practices using business-related examples. OFTEC 111
or 108 recommended, or comparable competencies. Prerequisite: OFTEC
141 or MATH 097 with a "C" or
better.]]></Description>
<AdditionalInfo>Additional
Notes</AdditionalInfo>
</Classes>
<Classes>
<CourseHeader>
<CourseNumber>CIS 160</CourseNumber>
<CourseName>Programming Fundamentals</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces programming structures,
concepts, techniques and terminology using visual studio
development environment and the c# programming
language.Prerequisite: MATH 097. Distribution: AA, AS,
DTA.]]></Description>
<AdditionalInfo>Additional
Notes</AdditionalInfo>
</Classes>
<Classes>
<CourseHeader>
<CourseNumber>CIS 166</CourseNumber>
<CourseName>Programming Business
Objects</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces concepts and techniquies
of object oriented programming,validation and storage of business
data sets, and user interfaces. Prerequisite:CIS
160.]]></Description>
<AdditionalInfo>Additional
Notes</AdditionalInfo>
</Classes>
<Classes>
<CourseHeader>
<CourseNumber>CIS 169</CourseNumber>
<CourseName>Requirements Analysis</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces planning,analysis and
design of software with an emphasis on development methodologies,
design process and communication techniques. Prerequisite: CIS: 145
and CIS 166.]]></Description>
<AdditionalInfo>Additional
Notes</AdditionalInfo>
</Classes>
<Classes>
<CourseHeader>
<CourseNumber>CIS 182</CourseNumber>
<CourseName>SQL Fundamentals</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces Structured Query Language
(SQL). Emphasizes techniques for writing efficient SQL queries
using a common commercial implementation of SQL. Prerequisite: CIS
145 and CIS 160 or instructor's
permission.]]></Description>
<AdditionalInfo>Additional
Notes</AdditionalInfo>
</Classes>
<Classes>
<CourseHeader>
<CourseNumber>CIS 185</CourseNumber>
<CourseName>HTML, CSS, JavaScript</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces creating web pages with
HTML5 and CSS. Covers JavaScript coding to create, test, debug, and
document programs. Prerequisite: CIS
166.]]></Description>
<AdditionalInfo>Additional
Notes</AdditionalInfo>
</Classes>
<Classes>
<CourseHeader>
<CourseNumber>CIS 218</CourseNumber>
<CourseName>PowerShell, Cybersecurity,
Ethics</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces PowerShell scripting,
basic cybersecurity concepts, and ethical issues for software
development. Prerequisite: CIS 166 and "C" or better in ENGL&
101.]]></Description>
<AdditionalInfo>Additional
Notes</AdditionalInfo>
</Classes>
<Classes>
<CourseHeader>
<CourseNumber>CIS 245</CourseNumber>
<CourseName>Business Information
Systems</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces business information
systems. Explores the role of software developers and database
managers in developing, refining, and supporting these systems.
Prerequisite: CIS 266.]]></Description>
<AdditionalInfo>Additional
Notes</AdditionalInfo>
</Classes>
<Classes>
<CourseHeader>
<CourseNumber>CIS 266</CourseNumber>
<CourseName>Introduction to Business
Applications</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Explores how to edit, present, and
store data using object-oriented programming and relational
databases. Prerequisite: CIS 166 and CIS
182.]]></Description>
<AdditionalInfo>Additional
Notes</AdditionalInfo>
</Classes>
<Classes>
<CourseHeader>
<CourseNumber>CIS 282</CourseNumber>
<CourseName>SQL Programming</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Continues development of relational
databases and associated services using Structured Query Language
(SQL) in Microsoft SQL Server. Introduces transaction processing,
stored procedures, indices, constraints, triggers, and views.
Prerequisite: CIS 182 and CIS 166.]]></Description>
<AdditionalInfo>Additional
Notes</AdditionalInfo>
</Classes>
<Classes>
<CourseHeader>
<CourseNumber>CIS 284</CourseNumber>
<CourseName>Web Application
Development</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces development of
interactive web pages using ASP.NET server-side programming. Web
programming with SQL databases, addresses security issues, develops
web services, and introduces deployment to cloud services.
Prerequisite: CIS 166, CIS 182, and CIS
185.]]></Description>
<AdditionalInfo>Additional
Notes</AdditionalInfo>
</Classes>
</InformationSystems>
Hello , I am writing the
answer below and have tried to write complete answer
in simple and easy to understand language. I hope my answer will
help you.
PLEASE give me LIKE / UPVOTE if you like my answer. THANK
YOU.
(if any changes you want comment me i re-write the answer for you)
im here using the external css in xml file using style link.
the classes name & the using ID style created here, to make a classes good looking.
every class seperate style color & font style .
subject name is font increase , & description font italic using the ID.
index.xml
<?xml-stylesheet type="text/css" href="name.css"?> /* external syle using link*/
<InformationSystems>
<Classes><s id="se"> /* using here ID tag style purpose */
<CourseHeader>
<CourseNumber>CIS 145</CourseNumber>
<CourseName>Introduction to Relational Database</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces relational database concepts and practices using business-related examples. OFTEC 111 or 108 recommended, or comparable competencies. Prerequisite: OFTEC 141 or MATH 097 with a "C" or better.]]></Description>
<AdditionalInfo>Additional Notes</AdditionalInfo>
</s></Classes>
<Classes><s id="se">
<CourseHeader>
<CourseNumber>CIS 160</CourseNumber>
<CourseName>Programming Fundamentals</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces programming structures, concepts, techniques and terminology using visual studio development environment and the c# programming language.Prerequisite: MATH 097. Distribution: AA, AS, DTA.]]></Description>
<AdditionalInfo>Additional Notes</AdditionalInfo>
</s></Classes>
<Classes><s id="se">
<CourseHeader>
<CourseNumber>CIS 166</CourseNumber>
<CourseName>Programming Business Objects</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces concepts and techniquies of object oriented programming,validation and storage of business data sets, and user interfaces. Prerequisite:CIS 160.]]></Description>
<AdditionalInfo>Additional Notes</AdditionalInfo>
</s></Classes>
<Classes><s id="se">
<CourseHeader>
<CourseNumber>CIS 169</CourseNumber>
<CourseName>Requirements Analysis</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces planning,analysis and design of software with an emphasis on development methodologies, design process and communication techniques. Prerequisite: CIS: 145 and CIS 166.]]></Description>
<AdditionalInfo>Additional Notes</AdditionalInfo>
</s></Classes>
<Classes><s id="se">
<CourseHeader>
<CourseNumber>CIS 182</CourseNumber>
<CourseName>SQL Fundamentals</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces Structured Query Language (SQL). Emphasizes techniques for writing efficient SQL queries using a common commercial implementation of SQL. Prerequisite: CIS 145 and CIS 160 or instructor's permission.]]></Description>
<AdditionalInfo>Additional Notes</AdditionalInfo>
</s></Classes>
<Classes><s id="se">
<CourseHeader>
<CourseNumber>CIS 185</CourseNumber>
<CourseName>HTML, CSS, JavaScript</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces creating web pages with HTML5 and CSS. Covers JavaScript coding to create, test, debug, and document programs. Prerequisite: CIS 166.]]></Description>
<AdditionalInfo>Additional Notes</AdditionalInfo>
</s> </Classes>
<Classes><s id="se">
<CourseHeader>
<CourseNumber>CIS 218</CourseNumber>
<CourseName>PowerShell, Cybersecurity, Ethics</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces PowerShell scripting, basic cybersecurity concepts, and ethical issues for software development. Prerequisite: CIS 166 and "C" or better in ENGL& 101.]]></Description>
<AdditionalInfo>Additional Notes</AdditionalInfo>
</s> </Classes>
<Classes><s id="se">
<CourseHeader>
<CourseNumber>CIS 245</CourseNumber>
<CourseName>Business Information Systems</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces business information systems. Explores the role of software developers and database managers in developing, refining, and supporting these systems. Prerequisite: CIS 266.]]></Description>
<AdditionalInfo>Additional Notes</AdditionalInfo>
</s> </Classes>
<Classes><s id="se">
<CourseHeader>
<CourseNumber>CIS 266</CourseNumber>
<CourseName>Introduction to Business Applications</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Explores how to edit, present, and store data using object-oriented programming and relational databases. Prerequisite: CIS 166 and CIS 182.]]></Description>
<AdditionalInfo>Additional Notes</AdditionalInfo>
</s> </Classes>
<Classes><s id="se">
<CourseHeader>
<CourseNumber>CIS 282</CourseNumber>
<CourseName>SQL Programming</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Continues development of relational databases and associated services using Structured Query Language (SQL) in Microsoft SQL Server. Introduces transaction processing, stored procedures, indices, constraints, triggers, and views. Prerequisite: CIS 182 and CIS 166.]]></Description>
<AdditionalInfo>Additional Notes</AdditionalInfo>
</s></Classes>
<Classes><s id="se">
<CourseHeader>
<CourseNumber>CIS 284</CourseNumber>
<CourseName>Web Application Development</CourseName>
<Credits>5</Credits>
</CourseHeader>
<Description><![CDATA[Introduces development of interactive web pages using ASP.NET server-side programming. Web programming with SQL databases, addresses security issues, develops web services, and introduces deployment to cloud services. Prerequisite: CIS 166, CIS 182, and CIS 185.]]></Description>
<AdditionalInfo>Additional Notes</AdditionalInfo>
</s></Classes>
</InformationSystems>
name.css
/* * is a all page style */
*{
color: black;
background-color: rgb(143, 186, 241);
}
/* classes style here */
Classes{
display:block;
border: 3px solid blueviolet;
margin:0.5em;
padding:0.5em;
margin: 20px;
font-size: 20px;
float: left;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
CourseName{
margin-left: 10px;
color: mediumblue;
font-size: 25px;
font-family: monospace ;
}
CourseNumber{
color: rgb(13, 4, 138);
font-size: 23px;
}
Description{margin-left: 25px;
color: rgb(17, 62, 104);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
AdditionalInfo{
color: saddlebrown;
}
Credits{
color: rgb(138, 24, 24);
}
/*using ID style here */
s{
font-style: italic;
}