Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

XSL-FO · discussion of XSL Formatting Objects

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 1394
  • Founded: Jan 5, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 6339 - 6368 of 7448   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#6339 From: "Umer Rashid" <umer_rashid@...>
Date: Fri Apr 1, 2005 9:39 am
Subject: Newline Characters in XSL-FO
umer_rashid
Send Email Send Email
 
Is there any special way to display newline, space characters,
carriage  returns in XSL-FO? I'm using XLS Formatter V3.2 and
it times the newline characters in the text written in XML,
which I want to display in XSL-FO file.

Any solution to this problem?



Regards,
Umer

#6340 From: "Victor Vishnyakov" <tch_@...>
Date: Fri Apr 1, 2005 10:46 am
Subject: RE: Newline Characters in XSL-FO
victor_vishn...
Send Email Send Email
 
You should use the following properties to achieve the desired result:
7.15.7. "linefeed-treatment"
7.15.8. "white-space-treatment"
7.15.12. "white-space-collapse"

Read the spec for the additional details.


Best Regards,
Victor Vishnyakov
http://xslfo-zone.com/




> -----Original Message-----
> From: Umer Rashid [mailto:umer_rashid@...]
> Sent: Friday, April 01, 2005 12:39 PM
> To: XSL-FO@yahoogroups.com
> Subject: [XSL-FO] Newline Characters in XSL-FO
>
>
>
>
> Is there any special way to display newline, space
> characters, carriage  returns in XSL-FO? I'm using XLS
> Formatter V3.2 and it times the newline characters in the
> text written in XML, which I want to display in XSL-FO file.
>
> Any solution to this problem?
>
>
>
> Regards,
> Umer
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>

#6341 From: Dave Pawson <DaveP@...>
Date: Sat Apr 2, 2005 9:50 am
Subject: Re: Newline Characters in XSL-FO
dpawson2000
Send Email Send Email
 
On Fri, 2005-04-01 at 09:39 +0000, Umer Rashid wrote:
>
>
> Is there any special way to display newline, space characters,
> carriage  returns in XSL-FO? I'm using XLS Formatter V3.2 and
> it times the newline characters in the text written in XML,
> which I want to display in XSL-FO file.
>
> Any solution to this problem?

See Victors reply for a real how to.

First you need to realise that the XML source document is
(most likely) marked up semantically, not using presentational markup.

>From that structure, you may want to apply presentational information
based on structure, e.g. a new line at the end of a paragraph.

Use that approach and Victors syntax and you'll solve your problem.

HTH


--
Regards,

Dave Pawson
XSLT + Docbook FAQ
http://www.dpawson.co.uk

#6342 From: "Umer Rashid" <umer_rashid@...>
Date: Mon Apr 4, 2005 8:39 am
Subject: White Strip at Top of PDF
umer_rashid
Send Email Send Email
 
I am using XSL Formatter to generate PDF from XML. I am trying to
display an image on full length of the page, using the XSL code
given below:

  -------------------------------------------------------

<fo:block-container position="fixed" top="0" left="0"
height="{$pageheight}px" width="{$pagewidth}px">
  <fo:block>
   <fo:external-graphic src="url('{$imagepath}')"

	 scaling="non-uniform"

	 content-height="{$pageheight}px" content-width="{$pagewidth}
px" />

	 </fo:block>
</fo:block-container>

--------------------------------------------------------------

The PDF generated has image displayed on full length of the page,
however, it creates a thin white strip that runs across the top of
the image. I mean, the top corner of the image does not touch the
top corner of the page. Am I missing something? I have tried
specifying "fo:simple-page-master margin_top=0" as well as
"<fo:region-body margin-top="0" margin-left="0" margin-right="0"
margin-bottom="0" />", but to no avail.

I want to know if it is a built-in feature of XSL or XSL Formatter
that there always remains a gap between the top corner of the page
and the top corner of the block-container.

Regards,
Umer

#6343 From: "tokukobayashi2002" <koba@...>
Date: Mon Apr 4, 2005 12:20 pm
Subject: Re: White Strip at Top of PDF
tokukobayash...
Send Email Send Email
 
Thank you for using XSL Formatter.

fo:external-graphic is treated as an inline object which generates
a line area.

The default height of line area is 1.2 * (line height).
Please specify line-height="1.0" for the block.

I hope it helps.

Best regards,

Tokushige Kobayashi

