Subject: Re: [xsl] emulating tabulations in FO From: Mike Ferrando <mikeferrando@xxxxxxxxx> Date: Wed, 16 Oct 2002 06:58:09 -0700 (PDT) |
Louis, >From my experience with document conversion, I first set the tabs so that they all align with proper space so that there are no overlapping in my word processor software (Word or WordPerfect). Then I select all of it and turn it into a table. (You might need to i) change the paper size to legal landscape, ii) reduce the point size of the font so that there is no wrapping of text.) With the text now correctly in columns, I insert columns between the data. Then I put tags in the columns and use the copy function to copy them down the entire column into each row. Then write wrapper tags around the table. After all you are merely typing ASCII text which remains the same regardless of whether you are in a word processor or in an editor. <TABLE> <TR><TD> ; Data ; </TD><TD> ; Data ; </TD>/TR> </TABLE> After I finish with this, I then delete the table leaving the data, and S & R to get rid of the tabs. This leaves me with a well formed XML document. Then I cut and paste it into my editor. I then can write a stylesheet for the nodes. It seems to me a lot less complex on both ends. Sincerely, Mike F. Washington, DC --- Louis Meigret <meigret@xxxxxxxxxxxxxxxx> wrote: > > How can I emulate tabulations in XSL ? I thought of using > <fo:leaders> but this does not seem to work in the general case. > > Example: > > set tab : 3cm, 8cm, 12cm > > > Text1<tab>Text2<tab>Text3 > Text1 much longer<tab>Text2b aligned with Tex2<tab>Text3b aligned > with Text3. > > Any help welcome, > > Louis > > > > > -- > __________________________________________________________ > Sign-up for your own FREE Personalized E-mail at Mail.com > http://www.mail.com/?sr=signup > > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] emulating tabulations in , G. Ken Holman | Thread | Re: [xsl] emulating tabulations in , Louis Meigret |
[xsl] Cannot Access Attribute with , Clifford, Karen | Date | Re: [xsl] Cannot Access Attribute w, Jeni Tennison |
Month |