...Consider the following lines of fake poetry:
Class aptent taciti sociosqu "ad litora torquent, per conubia nostra" per inceptos hymenaeos.
Now consider making a xml document out of it
|<?xml version="1.0" encoding="utf-8"?> <poem xmlns="http://some.name.space"> <line>Class aptent taciti sociosqu <q>ad litora torquent,</line> <line>per conubia nostra</q> per inceptos hymenaeos.</line> </poem>|
but it's not well formed, and neither or the alternatives
Allow me to pose this back to you:
The display for these data is 13 characters wide. Do your <line>...</line> content wrap?
"no" = the fact that it is on one line is more important than being able to read it in its entirety (e.g., wrapping it would change the meaning, as in ASCII artwork)
"yes" = the content is more important than the display, and the end of line more important than the fact that it is a single line.
So, for your poetry example, I would encode it like so:
<poem>
<stanza>
Class aptent taciti sociosqu <q>ad litora torquent,<br/>per conubia nostra</q> per inceptos hymenaeos.
</stanza>
</poem>
<br/> in this sense doesn't mean a line-break so much as it means end-of-line. If a quote did not terminate before the end of a stanza, then you self-close the quote; the next quote will be an open-quote at the beginning of the next stanza, anyway.
--
Ben Curtis : webwright bivia : a personal web studio http://www.bivia.com v: (818) 507-6613
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************