On 5/4/06, Tech Savvy <tecsavvy@xxxxxxxxx> wrote:
> Thank you for your response. This is what I need to achieve:
> My PDF looks like this after the transformation:
Ok, I've overlooked this a bit before because I tend to get sloppy
with the actual name of certain concepts before, but some quick
XSL - a family of standards including XSLT and XSL-FO.
XSLT - a transformation language to convert one XML format to another.
It is NOT a HTML page, nor is it exactly like php, asp, or jsp pages
in practice. (It might generate HTML, but the process is typically
slightly different than the other server technologies, although it
doesn' thave to be). Hence it's typically poor form to say I'll have a
"XSL page" since it's really a XSL transformation on a source document
as opposed to say, php page that generates the output from it's own
internal structure typically.
XSL-FO - A markup language to describe the visual appearence of a
document. People often use XSLT to convert from the semantic markup
to a presentational markup. A
XSL-FO rendering engine then can produce different visual formats from
the XSL-FO markup. This could possible include anything from PDF, SVG
to a Microsoft Word Document.
I highy doubt your PDF would have that output ...
> 1. <Textfrom list1>
> <graphic element should go here>
> Basically, I need the line "END" after <list1> ends and before the
> <graphic> element starts. I tried hardcoding this on the style sheet
> but it does not work. Is there any other way to achieve it?
So whenever you see the list1 element, you want to produce certain
output. You do this the exact same as any other element.
<!-- when the XSLT processor comes across a list1 element, produce the
following output -->
<Textfrom list1>text</Textfrom list1>
Not to be rude, but before answering your questions in more details,
is this for a school project? I don't like handing students answers
that they should arrive at themselves by understanding the principles
involved. I don't mind helping students at all. It just seems like
you questions have revolved around something that look suspiciously
like a final project and you seem to want to find everything already
done for you.