--- In XSL-FO@yahoogroups.com, "Umer Rashid" <umer_rashid@y...> wrote:
>
>
> I am using XSL Formatter to generate PDF from XML. I am trying to
> display an image on full length of the page, using the XSL code
> given below:
>
>  -------------------------------------------------------
>
> <fo:block-container position="fixed" top="0" left="0"
> height="{$pageheight}px" width="{$pagewidth}px">
>  <fo:block>
>   <fo:external-graphic src="url('{$imagepath}')"
>
>  scaling="non-uniform"
>
>  content-height="{$pageheight}px" content-width="{$pagewidth}
> px" />
>
>  </fo:block>
> </fo:block-container>
>
> --------------------------------------------------------------
>
> The PDF generated has image displayed on full length of the page,
> however, it creates a thin white strip that runs across the top of
> the image. I mean, the top corner of the image does not touch the
> top corner of the page. Am I missing something? I have tried
> specifying "fo:simple-page-master margin_top=0" as well as
> "<fo:region-body margin-top="0" margin-left="0" margin-right="0"
> margin-bottom="0" />", but to no avail.
>
> I want to know if it is a built-in feature of XSL or XSL Formatter
> that there always remains a gap between the top corner of the page
> and the top corner of the block-container.
>
> Regards,
> Umer

-- Antenna House, Inc.
E-mail koba@...
WWW    http://www.antenna.co.jp/XML/ (Japanese)
WWW    http://www.antennahouse.com/ (English)
TEL    +81-3-3234-1361 (direct call)
FAX    +81-3-3221-9975

#6344 From: "tokukobayashi2002" <koba@...>
Date: Mon Apr 4, 2005 12:26 pm
Subject: Re: White Strip at Top of PDF
tokukobayash...
Send Email Send Email
 
Our engineer also pointed that:

A graphic is placed on top of a baseline, as a result
there remains a space under the baseline.

Please specify font-size="0", too.

Best regards,

Tokushige Kobayashi


--- In XSL-FO@yahoogroups.com, "tokukobayashi2002" <koba@a...> wrote:
>
> Thank you for using XSL Formatter.
>
> fo:external-graphic is treated as an inline object which generates
> a line area.
>
> The default height of line area is 1.2 * (line height).
> Please specify line-height="1.0" for the block.
>
> I hope it helps.
>
> Best regards,
>
> Tokushige Kobayashi
>
> --- In XSL-FO@yahoogroups.com, "Umer Rashid" <umer_rashid@y...>
wrote:
> >
> >
> > I am using XSL Formatter to generate PDF from XML. I am trying to
> > display an image on full length of the page, using the XSL code
> > given below:
> >
> >  -------------------------------------------------------
> >
> > <fo:block-container position="fixed" top="0" left="0"
> > height="{$pageheight}px" width="{$pagewidth}px">
> >  <fo:block>
> >   <fo:external-graphic src="url('{$imagepath}')"
> >
> >  scaling="non-uniform"
> >
> >  content-height="{$pageheight}px" content-width="{$pagewidth}
> > px" />
> >
> >  </fo:block>
> > </fo:block-container>
> >
> > --------------------------------------------------------------
> >
> > The PDF generated has image displayed on full length of the page,
> > however, it creates a thin white strip that runs across the top
of
> > the image. I mean, the top corner of the image does not touch the
> > top corner of the page. Am I missing something? I have tried
> > specifying "fo:simple-page-master margin_top=0" as well as
> > "<fo:region-body margin-top="0" margin-left="0" margin-right="0"
> > margin-bottom="0" />", but to no avail.
> >
> > I want to know if it is a built-in feature of XSL or XSL Formatter
> > that there always remains a gap between the top corner of the page
> > and the top corner of the block-container.
> >
> > Regards,
> > Umer
>
  -- Antenna House, Inc.
E-mail koba@a...
WWW    http://www.antenna.co.jp/XML/ (Japanese)
WWW    http://www.antennahouse.com/ (English)
TEL    +81-3-3234-1361 (direct call)
FAX    +81-3-3221-9975

#6345 From: "Umer Rashid" <umer_rashid@...>
Date: Mon Apr 4, 2005 12:53 pm
Subject: Re: White Strip at Top of PDF
umer_rashid
Send Email Send Email
 
