How to code separator in XHTML 2

 

In some XHML web pages, rather than using <hr/>, I have been coding a
labeled "separator" , which in XHTML V1 is transformed so that it has only
top and bottom borders and therefore looks something like

 

____________________________________________________________________________
___________

----------------------------------------------------------------------------
-----------

                                      A

----------------------------------------------------------------------------
-----------

 

except that it only takes one line to display it.

 

I would have currently coded that as 

 

            <separator title="Tool tip for section A">A</separator>

 

and the CSS stylesheet for the element includes:

 

            border-width: 2px 0px 1px 0px;

 

For XHTML-MP on handheld devices, that element is simply dropped by the XSL
stylesheet:

 

            <xsl:template match="separator"/>

 

However, looking ahead at the working draft for XHTML 2, the content model
for <separator/> says that it is "EMPTY".

So, then, what would be the best way to code that kind of separator be coded
in XHTML 2?  Or is there a better element in XHTML 2 to use to indicate an
optional leading separator for a section?

 

Thanks in advance.

Robert Simpson

 



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

This email and any files transmitted with it are confidential and are intended for the sole use of the individual to whom they are addressed. Black Box Corporation reserves the right to scan all e-mail traffic for restricted content and to monitor all e-mail in general. If you are not the intended recipient or you have received this email in error, any use, dissemination or forwarding of this email is strictly prohibited. If you have received this email in error, please notify the sender by replying to this email.
________________________________________________________________________

Received on Saturday, 28 April 2007 01:11:19 UTC