Re: 0.92beta source code

2006-07-05 Thread Fabrizio Caldas

Andreia,

For ZIP files go to ths URL

http://www.apache.org/dyn/closer.cgi/xmlgraphics/fop

Regards,
Fabrizio.

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



Re: zero width space and FOP

2006-03-22 Thread Fabrizio Caldas
All,

Thanks for the help.

I the end my solution was to download a Unicode editor (http://www.unipad.org/).

With it I was able to insert the zero width spaces to the resource
bundle (.properties) and the PDF no longer had overflowing characters.

Thanks again,

Fabrizio.

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



zero width space and FOP

2006-03-21 Thread Fabrizio Caldas
Hi,

I'm using the embedded FOP version 0.20.5 to create PDFs.
The text of the PDF comes from properties files.
These properties files are in many different languages.
Only Chinese and Japanese have overflowing characters.

I've asked the translators to insert zero width spaces in Unicode.
All the properties file are UTF-8 encoded.
They tried inserting zero width spaces as they know how, but up to now
it doesn't seem to work.

Has any one ever tried to insert zero width spaces into a properties
file and use it to create a PDFs?

I'm trying to find a way to recognize the zero width space that they
insert in the properties file or maybe replace whichever characters
they insert as a 200B.

Thanks in advance,

Fabrizio.

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



Re: How to create a list in FO?

2006-01-26 Thread Fabrizio Caldas
Hi Daniele,

Here's an example of what I do to render a list.
I took this right off the xsl-fo I'm currently using, so this is working.

The catch here is that I'm not sure how many items will be on the list.
So I coded accordingly.

!-- === --
!-- child element: recommendItems   --
!-- === --
xsl:template match=recommendItems
fo:list-block provisional-label-separation=0.5cm
provisional-distance-between-starts=1cm space-after=12pt
start-indent=1cm
  xsl:for-each select=recommendItem
xsl:variable name=itemPos select=position()/
fo:list-item
  fo:list-item-label end-indent=label-end()
fo:blockxsl:value-of select=$itemPos//fo:block
  /fo:list-item-label
  fo:list-item-body start-indent=body-start()
fo:block
  xsl:apply-templates /
/fo:block
  /fo:list-item-body
/fo:list-item
  /xsl:for-each
/fo:list-block
/xsl:template

Hope this helps,

Regards,

Fabrizio.

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



[Servlet Error]-[]: java.lang.OutOfMemoryError

2006-01-23 Thread Fabrizio Caldas
Hello all,

I'm using FOP 0.20.5 on a Unix box.
The code is embedded and the pdf is rendered as an InputStream and
attached and sent thru e-mail.

I'm getting a [Servlet Error]-[]: java.lang.OutOfMemoryError when
creating the PDF files in Asian langs only.
The English version of the file works fine.

I've tried most the memory tips in the FOP site:
1) - Avoiding forward references
2) - Avoiding large images
3) - Used multiple page sequences.

I haven't changed the -Xmx option, because that is the last thing the
server guys want.

I'm trying to do whatever is possible first.
Is there any possibility of reducing memory usage when embedding fonts?
This is the user config file I'm using:


configuration
fonts
font metrics-file=/home/msgothic.xml
embed-file=/home/msgothic.ttc kerning=yes
  font-triplet name=MS Gothic style=normal weight=normal/
  font-triplet name=MS Gothic style=normal weight=bold/
  font-triplet name=MS Gothic style=italic weight=normal/
  font-triplet name=MS Gothic style=italic weight=bold/
/font
font metrics-file=/home/mingliu.xml embed-file=/home/mingliu.ttc
kerning=yes
  font-triplet name=MingLiU style=normal weight=normal/
  font-triplet name=MingLiU style=normal weight=bold/
  font-triplet name=MingLiU style=italic weight=normal/
  font-triplet name=MingLiU style=italic weight=bold/