--- In XSL-FO@yahoogroups.com, "tokukobayashi2002" <koba@a...> wrote:
>
> Our engineer also pointed that:
>
> A graphic is placed on top of a baseline, as a result
> there remains a space under the baseline.
>
> Please specify font-size="0", too.
>
> Best regards,
>
> Tokushige Kobayashi

Thanks a lot for your kind help. It works now.


Regards,
Umer

#6346 From: "Umer Rashid" <umer_rashid@...>
Date: Mon Apr 4, 2005 12:59 pm
Subject: XSL Formatter -- DPI Resolution of PDF
umer_rashid
Send Email Send Email
 
Thanks Tokushige Kobayashi for your help!

I have one more question for you. What is the default DPI resolution
of PDF generated using XSL Formatter? How can I assign it my own
value? I have searched Online Manual of XSL Formatter and but am unable
to found any information there.

#6347 From: "virgul4u" <virgul4u@...>
Date: Tue Apr 5, 2005 12:01 pm
Subject: define duplex mode when you print
virgul4u
Send Email Send Email
 
Hi,

I use FOP.

I need of your knowledge in XSL-FO:

Is it possible to define in the XSL-FO that when you print
automatically you print in duplex (I'm not sure about this word (I'm
french) but i want to say print in front and behind the page)mode?

Thanks for your feedbacks anbd your help

++

Thierry

#6348 From: Eliot Kimber <ekimber@...>
Date: Tue Apr 5, 2005 12:31 pm
Subject: Re: define duplex mode when you print
drmacro
Send Email Send Email
 
virgul4u wrote:
> Is it possible to define in the XSL-FO that when you print
> automatically you print in duplex (I'm not sure about this word (I'm
> french) but i want to say print in front and behind the page)mode?

Printer-specific commands are outside the scope of FO itself. Either you
will use the normal printing interface for your printer or your FO
implementation will provide some implementation-specific facility to add
printer and job options to its output.

I will note that even in FO 1.1 the FO specification is slightly
underspecified in that it implies knowledge of whether the pages are
duplexed or simplexed but provides no direct way to indicate this.

That is, any property with the value "inside" or "outside" implies
formatting-time knowledge of where the binding edge is for each page but
FO provides no standard way to statically specify the binding edge
(possibly because it is really a print-time property). This suggests
that FO implementations should also provide a run-time parameter for
specifying simplex or duplex printing and which edge will be the binding
edge. I don't believe any implementations currently do this (but they
are all evolving so quickly it's impossible to keep up with their features).

Cheers,

Eliot
--
W. Eliot Kimber
Professional Services
Innodata Isogen
9390 Research Blvd, #410
Austin, TX 78759
(512) 372-8155

ekimber@...
www.innodata-isogen.com

#6349 From: "J.Pietschmann" <j3322ptm@...>
Date: Tue Apr 5, 2005 12:35 pm
Subject: Re: define duplex mode when you print
j3322ptm
Send Email Send Email
 
virgul4u wrote:
> I use FOP.
>
> I need of your knowledge in XSL-FO:
>
> Is it possible to define in the XSL-FO that when you print
> automatically you print in duplex (I'm not sure about this word (I'm
> french) but i want to say print in front and behind the page)mode?

If you mean you have a printer which can print on both sides
of a sheet of paper, and you want to enable this printing mode,
then no, this hasn't anything to do with XSLFO.
You can check your printer's manual in order to see whether you
can make this mode a persistent default, you can try the same
with the printer options of your operating system. If you
use the Java printing subsystem, check the java.awt.print.PrinterJob
class, the print method may take a PrintRequestAttributeSet parameter.
I think you should put an appropriate
javax.print.attribute.standard.Sides objet into the set. Check the
JavaDoc and other possible sources, like the usual Java guru forums.
The javax.print.* interfaces are not for the faint of heart.

J.Pietschmann

#6350 From: "tokukobayashi2002" <koba@...>
Date: Wed Apr 6, 2005 1:03 am
Subject: Re: XSL Formatter -- DPI Resolution of PDF
tokukobayash...
Send Email Send Email
 
I am sorry to be late, but I can not understand what
you mean by the DPI resolution of PDF.

PDF file consists from commands, it is a kind of vector format.
DPI may not be relevant.

Best regards,

Tokushige Kobayashi

--- In XSL-FO@yahoogroups.com, "Umer Rashid" <umer_rashid@y...> wrote:
>
>
> Thanks Tokushige Kobayashi for your help!
>
> I have one more question for you. What is the default DPI
resolution
> of PDF generated using XSL Formatter? How can I assign it my own
> value? I have searched Online Manual of XSL Formatter and but am
unable
> to found any information there.

