Is there a way to use CSS to format my XML file so that it creates an unordered list when it opens in a browser?
Here is a snippet of the part of the XML file that I'm trying to format as an unordered list: <sectionheader>Session 1-1 Quick Check</sectionheader> <quickchecklist> <listtype2>Define the term ‘extensible.’ How does the concept of extensibility relate to XML?</listtype2> <listtype2>What is SGML and why was SGML not used for authoring pages on the World Wide Web?</listtype2> </quickchecklist>
do you mean this ? listtype2 { display:list-item ; list-style:disc; } try learning XSLT I think It will help a lot Good Luck :)
Thanks. I had figured it out a little bit after posting. I had mistyped the list-style property in my CSS file, so it wasn't displaying the bullet. lol Why is it always the simplest stuff that we miss? I swear I looked over my CSS five or six times and never saw that error. Thanks anyways. You get a medal! As for XSLT, I am learning it. Good advice.
OK
Join our real-time social learning platform and learn together with your friends!