/font
font metrics-file=/home/simsun.xml embed-file=/home/simsun.ttc
kerning=yes
  font-triplet name=SimSun style=normal weight=normal/
  font-triplet name=SimSun style=normal weight=bold/
  font-triplet name=SimSun style=italic weight=normal/
  font-triplet name=SimSun style=italic weight=bold/
/font
font metrics-file=/home/gulim.xml embed-file=/home/gulim.ttc kerning=yes
  font-triplet name=Gulim style=normal weight=normal/
  font-triplet name=Gulim style=normal weight=bold/
  font-triplet name=Gulim style=italic weight=normal/
  font-triplet name=Gulim style=italic weight=bold/
/font
/fonts
/configuration

Regards,

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



Re: fo:external-graphic limitation?

2005-11-23 Thread Fabrizio Caldas
Mike,

This has worked for me.

fo:external-graphic src=url('file:c:///home/htdocs/WebContent/soa/img.jpg')/
fo:external-graphic src=url('https://server:port/home/htdocs/soa/img.jpg')/

Regards,
Fabrizio.

2005/11/23, mike [EMAIL PROTECTED]:
 Hi all,
  I would like to load an external graphic through a parameter value?
 Because it does not seem to work for me ;-(
 For example, the following produces the error:
  [ERROR] Error while creating area : Error with image URL: $logo_path (No such
 file or directory) and no base URL is specified

 ?xml version=1.0?
 xsl:stylesheet
 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0
 xmlns:fo=http://www.w3.org/1999/XSL/Format;
 xsl:param name=logo_path select='/tmp/smartdocument.loan/logo.jpg'/
 xsl:template match=/
 fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;

fo:layout-master-set
fo:simple-page-master master-name=simple
   page-height=29.7cm page-width=21cm
   margin-top=1cm margin-bottom=1cm
   margin-left=8mm margin-right=8mm
fo:region-body margin-top=0cm margin-bottom=0cm/
fo:region-before extent=5cm/
fo:region-after extent=5cm/
/fo:simple-page-master
fo:page-sequence-master master-name=page-sequence
fo:single-page-master-reference 
 master-reference=simple/
/fo:page-sequence-master
/fo:layout-master-set

fo:page-sequence master-reference=page-sequence
fo:flow flow-name=xsl-region-body

fo:block font-family=sans-serif font-size=10pt
  text-align=left
fo:table table-layout=fixed
fo:table-column column-width=95mm/
fo:table-column column-width=95mm/
fo:table-body
fo:table-row
fo:table-cell 
 padding=2mm
fo:block

 fo:external-graphic src=$logo_path/
/fo:block
 [...]

 I've checked the value of logo_path and it is correct.
 Maybe there's another way to do it ... Any idea?

 thanx,

 --mike



 -
 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: Overflowing of Japanese/Chinese Chars

2005-11-02 Thread Fabrizio Caldas
J,

You are right about what I meant as text overflows.

I read the Japanese and Chinese text from a properties file, which is
encoded in UTF-8.

Can I put the zero width space (U+200B) directly on the properties
file or do I have to do it while generating the object to convert it
to PDF?

2005/11/1, J.Pietschmann [EMAIL PROTECTED]:
 Fabrizio Caldas wrote:
  I create a PDF using FOP, when I create a PDF in English the text works 
  fine.
  But when I create the PDF in Japanese and Chinese the text overflows.
 
  Has anyone had experience with this problem?

 It depends on what you mean by the text overflows and on the
 content. I guess you mean that text overruns the line end because
 there are no (ASCII) white spaces in the line. FOP 0.20.5 can't
 generate line breaks for east-asean languages written without spaces
 delimiting words. In this case the workaround is to insert zero width
 spaces (U+200B) in appropriate places, preferably while authoring the
 content.

 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]



Overflowing of Japanese/Chinese Chars

2005-11-01 Thread Fabrizio Caldas
Hello,