-- Antenna House, Inc.
E-mail koba@...
WWW    http://www.antenna.co.jp/XML/ (Japanese)
WWW    http://www.antennahouse.com/ (English)
TEL    +81-3-3234-1361 (direct call)
FAX    +81-3-3221-9975

#6351 From: "virgul4u" <virgul4u@...>
Date: Wed Apr 6, 2005 5:46 am
Subject: Re: define duplex mode when you print
virgul4u
Send Email Send Email
 
Thanks for your good answer!!!

I have now a way to search

++
Thierry

--- In XSL-FO@yahoogroups.com, "J.Pietschmann" <j3322ptm@y...> wrote:
> virgul4u wrote:
> > I use FOP.
> >
> > I need of your knowledge in XSL-FO:
> >
> > Is it possible to define in the XSL-FO that when you print
> > automatically you print in duplex (I'm not sure about this word
(I'm
> > french) but i want to say print in front and behind the page)
mode?
>
> If you mean you have a printer which can print on both sides
> of a sheet of paper, and you want to enable this printing mode,
> then no, this hasn't anything to do with XSLFO.
> You can check your printer's manual in order to see whether you
> can make this mode a persistent default, you can try the same
> with the printer options of your operating system. If you
> use the Java printing subsystem, check the
java.awt.print.PrinterJob
> class, the print method may take a PrintRequestAttributeSet
parameter.
> I think you should put an appropriate
> javax.print.attribute.standard.Sides objet into the set. Check the
> JavaDoc and other possible sources, like the usual Java guru
forums.
> The javax.print.* interfaces are not for the faint of heart.
>
> J.Pietschmann

#6352 From: "virgul4u" <virgul4u@...>
Date: Wed Apr 6, 2005 7:52 am
Subject: Error message in FOP
virgul4u
Send Email Send Email
 
Hi,

What is this error:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap Space

Is it my memory or the memory of FOP?

Thanks for your answer

++

Thierry

#6353 From: Chris Bowditch <bowditch_chris@...>
Date: Wed Apr 6, 2005 8:32 am
Subject: Re: Error message in FOP
bowditch_chris@...
Send Email Send Email
 
virgul4u wrote:

>
> Hi,
>
> What is this error:
>
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap Space

This is a FAQ. See the website for a solution:

http://xml.apache.org/fop/running.html#memory

Chris

#6354 From: "Victor Vishnyakov" <tch_@...>
Date: Wed Apr 6, 2005 9:04 am
Subject: RE: Error message in FOP
victor_vishn...
Send Email Send Email
 
This is the FOP who ran out of your memory.

Possible reasons are: either your stylesheet is not optimized for FOP
implementation limits or FOP is not conformant for your workflow.
Possible solutions are: optimize your stylesheet and/or add additional
memory to your computer and increase swap file.

Best Regards,
Victor Vishnyakov
http://xslfo-zone.com/



> -----Original Message-----
> From: virgul4u [mailto:virgul4u@...]
> Sent: Wednesday, April 06, 2005 10:53 AM
> To: XSL-FO@yahoogroups.com
> Subject: [XSL-FO] Error message in FOP
>
>
>
> Hi,
>
> What is this error:
>
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap Space
>
> Is it my memory or the memory of FOP?
>
> Thanks for your answer
>
> ++
>
> Thierry
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

#6355 From: Chris Bowditch <bowditch_chris@...>
Date: Wed Apr 6, 2005 9:54 am
Subject: Re: Error message in FOP
bowditch_chris@...
Send Email Send Email
 
Victor Vishnyakov wrote:

> This is the FOP who ran out of your memory.
>
> Possible reasons are: either your stylesheet is not optimized for FOP
> implementation limits or FOP is not conformant for your workflow.
> Possible solutions are: optimize your stylesheet and/or add additional
> memory to your computer and increase swap file.

The amount of memory available to FOP or any Java program is not necessarily
connected to amount of memory on the machine. By default a Java program gets
just 64 Mbytes of memory allocated. With this most FO Formatters can only
manage the simpliest of documents before running out of memory.

You need to tell Java to use more memory with the -Xmx option added to the
command line call of Java. This along with suggestions on optimising the
stylesheet are discussed on FOP's website in the link I posted previously.

