[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Processing instruction guidelines

the effects of processing instruction
At 9:14 AM -0500 1/24/03, Norman Walsh wrote:

>- - Provide hints for line numbering of verbatim environments

What hints? Start number? If so, couldn't this be better handled by 
an attribute? It seems like a fairly fundamental aspect of a verbatim 

>- - Control the style of function synopses (K&R or ANSI)

That feels like a stylesheet parameter to me, or maybe the 
funcsynopsis element should have a language attribute that allowed 
you to select ANSI C, K&R C, Java, C++, Objective C, etc.

>- - Control presentation of some lists as blocks or tables
>- - Specify rotation for table cells
>- - Specify background color for table cells

All three of these could be controlled by stylesheet options or 
separate stylesheets for separate effects. I'm not sure that would be 
convenient enough but it could be done. It seems to me that this 
mixes presentation with content. Putting the presentation info into 
processing instructions instead of attributes really doesn't change 
that. But maybe you do need to do this. I'm not sure.

| Elliotte Rusty Harold | elharo@m... | Writer/Programmer |
|           Processing XML with Java (Addison-Wesley, 2002)          |
|              http://www.cafeconleche.org/books/xmljava             |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA  |
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.