I create a PDF using FOP, when I create a PDF in English the text works fine.
But when I create the PDF in Japanese and Chinese the text overflows.

Has anyone had experience with this problem?

Regards,

Fabrizio.

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



Re: embedding output escaping

2005-07-28 Thread Fabrizio Caldas

Ok. I see where you're coming from.

But in my case I have hrefs mixed with plain text.

So my setTitle might look something like this.

setTitle(String_From_Properties);

I don't know exactly what that string is, but I know it might have hrefs.
So my XML, if I was creating one, would look like this:
titlesome text a href=http://sample.com;click/a more text/title

And the XSLT would be:
xsl:template match=title
  xsl:apply-templates /
/xsl:template

xsl:template match=a
 fo:basic-link color=blue external-destination=url([EMAIL PROTECTED])
   xsl:value-of select=./
 /fo:basic-link
/xsl:template

Since I'm matching a I would like it to be in the XML.
Now making it appear in the XML is solved.
When I create the FO from that XML it also works.
But when I skip the XML/FO and go straight from Obj to PDF, it gets written 
as text.


But I see your point.
In that case I would have to parse the string I'm getting from a properties 
file.

I was trying to avoid that.

Regards,


From: Andreas L Delmelle [EMAIL PROTECTED]
Reply-To: fop-users@xmlgraphics.apache.org
To: fop-users@xmlgraphics.apache.org
Subject: Re: embedding output escaping
Date: Thu, 28 Jul 2005 18:24:34 +0200

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Jul 28, 2005, at 16:56, Fabrizio Caldas wrote:

Hi,

I got the escape working for the XML, you're right about being in the 
XMLReader.java that I need to make this change.


In the first generateFor() method that I have I included a call to

handler.processingInstruction(Result.PI_DISABLE_OUTPUT_ESCAPING,null);

This disables output escaping when creating the xml with the 
ExampleObj2XML.


But when I transform to PDF using the ExampleObj2PDF the escaping does not 
work.


Well, I still think you don't need to do any escaping (or disable escaping 
for that matter).


If you need to have:
fo:basic-link external-destination=urlClick here/fo:basic-link

There are two things to take into account:
- - our example embedding.tools.AbstractObjectReader doesn't activate 
namespace support

- - and it does not offer any support for attributes

You basically have two options:
1) modify the code for AbstractObjectReader to allow namespaces and 
attributes (or override the relevant methods in a subclass)

2) generate semantic XML from your object, then transform it via XSLT to FO

For 2), the scenario would look something like:
* use a method similar to setTitle() to set/store the strings for the 
destination URL and Click here. For example store it in member variables 
named linkContent and linkDest (and provide getXXX() methods to retrieve 
them)


* then, in your XMLReader in the generateFor() method that will process 
your object, you create the result element roughly as follows:

...
handler.startElement(link);
handler.element(destination,obj.getLinkDest());
handler.element(content,obj.getLinkContent());
handler.endElement(link);
...

You will then get XML output like this:

link
  destinationURL/destination
  contentClick here/content
/link

This fragment can be transformed by an XSL template:

xsl:template match=link
  fo:basic-link external-destination={destination}
xsl:value-of select=content /
  /fo:basic-link
/xsl:template

HTH!

Greetz,

AD
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFC6QbLyHTbFO9b8aARAvJjAKCMLiPYet/aCXFS7JBEg1RGBRf2GQCdHA74
+HKtu2LMlsYDDGy4KRKQ2XU=
=Gu0x
-END PGP SIGNATURE-


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



_
MSN Messenger: converse online com seus amigos .  
http://messenger.msn.com.br



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



embedding output escaping

2005-07-27 Thread Fabrizio Caldas

Hello everyone,

This question has probably come up before, but  couldn't find it in the 
archives

I want to disable output escaping.