Chris

#6356 From: "Greg Gaffney" <ggaffney@...>
Date: Wed Apr 6, 2005 1:51 pm
Subject: Announce: Xinc 2.0 release is available
gregga_2001
Send Email Send Email
 
Lunasil Ltd. is pleased to announce the release of Xinc 2.0.

New Features include:

- Support for auto table layout. This feature causes Xinc to
   choose the optimum width for each column in a table based
   on it's content.

- TIFF, PBM, PGM and PPM image formats are now supported.

- New Zip and Tar packages allow Xinc to be setup and used
   on any Java enabled platform including Linux and Solaris.

- Documents may now be rendered directly to a printer using
   the java API or the command line tool.

- A variety of block-container, inline-container and table
   bugs are fixed.

- A royalty-free OEM license is available for a cost of 2500 USD.

For more information or to download a trial version, please
visit our website at http://www.lunasil.com.

Greg Gaffney,
Lunasil Ltd
(513) 576-0963
ggaffney@...

#6357 From: "virgul4u" <virgul4u@...>
Date: Wed Apr 6, 2005 3:19 pm
Subject: Re: Error message in FOP
virgul4u
Send Email Send Email
 
Thanks for your answer I understand I try to genenrate a 100 page
pdf so I understand now

With the -Xmx512m that work !!! Thanks Chris

Chris Bowditch wrote:
This along with suggestions on optimising the
> stylesheet are discussed on FOP's website in the link I posted
previously.
>
> Chris


Chris can you give me the link of the fop's website for optimising

Chris you are my god!!

++

Thierry

#6358 From: Chris Bowditch <bowditch_chris@...>
Date: Wed Apr 6, 2005 3:43 pm
Subject: Re: Re: Error message in FOP
bowditch_chris@...
Send Email Send Email
 
virgul4u wrote:

>
> Thanks for your answer I understand I try to genenrate a 100 page
> pdf so I understand now
>
> With the -Xmx512m that work !!! Thanks Chris

<snip/>

> Chris can you give me the link of the fop's website for optimising

There are some tips on how to reduce FOP's memory consumption here:

http://xml.apache.org/fop/running.html#memory

Chris

#6359 From: "virgul4u" <virgul4u@...>
Date: Thu Apr 7, 2005 6:09 am
Subject: Re: Error message in FOP
virgul4u
Send Email Send Email
 
Hi,

That work it's great! thanks all

I have know another probleme I wan't to make this transformation with
a webservice .net

so I have found a class called nfop but know I don't know where I can
add the commutator -Xmx512m? Has anybody an idea?

Or Can I use the fop.bat with my webservice or is it impossible?

Thanks for your ideas

++

Thierry

#6360 From: "Maxim" <mzeleznak@...>
Date: Thu Apr 7, 2005 4:34 pm
Subject: Re: FOP and multiple fo files?
mzeleznak
Send Email Send Email
 
Long time has passed since the last post on this topic so I hope this
is still useful.

