Re: how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible?

2004-09-06 Thread Mike Trotman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A quick response as I'm not sure I understand your question - but I
think you're saying you can process all the 'inline' style + other
attributes in an HTML document - but that you want ot be able to
implement CSS class styles in FO->PDF?
If so - that is not easy - particularly as CSS <-> XSL-FO attributes
don't always map straightforwardly and some have different names,
and detecting precedence, context and dealing with multiple CSS
stylesheets is difficult.
A useful utility from RenderX  which may help you to map equivalent
attributes is at http://www.renderx.com/~renderx/portal/fo2html.html.
This maps XSLFO -> HTML - and does a pretty good job.
The way I deal with this problem is to turn the CSS stylesheets into XML
documents - and then add attributes for the XSLFO equivalents.
The structure of this XML depends on how much of the complexity of CSS
you want to capture.)
(this document can the be used to produce the CSS stylesheets as well.)
I then load this document as a parameter when processing and lookup any
formatting for the element / class I am dealing with.
(I find this easier than trying to define fixed attribute sets.)
With XSL / XML based output formatting it is nearly always easier to
have a core XML document from which all other output (including HTML) is
generated.
If your HTML is well formed XML /  XHTML then your task is easier.
FOP 0.20.5 does not suppor table-with-caption - and many other
processors also do not.
FOP 0.20.5 does not support table-layout='auto' (only 'fixed') - and
this is also true of many other processors - so I don't know how you are
getting the table to fit the width of the page.
unless you are specifying that the inline-progression dimension='100%'.
Eldho George wrote:
|  
|
| Hi,
|
|  
|
|  
|
| I would like to know *how can I create template for manipulating
| embedded and external style sheet present in the html page? Is it
| possible?*
|
|  
|
| *Please help meplease tell me is it possible with
| xslt+xsl-fo? I already created template for processing inline style
| attribute.*
|
|  
|
|  
|
| I am working with the project of converting a web Page into PDF.I am
| using FOP.I am creating the formatting object tree using xslt.I
| already create template for most of the html 4.0 tags and everything
| this working perfectly.But I have problem with table .It showing the
| table with entire page width. That means suppose I have created only
| one column, it will occupy the entire page width. Suppose I am using
| width in table, it is not shrinking according to that width. I used
| table attribute as
|
|  
|
|  
|
|  
|
| auto
|
| 10pt
|
| 10pt
|
| outset
|
| separate
|
| 2px
|
|  
|
|  
|
| Another problem is - outset is not working. is
| not working with fop.So I am not use .This will
| create any problem?
|
| I would like to know whether fop will support
| 
|
|  
|
| I would like to know *how can I create template for manipulating
| embedded and external style sheet present in the html page? Is it
| possible?*
|
|  
|
| *Please help meplease tell me is it possible with
| xslt? I already created template for processing inline style attribute.*
|
|  
|
| Thanks in advance
|
| George
|
|  
|
|  
|
|  
|
| |
|
| **
| This email and any files transmitted with it are confidential and
| intended solely for the use of the individual or entity to whom they
| are addressed. If you have received this email in error please notify
| the system manager.
|
| This footnote also confirms that this email message has been swept by
| MIMEsweeper for the presence of computer viruses.
|
| www.mimesweeper.com
| **
| |

- --
Datalucid Limited
8 Eileen Road
South Norwood
London SE25 5EJ
United Kingdom
/
tel :0208-239-6810
mob: 0794-725-9760
email: [EMAIL PROTECTED]
UK Co. Reg:   4383635
VAT Reg.:   798 7531 60
/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBPIdPe72ghYHWur4RAgrhAJ41r8srH60skFbrzntb4hDUaneQsACdGERP
/AscqsnlmD5I6NbUhaJYKdI=
=hmNf
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: id already exists

2004-09-06 Thread Glen Mazza
Oh--I didn't know.  Thanks.
J.Pietschmann schrieb:
Glen Mazza wrote:
Please do, so we can keep it in mind.

The issue is well known, the reasons understood. There
are already multiple open reports in bugzilla for
various specific cases.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible?

2004-09-06 Thread Eldho George








 

Hi,

 

 

I would like to know how can I create template
for manipulating embedded and external style sheet present in the html page? Is it possible?

 

Please help meplease tell me is it possible with xslt+xsl-fo? I
already created template for processing inline style attribute.

 

 

