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

Re: Need help combing two elements

Subject: Re: Need help combing two elements
From: "Fatbob" <fatbob73@xxxxxxxxxxx>
Date: Mon, 30 Mar 2009 10:01:14 -0400
Re:  Need help combing two elements
Well I can copy and paste the entire FO, but it is quite large and I don't
have a website or FTP site that I can use to host the file.

But here is a tiny snippet of the FO, the two cells that I'd like to
combine...

<fo:table-cell color="black" background-color="white" border="1pt solid
black" wrap-option="wrap" overflow="hidden"><fo:block font-size="8pt"
padding="1mm" margin-left=".25mm" overflow="hidden" language="ru"
hyphenate="true">Jan 23, 2007</fo:block></fo:table-cell>
<fo:table-cell color="black" background-color="white" border="1pt solid
black" wrap-option="wrap" overflow="hidden"><fo:block font-size="8pt"
padding="1mm" margin-left=".25mm" overflow="hidden" language="ru"
hyphenate="true">10:57</fo:block></fo:table-cell>

I'd like it to be like this...

<fo:table-cell color="black" background-color="white" border="1pt solid
black" wrap-option="wrap" overflow="hidden"><fo:block font-size="8pt"
padding="1mm" margin-left=".25mm" overflow="hidden" language="ru"
hyphenate="true">Jan 23, 2007 10:57</fo:block></fo:table-cell>

Or even better (with the formatting)...

<fo:table-cell color="black" background-color="white" border="1pt solid
black" wrap-option="wrap" overflow="hidden"><fo:block font-size="8pt"
padding="1mm" margin-left=".25mm" overflow="hidden" language="ru"
hyphenate="true">2000-01-23 10:57</fo:block></fo:table-cell>

If it would help I can post the entire FO.

----- Original Message ----- 
From: "Michael Ludwig" <mlu@xxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, March 30, 2009 4:32 AM
Subject: Re:  Need help combing two elements


> Fatbob schrieb:
> > Well basically, this XSL is used to build a report. Here is a sample
> > of the report that this XSL builds as it is now...
> >
> > http://img12.imageshack.us/img12/7903/samplereport.jpg
> >
> > What I'm trying to do is combine the first two columns into one
> > column. So instead of having a column for date (the collect column),
> > and a column for time (right next to Collect), I want that to be
> > displayed in one column, similar to Resulted. Ultimately, I'd like to
> > also convert the date to a different format (yyyy-MM-dd hh:mm), but
> > one step at a time.
>
> > ----- Original Message ----- From: "Syd Bauman" <Syd_Bauman@xxxxxxxxx>
>
> >> I've got your input:
> >>
> >> <Row Type="Data">
> >>  <Cell>Mar 23, 2006</Cell>
> >>  <Cell>08:44</Cell>
> >> </Row>
> >>
> >> But what do you want the output to look like?
>
> It might be easier to help you with the XSLT if you provided the desired
> XML output, which is FO, instead of an image of the desired appearance
> of the processed FO.
>
> Michael Ludwig

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
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.