My Java application does exactly that. It applies different xslt style
sheets to different data inputs and creates one PDF report. My
application runs each xsl-fo generation process separately storing the
output in a byte array. When all the pdf snippets are generated it
uses a free Java library iText (http://www.lowagie.com/iText/) to
combine the PDF snippets together into one PDF document.

Hope this helps,
Max Z.


--- In XSL-FO@yahoogroups.com, "Fournier,Danny [NCR]"
<Danny.Fournier@e...> wrote:
> You couldn't pass file1.fo, file2.fo, file3.fo as parameters and only
> generate one PDF from them? The goal is to simply combine various files
> into one PDF. Each file may have different formatting thus cannot be
> generated from includes using one file. (ie. Margin, orientation,
> etc...)
>
> Thanks everybody,
>
> Dan

#6361 From: "Nicola Harlow" <nicola.harlow@...>
Date: Fri Apr 8, 2005 9:21 am
Subject: Controlled Failing of a PDF
dragoncitycouk
Send Email Send Email
 
Hi,



Is there any way to fail a transformation if the XML contains a certain
tag?



I know you can not have it in the DTD and it would scream at you, but I
have a single DTD that supports 3 formats.



I'm creating PDF, CHM and plain HMTL output from the same XML. The
problem is that the PDF can't use some of the CHM tags.

I've created an XSL to process the XML into a PDF compatible xml output,
which means you have to process the XML twice. Not perfect, but seems it
is the only way to do it without interrupting the flow.



I basically want the XSL to fail if it detects the tag <toc_book> in the
XML and not create the PDF, so the user knows they've screwed up and
need to go back and process the XML properly. At the moment it just
creates the PDF anyway.



Is this possible?



Sorry if this makes no sense!



Nicola



Nicola Harlow
Technical Author
The Program Management Group plc
tel:           +44 (0) 1937 547 171
direct:      +44 (0) 1937 547 165
fax:         +44 (0) 1937 547 154
mail:     nicola.harlow@...
web:        http://www.pm-group.com





[Non-text portions of this message have been removed]

#6362 From: "Nicola Harlow" <nicola.harlow@...>
Date: Fri Apr 8, 2005 12:50 pm
Subject: Creating bookmarks
dragoncitycouk
Send Email Send Email
 
Hi,

Probably a basic question, but how do you create bookmarks using XSL:FO
for PDF?



I have a large document that needs navigation, and being able to convert
the TOC into bookmarks would be an extra help.



Thanks,



Nicola



Nicola Harlow
Technical Author
The Program Management Group plc
tel:           +44 (0) 1937 547 171
direct:      +44 (0) 1937 547 165
fax:         +44 (0) 1937 547 154
mail:     nicola.harlow@...
web:        http://www.pm-group.com





[Non-text portions of this message have been removed]

#6363 From: Mike Ferrando <mikeferrando@...>
Date: Fri Apr 8, 2005 1:35 pm
Subject: Re: Creating bookmarks
mikeferrando
Send Email Send Email
 
Nicola,
The bookmark issue really is a XSLT engine issue.

Some XSL-FO processors have bookmark extensions and some don't.

XSL-Formatter = yes
http://www.jsa.or.jp/domestic/instac/committe/H15report/report-contents/ep/docs/\
xsl_ext/xfo-extension.html

XEP = yes
http://www.renderx.com/tutorial.html

FOP = yes
http://xml.apache.org/fop/extensions.html

It is possible that you will have to pay for the full version with
some of these in order to get the extensions to create bookmarks.

Mike Ferrando
Washington, DC
202-707-4454


--- Nicola Harlow <nicola.harlow@...> wrote:
>
> Hi,
>
> Probably a basic question, but how do you create bookmarks using
> XSL:FO
> for PDF?
>
>
>
> I have a large document that needs navigation, and being able to
> convert
> the TOC into bookmarks would be an extra help.
>
>
>
> Thanks,
>
>
>
> Nicola
>
>
>
> Nicola Harlow
> Technical Author
> The Program Management Group plc
> tel:           +44 (0) 1937 547 171
> direct:      +44 (0) 1937 547 165
> fax:         +44 (0) 1937 547 154
> mail:     nicola.harlow@...
> web:        http://www.pm-group.com
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>



__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

#6364 From: "Nicola Harlow" <nicola.harlow@...>
Date: Fri Apr 8, 2005 1:41 pm
Subject: RE: Creating bookmarks
dragoncitycouk
Send Email Send Email
 
Thanks Mike, I already have the full version of XEP so I'll see what
they say :)



Nicola



Nicola Harlow
Technical Author
The Program Management Group plc
tel:           +44 (0) 1937 547 171
direct:      +44 (0) 1937 547 165
fax:         +44 (0) 1937 547 154
mail:     nicola.harlow@...
web:        http://www.pm-group.com

________________________________

From: Mike Ferrando [mailto:mikeferrando@...]
Sent: 08 April 2005 14:36
To: XSL-FO@yahoogroups.com
Subject: Re: [XSL-FO] Creating bookmarks



Nicola,
The bookmark issue really is a XSLT engine issue.

Some XSL-FO processors have bookmark extensions and some don't.

XSL-Formatter = yes
http://www.jsa.or.jp/domestic/instac/committe/H15report/report-contents/
ep/docs/xsl_ext/xfo-extension.html

XEP = yes
http://www.renderx.com/tutorial.html

FOP = yes
http://xml.apache.org/fop/extensions.html

It is possible that you will have to pay for the full version with
some of these in order to get the extensions to create bookmarks.

Mike Ferrando
Washington, DC
202-707-4454


