[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook] HTML BR tags
Could you perhaps be more specific as to why you want a line break? > -----Original Message----- > From: Dave Viner [mailto:dviner@yahoo-inc.com] > Sent: Thursday, April 10, 2003 4:50 PM > To: docbook@lists.oasis-open.org > Subject: RE: [docbook] HTML BR tags > > > Hi Patrick, > Thanks for your reply. I am actually using XSL to > transform my xml into > html already. I completely understand and like the > seperation of layout > from content that DocBook enables. However, in my case (and > I suspect in > many similar cases where generation of HTML is desired), it is very > challenging to have the XML contain content markup > exclusively. Although it > is highly desirable to seperate the two, there are some cases > where such > seperation is extremely difficult to maintain. > Therefore, while I completely agree that layout > decisions should be > seperated from content as much as possible, I believe that > there might be a > reasonable compromise that allows most users to interject > desired layout > elements without overly burdening or corrupting the content markup. I > realize that what I am suggesting isn't so much a DocBook > standard as it is > (perhaps) a "recommendation" for use when one needs more > direct correlation > between the DocBook XML and the resultant HTML. This is why > I suggested the > use of the literallayout element with a role attribute. Does > that make > sense or am I way off base here? > Perhaps this post would have been more appropriate for > docbook-apps@ > instead of docbook@. Please let me know if I have > misdirected my comments. > I certainly don't want to create more spam-ish emails for folks. > > Thanks for your help. > > dave > > > -----Original Message----- > From: Patrick Eisenacher [mailto:eisenacher@fillmore-labs.com] > Sent: Thursday, April 10, 2003 4:24 AM > To: Dave Viner > Cc: docbook@lists.oasis-open.org > Subject: Re: [docbook] HTML BR tags > > > Hi Dave, > > Docbook is about marking up content, not about layout. The layout is > done in the XSL transformation step. If you're not satisfied with the > default layout, you'll have to do your changes/extensions via an XSL > customization layer. Check those references for more info on XSL > customizations: > > http://www.sagehill.net/xml/docbookxsl/index.html > > and > > http://docbook.sourceforge.net/release/xsl/current/doc/ > > > Patrick > > Dave Viner schrieb: > > Hi, > > I am generating a DocBook XML file which I need to > convert to HTML. In > the > > output HTML, I need to have a <br> tag appear. From reading > > http://www.docbook.org/tdg/en/html/ch02.html#d0e5767 and > the archives, > there > > are several possible ways to insert a linebreak into the > output HTML. It > > seems to me that this is a very common problem for those > need to generate > > HTML from DocBook, and so would benefit from some sort of > recommended or > > standard solution. Is such a concept upcoming in future > revisions of > > DocBook? > > If not, perhaps one possible solution would be to > coerce a common > attribute > > of literallayout for this purpose. For example, <literallayout > > role="linebreak" /> might be used as a common expression > for the HTML br > > tag. > > > > Thanks > > Dave Viner > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]