I am working with the project of converting a web Page into PDF.I am
using FOP.I am creating the formatting object tree using xslt.I already create template
for most of the html 4.0 tags and everything this working perfectly.But I have
problem with table .It showing the table with entire page width. That means
suppose I have created only one column, it will occupy the entire page width.
Suppose I am using width in table, it is not shrinking according to that width.
I used table attribute as

 

 

 

auto

10pt

10pt

outset

separate

2px

 

 

Another problem is - outset is not working.
is not working with fop.So I am not use .This will
create any problem?

I would like to know whether fop will support


 

I would like to know how can I create template
for manipulating embedded and external style sheet present in the html page? Is
it possible?

 

Please help meplease tell me is it possible with xslt? I
already created template for processing inline style attribute.

 

Thanks in advance

George

 

 

 





**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**






how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible?

2004-09-06 Thread Eldho George








I would like to know how can I create template
for manipulating embedded and external style sheet present in the html page? Is it possible?

 

Please help meplease

 

Thanks in advance

George

 

 

 





**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**






how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible?

2004-09-06 Thread Eldho George








Hi,

I am working with the project of converting a web Page into PDF.I am
using FOP.I am creating the formatting object tree using xslt.I already create
template for most of the html 4.0 tags and everything this working
perfectly.But I have problem with table .It showing the table with entire page
width. That means suppose I have created only one column, it will occupy the entire
page width. Suppose I am using width in table, it is not shrinking according to
that width. I used table attribute as

 

 

 

auto

10pt

10pt

outset

separate

2px

 

 

Another problem is - outset is not working.
is not working with fop.So I am not use .This will
create any problem?

I would like to know whether fop will support


 

I would like to know how can I create template
for manipulating embedded and external style sheet present in the html page? Is
it possible?

 

Please help meplease

 

Thanks in advance

George

 

 

 










**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**






Pyjama stripes - for each 5 rows

2004-09-06 Thread Avula, Srini
Hi

I have long list of students to display for each centre. I would like to
change background colour of each 5th row or space between 5 and 6th
rows.

any ideas how can I do it.

Much appreciate your help.

Kind Regards
Srini

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FOP PDF with images from eXist database

2004-09-06 Thread eelke . toonstra
Thanks. Another user from the cocoon mailinglist suggested to look at the 
HTTP header response with a tool called wget. It seems that the missing of 
the content length attribute causes the problem.

--10:12:10--  http://localhost:8080/exist/servlet/db/logo.jpg 
   => `logo.jpg'
Resolving localhost... 127.0.0.1
Connecting to localhost[127.0.0.1]:8080... connected.
HTTP request sent, awaiting response... 
 1 HTTP/1.1 200 OK
 2 Date: Mon, 06 Sep 2004 08:12:10 GMT
 3 Server: Jetty/4.1.4 (Windows XP 5.1 x86)
 4 Servlet-Engine: Jetty/4.1.4 (Servlet 2.3; JSP 1.2; java 1.4.2_05)
 5 Content-Type: text/xml; charset=UTF-8
 6 Connection: close

0K .. ..16.55 MB/s

10:12:10 (16.55 MB/s) - `logo.jpg' saved [17351]

--10:17:44--  http://localhost:8080/exist/logo.jpg
   => `logo.jpg.1'
Resolving localhost... 127.0.0.1
Connecting to localhost[127.0.0.1]:8080... connected.
HTTP request sent, awaiting response... 
 1 HTTP/1.1 200 OK
 2 Date: Mon, 06 Sep 2004 08:17:44 GMT
 3 Server: Jetty/4.1.4 (Windows XP 5.1 x86)
 4 Servlet-Engine: Jetty/4.1.4 (Servlet 2.3; JSP 1.2; java 1.4.2_05)
 5 X-Cocoon-Version: 2.1.3
 6 Content-Type: image/jpeg
 7 Last-Modified: Tue, 21 Jan 2003 13:28:46 GMT
 8 Content-Length: 17351
 9 Connection: keep-alive

0K .. .. 100%   16.55 
MB/s

10:17:44 (16.55 MB/s) - `logo.jpg.1' saved [17351/17351]