--- Nicola Harlow <nicola.harlow@...> wrote:
>
> Hi,
>
> Probably a basic question, but how do you create bookmarks using
> XSL:FO
> for PDF?
>
>
>
> I have a large document that needs navigation, and being able to
> convert
> the TOC into bookmarks would be an extra help.
>
>
>
> Thanks,
>
>
>
> Nicola
>
>
>
> Nicola Harlow
> Technical Author
> The Program Management Group plc
> tel:           +44 (0) 1937 547 171
> direct:      +44 (0) 1937 547 165
> fax:         +44 (0) 1937 547 154
> mail:     nicola.harlow@...
> web:        http://www.pm-group.com
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>



__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/



________________________________

Yahoo! Groups Links

* To visit your group on the web, go to:
	 http://groups.yahoo.com/group/XSL-FO/

* To unsubscribe from this group, send an email to:
	 XSL-FO-unsubscribe@yahoogroups.com
<mailto:XSL-FO-unsubscribe@yahoogroups.com?subject=Unsubscribe>

* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .



[Non-text portions of this message have been removed]

#6365 From: "Altsoft Xml2PDF" <xml2pdf@...>
Date: Fri Apr 8, 2005 2:07 pm
Subject: RE: Creating bookmarks
xml2pdf
Send Email Send Email
 