Here's an example:
public static ObjXml createSampleObj() {
 ObjXml obj = new ObjXml();

 obj.setTitle(a href=\http://www.sample.com\;Sample Title/a);
}

public static void main(String[] args) {
 app.convertObj2XML(obj, C:\\xmlfile.xml);
 app.convertObj2PDF(obj, C:\\pdffile.pdf);
}

The xml output is 'lt';a href=http://www.sample.com;'gt';Sample 
Title'lt';/agt';

And on the PDF its just text not a link.

Does anyone know how to escape this?

Fabrizio.

_
Chegou o que faltava: MSN Acesso Grátis. Instale Já! 
http://www.msn.com.br/discador



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



Re: Problem when link has contentid

2005-07-22 Thread Fabrizio Caldas

Thanks Jay.

Now my xml file is a lot easier to create.
I removed my text tags and just left it as I read it from a properties 
file.


Item
 Some text here a 
href=http://www.example.com/fop/test.jsp?contentID=1234;please click 
here/a more text here.

/Item

xsl:for-each select=Item
 xsl:variable name=itemPos select=position()/
 fo:list-item
   fo:list-item-label end-indent=label-end()
 fo:blockxsl:value-of select=$itemPos//fo:block
   /fo:list-item-label
   fo:list-item-body start-indent=body-start()
 fo:block
   xsl:apply-templates /
 /fo:block
   /fo:list-item-body
 /fo:list-item
/xsl:for-each

!-- === --
!-- child element: a--
!-- === --
xsl:template match=a
 fo:basic-link color=blue external-destination=[EMAIL PROTECTED]
   xsl:value-of select=./
 /fo:basic-link
/xsl:template

But I still have the contentid problem.

I think that this is happening when he interprets the [EMAIL PROTECTED]

I really needed this link to have this contentid in the querystring, but I 
beggining to think that I may have to remove it.


Fabrizio.


From: Jay Bryant [EMAIL PROTECTED]
Reply-To: fop-users@xmlgraphics.apache.org
To: fop-users@xmlgraphics.apache.org
Subject: Re: Problem when link has contentid
Date: Thu, 21 Jul 2005 16:51:11 -0500

Hi, Fabrizio,

Try xsl:value-of select=./ rather than text(). The two are very similar
in most cases, but . tends to be more reliable because it picks up the text
value of the entire node. Also, it's more standard XSLT.

Jay Bryant
Bryant Communication Services

- Original Message -
From: Fabrizio Caldas [EMAIL PROTECTED]
To: fop-users@xmlgraphics.apache.org
Sent: Thursday, July 21, 2005 4:28 PM
Subject: Problem when link has contentid


 Hello,

 I have an XSLT and an XML file, which I use to generate a PDF.

 Both those files work fine except for one circumstance.

 This is an example of how I have data in the XML.
 Item
   textSome text here /text
   a href=http://www.example.com/fop/test.jsp?contentID=1234;please
click
 here/a
   text more text here./text
 /Item

 And this is the data in the XSL:
 !-- === --
 !-- child element: a--
 !-- === --
 xsl:template match=a
   fo:basic-link color=blue external-destination=[EMAIL PROTECTED]
 fo:inlinexsl:value-of select=text()//fo:inline
   /fo:basic-link
 /xsl:template

 When the link contains contentID the PDF creation generates an error:
 [ERROR] The reference to entity contentID must end with the ';'
delimiter.
 org.apache.fop.apps.FOPException: The reference to entity contentID 
must

 end with the ';'

 Does anyone know how I can make the contentID be interpreted as 
ordinary

 text and not as a reference to entity?

 Thanks in advance,

 Fabrizio.

 _
 Chegou o que faltava: MSN Acesso Grátis. Instale Já!
 http://www.msn.com.br/discador


 -
 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]



_
MSN Messenger: converse online com seus amigos .  
http://messenger.msn.com.br



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



Re: Problem when link has contentid

2005-07-22 Thread Fabrizio Caldas

Mike,

