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.
I think these examples will help, but I think perhaps you missed my point.
I am suggesting that you create a miniature example, with a tiny XML
source file, and the associated FO file that you WANT. The tiny XML
source file should illustrate the data you want to transform, and the
tiny result file (FO in your case) should show what you want to
create from THAT source XML file.
In your case, perhaps the XML source for those two cell, wrapped as
needed to create a well-formed XML document, and the FO you want for
those cells.
By providing a test case like this you make it far easier for people
to know what you want to accomplish, and thus to give you advice.
Without this, they have to guess what you data really looks like, or
what you want your XML output to be.
Does that make sense?
-- Tommie
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(_at_)as-guides(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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(_at_)Brown(_dot_)edu>
>> 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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--
======================================================================
B. Tommie Usdin
mailto:btusdin(_at_)mulberrytech(_dot_)com
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
======================================================================
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--