10 Jul 2012 18:47
tagging a list of organizations
Jason Zech <zech <at> loyolapress.com>
2012-07-10 16:47:30 GMT
2012-07-10 16:47:30 GMT
Hi all, My book ends with a list of Resources, mostly organizations and their contact information. Here is how I structured the tags: <itemizedlist mark="none"> <listitem> <para> <org> <orgname>Great Organization Company</orgname> <address>12354 Address Ave. Sunset City, IL 343434</address> </org> </para> </listitem> Etc. This is valid markup in DB 5.0. However, the stylesheets output invalid XHTML/HTML because the listitem has a <p> tag in it and the address tag outputs a <div class="address"> within that <p> tag. I tried to eliminate the <para> from my markup (doesn't seem appropriate anyway) and put all the info into the address tag. Like this: <listitem> <address><orgname>Great Organization Company</orgname> 12354 Address Ave. City, State 343434</address> </listitem>(Continue reading)
RSS Feed