You're right, my example link is no coherent with the one I use.
This is a better example f the link I'm using:
http://www.example.com/fop/test.jsp?pageType=pagecontentID=1234

If I switch the pageType and contentID I get a same error but with the 
pageType:

The reference to entity pageType must end with the ';' delimiter.

So I guess that any link that I have with a  will have this problem.

Fabrizio.


From: Mike Trotman [EMAIL PROTECTED]
Reply-To: fop-users@xmlgraphics.apache.org
To: fop-users@xmlgraphics.apache.org
Subject: Re: Problem when link has contentid
Date: Fri, 22 Jul 2005 13:48:12 +0100

I'm not sure what is making FOP think that contentID is an entity (can't 
see any ''s)

but I think you should be using the 'url' function on the link.
e.g.:
fo:basic-link color=blue external-destination=url([EMAIL PROTECTED])

It would also be a good idea to test the XLST part outside FOP - to see 
what get's produced in the FO file.


Mike

Fabrizio Caldas wrote:


Thanks Jay.

Now my xml file is a lot easier to create.
I removed my text tags and just left it as I read it from a properties 
file.


Item
 Some text here a 
href=http://www.example.com/fop/test.jsp?contentID=1234;please click 
here/a more text here.

/Item

xsl:for-each select=Item
 xsl:variable name=itemPos select=position()/
 fo:list-item
   fo:list-item-label end-indent=label-end()
 fo:blockxsl:value-of select=$itemPos//fo:block
   /fo:list-item-label
   fo:list-item-body start-indent=body-start()
 fo:block
   xsl:apply-templates /
 /fo:block
   /fo:list-item-body
 /fo:list-item
/xsl:for-each

!-- === --
!-- child element: a--
!-- === --
xsl:template match=a
 fo:basic-link color=blue external-destination=[EMAIL PROTECTED]
   xsl:value-of select=./
 /fo:basic-link
/xsl:template

But I still have the contentid problem.

I think that this is happening when he interprets the [EMAIL PROTECTED]

I really needed this link to have this contentid in the querystring, but I 
beggining to think that I may have to remove it.


Fabrizio.


From: Jay Bryant [EMAIL PROTECTED]
Reply-To: fop-users@xmlgraphics.apache.org
To: fop-users@xmlgraphics.apache.org
Subject: Re: Problem when link has contentid
Date: Thu, 21 Jul 2005 16:51:11 -0500

Hi, Fabrizio,

Try xsl:value-of select=./ rather than text(). The two are very 
similar
in most cases, but . tends to be more reliable because it picks up the 
text

value of the entire node. Also, it's more standard XSLT.

Jay Bryant
Bryant Communication Services

- Original Message -
From: Fabrizio Caldas [EMAIL PROTECTED]
To: fop-users@xmlgraphics.apache.org
Sent: Thursday, July 21, 2005 4:28 PM
Subject: Problem when link has contentid


 Hello,

 I have an XSLT and an XML file, which I use to generate a PDF.

 Both those files work fine except for one circumstance.

 This is an example of how I have data in the XML.
 Item
   textSome text here /text
   a href=http://www.example.com/fop/test.jsp?contentID=1234;please
click
 here/a
   text more text here./text
 /Item

 And this is the data in the XSL:
 !-- === --
 !-- child element: a--
 !-- === --
 xsl:template match=a
   fo:basic-link color=blue external-destination=[EMAIL PROTECTED]
 fo:inlinexsl:value-of select=text()//fo:inline
   /fo:basic-link
 /xsl:template

 When the link contains contentID the PDF creation generates an 
error:

 [ERROR] The reference to entity contentID must end with the ';'
delimiter.
 org.apache.fop.apps.FOPException: The reference to entity contentID 
must

 end with the ';'

 Does anyone know how I can make the contentID be interpreted as 
