Subject: Re: [xsl] Need help combing two elements From: XSL-List Owner <xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 30 Mar 2009 10:40:15 -0400 |
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: [xsl] 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
====================================================================== B. Tommie Usdin mailto:btusdin@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Phone: 301/315-9631 Suite 207 Direct Line: 301/315-9634 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in XML and SGML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Need help combing two ele, Fatbob | Thread | Re: [xsl] Need help combing two ele, Wendell Piez |
Re: [xsl] Need help combing two ele, Fatbob | Date | Re: [xsl] Need help combing two ele, Wendell Piez |
Month |