Since the version 1.1 XSL-FO specification has formatting objects for
bookmarks (see http://www.w3.org/TR/xsl11/#d0e14045).

And Altsoft Xml2PDF (http://alt-soft.com/products_xml2pdf.jsp) has a native
support for them.


Best Regards,
Altsoft Xml2PDF Team
http://alt-soft.com/



> -----Original Message-----
> From: Mike Ferrando [mailto:mikeferrando@...]
> Sent: Friday, April 08, 2005 4:36 PM
> To: XSL-FO@yahoogroups.com
> Subject: Re: [XSL-FO] Creating bookmarks
>
>
> Nicola,
> The bookmark issue really is a XSLT engine issue.
>
> Some XSL-FO processors have bookmark extensions and some don't.
>
> XSL-Formatter = yes
> http://www.jsa.or.jp/domestic/instac/committe/H15report/report
> -contents/ep/docs/xsl_ext/xfo-extension.html
>
> XEP = yes
> http://www.renderx.com/tutorial.html
>
> FOP = yes
> http://xml.apache.org/fop/extensions.html
>
> It is possible that you will have to pay for the full version
> with some of these in order to get the extensions to create bookmarks.
>
> Mike Ferrando
> Washington, DC
> 202-707-4454
>
>
> --- Nicola Harlow <nicola.harlow@...> wrote:
> >
> > Hi,
> >
> > Probably a basic question, but how do you create bookmarks using
> > XSL:FO for PDF?
> >
> >
> >
> > I have a large document that needs navigation, and being able to
> > convert the TOC into bookmarks would be an extra help.
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Nicola
> >
> >
> >
> > Nicola Harlow
> > Technical Author
> > The Program Management Group plc
> > tel:           +44 (0) 1937 547 171
> > direct:      +44 (0) 1937 547 165
> > fax:         +44 (0) 1937 547 154
> > mail:     nicola.harlow@...
> > web:        http://www.pm-group.com

#6366 From: "Nicola Harlow" <nicola.harlow@...>
Date: Fri Apr 8, 2005 2:26 pm
Subject: RE: Creating bookmarks
dragoncitycouk
Send Email Send Email
 
Thanks, I should be able to work it out from that :)



Nicola



Nicola Harlow
Technical Author
The Program Management Group plc
tel:           +44 (0) 1937 547 171
direct:      +44 (0) 1937 547 165
fax:         +44 (0) 1937 547 154
mail:     nicola.harlow@...
web:        http://www.pm-group.com

________________________________

From: Altsoft Xml2PDF [mailto:xml2pdf@...]
Sent: 08 April 2005 15:07
To: XSL-FO@yahoogroups.com
Subject: RE: [XSL-FO] Creating bookmarks



Since the version 1.1 XSL-FO specification has formatting objects for
bookmarks (see http://www.w3.org/TR/xsl11/#d0e14045).

And Altsoft Xml2PDF (http://alt-soft.com/products_xml2pdf.jsp) has a
native
support for them.


Best Regards,
Altsoft Xml2PDF Team
http://alt-soft.com/



> -----Original Message-----
> From: Mike Ferrando [mailto:mikeferrando@...]
> Sent: Friday, April 08, 2005 4:36 PM
> To: XSL-FO@yahoogroups.com
> Subject: Re: [XSL-FO] Creating bookmarks
>
>
> Nicola,
> The bookmark issue really is a XSLT engine issue.
>
> Some XSL-FO processors have bookmark extensions and some don't.
>
> XSL-Formatter = yes
> http://www.jsa.or.jp/domestic/instac/committe/H15report/report
> -contents/ep/docs/xsl_ext/xfo-extension.html
>
> XEP = yes
> http://www.renderx.com/tutorial.html
>
> FOP = yes
> http://xml.apache.org/fop/extensions.html
>
> It is possible that you will have to pay for the full version
> with some of these in order to get the extensions to create bookmarks.
>
> Mike Ferrando
> Washington, DC
> 202-707-4454
>
>
> --- Nicola Harlow <nicola.harlow@...> wrote:
> >
> > Hi,
> >
> > Probably a basic question, but how do you create bookmarks using
> > XSL:FO for PDF?
> >
> >
> >
> > I have a large document that needs navigation, and being able to
> > convert the TOC into bookmarks would be an extra help.
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Nicola
> >
> >
> >
> > Nicola Harlow
> > Technical Author
> > The Program Management Group plc
> > tel:           +44 (0) 1937 547 171
> > direct:      +44 (0) 1937 547 165
> > fax:         +44 (0) 1937 547 154
> > mail:     nicola.harlow@...
> > web:        http://www.pm-group.com




________________________________

Yahoo! Groups Links

* To visit your group on the web, go to:
	 http://groups.yahoo.com/group/XSL-FO/

* To unsubscribe from this group, send an email to:
	 XSL-FO-unsubscribe@yahoogroups.com
<mailto:XSL-FO-unsubscribe@yahoogroups.com?subject=Unsubscribe>

* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .



[Non-text portions of this message have been removed]

#6367 From: "Bob Stayton" <bobs@...>
Date: Fri Apr 8, 2005 6:34 pm
Subject: Re: Controlled Failing of a PDF
bobs@...
Send Email Send Email
 
This template should do it:

<xsl:template match="toc_book">
   <xsl:message terminate="yes">The toc_book element is not permitted.
Exiting. </xsl:message>
</xsl:template>

The terminate="yes" attribute should kill the processing.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@...


----- Original Message -----
From: "Nicola Harlow" <nicola.harlow@...>
To: <XSL-FO@yahoogroups.com>
Sent: Friday, April 08, 2005 2:21 AM
Subject: [XSL-FO] Controlled Failing of a PDF


>
> Hi,
>
>
>
> Is there any way to fail a transformation if the XML contains a certain
> tag?
>
>
>
> I know you can not have it in the DTD and it would scream at you, but I
> have a single DTD that supports 3 formats.
>
>
>
> I'm creating PDF, CHM and plain HMTL output from the same XML. The
> problem is that the PDF can't use some of the CHM tags.
>
> I've created an XSL to process the XML into a PDF compatible xml output,
> which means you have to process the XML twice. Not perfect, but seems it
> is the only way to do it without interrupting the flow.
>
>
>
> I basically want the XSL to fail if it detects the tag <toc_book> in the
> XML and not create the PDF, so the user knows they've screwed up and
> need to go back and process the XML properly. At the moment it just
> creates the PDF anyway.
>
>
>
> Is this possible?
>
>
>
> Sorry if this makes no sense!
>
>
>
> Nicola
>
>
>
> Nicola Harlow
> Technical Author
> The Program Management Group plc
> tel:           +44 (0) 1937 547 171
> direct:      +44 (0) 1937 547 165
> fax:         +44 (0) 1937 547 154
> mail:     nicola.harlow@...
> web:        http://www.pm-group.com
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>

#6368 From: Dave Pawson <DaveP@...>
Date: Fri Apr 8, 2005 8:13 pm
Subject: Re: Creating bookmarks
dpawson2000
Send Email Send Email
 
On Fri, 2005-04-08 at 06:35 -0700, Mike Ferrando wrote:
> Nicola,
> The bookmark issue really is a XSLT engine issue.
>
> Some XSL-FO processors have bookmark extensions and some don't.

Minor bitch.
Bookmarks aren't in the rec.

So implementor decisions don't really count for much till the next rec.

Please ignore vendors sales pitches Nicola.

regards DaveP.

Messages 6339 - 6368 of 7448   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help