You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gritsenko <vg...@acm.org> on 2000/04/17 13:10:41 UTC
Re: xml to pdf report generation?? Sample XML/XSL:FO/PDF
No, it's (data.xml) not binary file, I double checked it.
For your convinience, here it goes:
<<
<?xml version="1.0" encoding="UTF-8"?>
<penalty_assessment_notice>
<calculations>
<oneOf_calculations>
<preId>0</preId>
<penalty_level>KOR</penalty_level>
<description_of_goods>Wholesome organic peaches</description_of_goods>
<occurences>7</occurences>
<value_of_goods>24,000.00</value_of_goods>
<penalty_conditions>C022</penalty_conditions>
<penalty_calculations>154.43</penalty_calculations>
<penalty_total>154.43</penalty_total>
<contravention_code>15A</contravention_code>
</oneOf_calculations>
<oneOf_calculations>
<preId>1</preId>
<penalty_level>K0R</penalty_level>
<description_of_goods>Wholesome organic peaches</description_of_goods>
<occurences>7</occurences>
<value_of_goods>24,000.00</value_of_goods>
<penalty_conditions>C022</penalty_conditions>
<penalty_calculations>154.43</penalty_calculations>
<penalty_total>154.43</penalty_total>
<contravention_code>15A</contravention_code>
</oneOf_calculations>
</calculations>
<relatedInfos>
<oneOf_relatedInfos>
<preId>0</preId>
<vehicle>Tractor</vehicle>
<licence>128VHE</licence>
<province_state>Ontario</province_state>
</oneOf_relatedInfos>
<oneOf_relatedInfos>
<preId>1</preId>
<vehicle>Tractor</vehicle>
<licence>128VHE</licence>
<province_state>Ontario</province_state>
</oneOf_relatedInfos>
</relatedInfos>
<penalty_number>JHG-1883</penalty_number>
<penalty_amount>100,000,000.00</penalty_amount>
<penalty_notice_date>2001-11-23</penalty_notice_date>
<service_mode>Mail</service_mode>
<contravention/>
<legislative_regulatory_authority>Well, what can I say in my
defense...</legislative_regulatory_authority>
<reason_for_penalty_assessment>commited a
sin</reason_for_penalty_assessment>
<issuing_office>
<issuing_office_officer_id>987-HTF-789-123</issuing_office_officer_id>
<issuing_office_name>Ivanhoe Local 237654</issuing_office_name>
<issuing_office_street_1>86 Jepeto Lane</issuing_office_street_1>
<issuing_office_street_2>null</issuing_office_street_2>
<issuing_office_city>Del Boca Vista</issuing_office_city>
<issuing_office_province>Florida</issuing_office_province>
<issuing_office_postalCode>88655-98776</issuing_office_postalCode>
<issuing_office_phone>(421) 776-9934</issuing_office_phone>
<issuing_office_fax>(421) 776-9935</issuing_office_fax>
<issuing_office_email>delboca@altavista.com</issuing_office_email>
</issuing_office>
<client>
<client_identifier>756-VBN-124-13</client_identifier>
<client_name>Muskoka Olde Brewery</client_name>
<client_street_1>15 Tapioka Boulevard</client_street_1>
<client_street_2>Building B</client_street_2>
<client_city>Opano View</client_city>
<client_province>Rotunda</client_province>
<client_postalCode>K1L9J7</client_postalCode>
<client_phone>(614) 234-3498</client_phone>
<client_fax>(614) 234-3499</client_fax>
<client_email>brewinfo&#064;tapioka.com</client_email>
</client>
<endofdoc/>
</penalty_assessment_notice>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="/fo.xsl" type="text/xsl"?>
>>
----- Original Message -----
From: Ulrich Mayring <ul...@denic.de>
To: <co...@xml.apache.org>
Sent: Tuesday, April 17, 2001 5:15 AM
Subject: Re: xml to pdf report generation?? Sample XML/XSL:FO/PDF
> Gritsenko wrote:
> >
> > data.xml is pure data,
>
> This is a binary file, I think you sent the wrong one :)
>
> > fo.xsl transforms pure data to FOrmatted data,
> > WebAssessmentNotice.pdf is the resulting PDF.
>
> I checked the PDF and it does not seem to have any links, neither
> internal, nor external.
>
> Ulrich
>
> --
> Ulrich Mayring
> DENIC eG, Systementwicklung
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Going to JavaOne?
Posted by Matthew Langham <ml...@sundn.de>.
Hi -
any Cocooners planning on going to JavaOne this year?
Matthew Langham
--
Open Source Group sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel: +49-5251-1581-30 [mlangham@sundn.de - http://www.sundn.de]
=================================================================
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Going to JavaOne?
Posted by Matthew Langham <ml...@sundn.de>.
Hi -
any Cocooners planning on going to JavaOne this year?
Matthew Langham
--
Open Source Group sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel: +49-5251-1581-30 [mlangham@sundn.de - http://www.sundn.de]
=================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
[C1.8.2] Bug or a feature in XSP processor?
Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
Hi!
A while ago I have asked this question and now I am sure that something
wrong with XSP processor or with the serializer, at least something's
changed in implementation since the C 1.8.0.
The problem is that all tags that are processed by my logic-sheet disappear
from result document (Java class source). This is from my logic-sheet:
<xsl:template match="select">
<xsp:logic>
System.out.println("This part is generated");
<xsp:logic>
<select name="{@name}">
<xsp:logic>
System.out.println("This part not accessed");
<xsp:logic>
</select>
</xsl:template>
When I change select to select-field everything works as expected.
Can anybody explain me this behavior?
Thank you.
Regards,
Konstantin Piroumian.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: xml to pdf report generation?? Sample XML/XSL:FO/PDF
Posted by Jeremy Quinn <je...@media.demon.co.uk>.
At 1:54 PM +0200 17/4/01, Ulrich Mayring wrote:
>Anyway, I was asking for a sample that shows how to produce PDF links
>and it doesn't seem to contain any, so you don't have to resend it :)
If you have a fully qualified external link use something like this:
<xsl:template match="a">
<fo:basic-link
color="blue"
indicate-destination="yes"
external-destination="{@href}"
>
<xsl:apply-templates/>
</fo:basic-link>
</xsl:template>
For an internal link, instead of the attribute "external-destination" use
"internal-destination", set to the "id" of a fo:block ie.
<fo:basic-link internal-destination="blah.blah">Blah</fo:basic-link>
.......
<fo:block id="blah.blah">arrive here</fo:block>
Hope this helps
regards Jeremy
--
___________________________________________________________________
Jeremy Quinn Karma Divers
webSpace Design
HyperMedia Research Centre
<ma...@mac.com> <http://www.media.demon.co.uk>
<phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: xml to pdf report generation?? Sample XML/XSL:FO/PDF
Posted by Ulrich Mayring <ul...@denic.de>.
Gritsenko wrote:
>
> No, it's (data.xml) not binary file, I double checked it.
Have you unpacked the .zip file? It's binary again.
Anyway, I was asking for a sample that shows how to produce PDF links
and it doesn't seem to contain any, so you don't have to resend it :)
Ulrich
--
Ulrich Mayring
DENIC eG, Systementwicklung
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>