--10:20:51--  http://localhost:8080/exist/xmldb/db/logo.jpg
   => `logo.jpg.2'
Resolving localhost... 127.0.0.1
Connecting to localhost[127.0.0.1]:8080... connected.
HTTP request sent, awaiting response... 
 1 HTTP/1.1 200 OK
 2 Date: Mon, 06 Sep 2004 08:20:51 GMT
 3 Server: Jetty/4.1.4 (Windows XP 5.1 x86)
 4 Servlet-Engine: Jetty/4.1.4 (Servlet 2.3; JSP 1.2; java 1.4.2_05)
 5 X-Cocoon-Version: 2.1.3
 6 Content-Type: image/jpeg
 7 Vary: Host
 8 Accept-Ranges: none
 9 Connection: close

0K .. ..16.55 MB/s

10:20:51 (16.55 MB/s) - `logo.jpg.2' saved [17351]


The second link (http://localhost:8080/exist/logo.jpg) works fine when 
creating a PDF document with the FOP servlet. The other ones don't work 
and the only difference is the content length attribute in the HTTP header 

from the second link. So that causes the problem. I don't have an idea how 

to fix this. All suggestions are appreciated!











Clay Leeds <[EMAIL PROTECTED]>
09/02/2004 04:50 PM
Please respond to fop-user

 
To: [EMAIL PROTECTED]
cc: (bcc: Eelke Toonstra/BST/MS/PHILIPS)
Subject:Re: FOP PDF with images from eXist database
Classification: 





On Sep 2, 2004, at 6:43 AM, [EMAIL PROTECTED] wrote:
> But when I want to access the image in my fo.xml file in order to 
> create a
> PDF:
>  src="url(http://localhost:8080/exist/servlet/db/test.gif)"/>
> The system doesn't respond. The memory usage for java.exe in the
> taskmanager gets bigger and bigger and I have to kill the process.
>
> When I access the same image within a normal HTML file, it works fine:
>  RENAME_FILE_TO_USE_src="http://localhost:8080/exist/servlet/db/ 
> test.gif">
>
> What am I doing wrong? I couldn't find anything interesting in the log
> files.

Could this be a permissions issue? Perhaps the I_USR (or whoever) when 
accessing directly has the privilege to access, but java.exe process 
does not? Have you checked the images & graphics FAQ items? Here's a 
link[1] but don't stop there. There are plenty of other questions there 
dealing with images & graphics. TIP: Try searching for 'graphic' and 
also 'image' if you don't find what you were looking for?

Web Maestro Clay


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Emulate keep-with-next.within-page

2004-09-06 Thread Sönke Ruempler
J.Pietschmann  wrote on Thursday, September 02,
2004 10:16 PM:

> You have to create a blind table, enclosing the two elements:

Great idea, thanks for that!

So my XSLT template is now:
























Is the   put right? I didn't
know where to put...

Another thing. Can i use this template for all headings or do i have to copy
it for each h-tag?


-- 

Mit freundlichem Gruß

Sönke Ruempler
Technik

top concepts Internetmarketing GmbH
Am Steinkamp 7 - D-21684 Stade - Germany

http://www.topconcepts.deTel. +49 1805 9977 501*
mail: [EMAIL PROTECTED]Fax. +49 1805 9977 502*

SMS Versand ab 9.9 Cent: http://sms-gw.topconcepts.de

Handelsregister: AG Stade HRB 5811 - UstId: DE 213645563

*) EUR 0,12/Min. (CNS24)

--> http://www.topconcepts.de/kundenservice/faq/1/
--> http://learn.to/quote


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible?

2004-09-06 Thread Eldho George








 

 

 

 

 

 

Hi,

I am working with the project of converting a web Page into PDF.I am
using FOP.I am creating the formatting object tree using xslt.I already create
template for most of the html 4.0 tags and everything this working
perfectly.But I have problem with table .It showing the table with entire page
width. That means suppose I have created only one column, it will occupy the
entire page width. Suppose I am using width in table, it is not shrinking
according to that width. I used table attribute as

 

 

 

auto

10pt

10pt

outset

separate

2px

 

 

Another problem is - outset is not working.
is not working with fop.So I am not use .This will
create any problem?

I would like to know whether fop will support


 

I would like to know how can I create template
for manipulating embedded and external style sheet present in the html page? Is
it possible?

 

Please help meplease

 

Thanks in advance

George

 

 

 



**
This email and any files transmitted with it are
confidential and
intended solely for the use of the individual or
entity to whom they
are addressed. If you have received this email in
error please notify
the system manager.

This footnote also confirms that this email message
has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**





**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**