ordinary

 text and not as a reference to entity?

 Thanks in advance,

 Fabrizio.

 _
 Chegou o que faltava: MSN Acesso Grátis. Instale Já!
 http://www.msn.com.br/discador


 -
 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]



_
MSN Messenger: converse online com seus amigos .  
http://messenger.msn.com.br



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


Message Scanned by ClamAV on datalucid.com



--
Datalucid Limited



Message Scanned by ClamAV on datalucid.com


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



_
Chegou o

Re: Problem when link has contentid

2005-07-22 Thread Fabrizio Caldas

I got the same error transforming it to XSL-FO.

So its not even transforming it to XSL-FO:
javax.xml.transform.TransformerException: The reference to entity 
contentID must end with the ';' delimiter.


I am using the url() function:
!-- === --
!-- child element: a--
!-- === --
xsl:template match=a
 fo:basic-link color=blue external-destination=url([EMAIL PROTECTED])
   xsl:value-of select=./
 /fo:basic-link
/xsl:template

Fabrizio.


From: Mike Trotman [EMAIL PROTECTED]
Reply-To: fop-users@xmlgraphics.apache.org
To: fop-users@xmlgraphics.apache.org
Subject: Re: Problem when link has contentid
Date: Fri, 22 Jul 2005 14:26:05 +0100

Are you using the 'url()' function (which may provide url 
encoding/escaping)?


I'm not sure at which stage of the process the error is being thrown
- so don't know if it's a problem in the XSLT stage, or the FO=PDF stage.

Producing an FO file from your XML (using XSLT),
inspecting the FO file
and then processing the FO file with FOP would identify which part of the 
process causes the problem.


Mike

Fabrizio Caldas wrote:


Mike,

You're right, my example link is no coherent with the one I use.
This is a better example f the link I'm using:
http://www.example.com/fop/test.jsp?pageType=pagecontentID=1234

If I switch the pageType and contentID I get a same error but with the 
pageType:

The reference to entity pageType must end with the ';' delimiter.

So I guess that any link that I have with a  will have this problem.

Fabrizio.


From: Mike Trotman [EMAIL PROTECTED]
Reply-To: fop-users@xmlgraphics.apache.org
To: fop-users@xmlgraphics.apache.org
Subject: Re: Problem when link has contentid
Date: Fri, 22 Jul 2005 13:48:12 +0100

I'm not sure what is making FOP think that contentID is an entity (can't 
see any ''s)

but I think you should be using the 'url' function on the link.
e.g.:
fo:basic-link color=blue external-destination=url([EMAIL PROTECTED])

It would also be a good idea to test the XLST part outside FOP - to see 
what get's produced in the FO file.


Mike

Fabrizio Caldas wrote:





Message Scanned by ClamAV on datalucid.com


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



_
MSN Messenger: converse online com seus amigos .  
http://messenger.msn.com.br



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



Problem when link has contentid

2005-07-21 Thread Fabrizio Caldas

Hello,

I have an XSLT and an XML file, which I use to generate a PDF.

Both those files work fine except for one circumstance.

This is an example of how I have data in the XML.
Item
 textSome text here /text
 a href=http://www.example.com/fop/test.jsp?contentID=1234;please click 
here/a

 text more text here./text
/Item

And this is the data in the XSL:
!-- === --
!-- child element: a--
!-- === --
xsl:template match=a
 fo:basic-link color=blue external-destination=[EMAIL PROTECTED]
   fo:inlinexsl:value-of select=text()//fo:inline
 /fo:basic-link
/xsl:template

When the link contains contentID the PDF creation generates an error:
[ERROR] The reference to entity contentID must end with the ';' delimiter.
org.apache.fop.apps.FOPException: The reference to entity contentID must 
end with the ';'


Does anyone know how I can make the contentID be interpreted as ordinary 
text and not as a reference to entity?


Thanks in advance,

Fabrizio.

_
Chegou o que faltava: MSN Acesso Grátis. Instale Já! 
http://www.msn.com.br/discador



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