Hi
all,
I have
aXML file like this..
root
node1 attr1="efhg" attr2="efhef"/
node2 attr2="erfje" attr3="efjef"/
/root
Is there any
method/function in XSL to check whether
any of the
attributes in the node exists..
Regards,
Vinod Nayak
i-flex solutions
ltd.
Voice: (91)-228 43 00, x
you can use the "@" symbol to test the
attribut,
xsl:template match="node1"
xsl:if test="@attr1"
/*test whether has the attribute attr1 or
not*/
/*do your operation at here*/
/xsl:if
/xsl:template
- Original Message -
From:
[EMAIL PROTECTED]
To:
Try this within your page sequence master
fo:page-sequence-master master-reference=mainPage
fo:static-content flow-name=xsl-region-before
fo:blockHeader Appears Here/fo:block
/fo:static-content
fo:static-content
You have to do that yourself. See http://xml.apache.org/mail.html
Cheers,
Jeremias Märki
This seems works fine.
Thank you Max.
Regards
Durai
--- Max Dcosta [EMAIL PROTECTED] wrote:
Try this within your page sequence master
fo:page-sequence-master master-reference=mainPage
fo:static-content flow-name=xsl-region-before
fo:blockHeader
This seems works fine.
Thank you Max.
Regards
Durai
--- Max Dcosta [EMAIL PROTECTED] wrote:
Try this within your page sequence master
fo:page-sequence-master master-reference=mainPage
fo:static-content flow-name=xsl-region-before
fo:blockHeader
Thanks a lot, I translated the CR to #x2028; which worked without any
problems.
Kurt
-Message d'origine-
De : J.Pietschmann [mailto:[EMAIL PROTECTED]
Envoyé : vendredi, 21. juin 2002 23:42
À : [EMAIL PROTECTED]
Objet : Re: keep line-breaks in PDF
Hahn Kurt (CHA) wrote:
I'm generating
you might also try something like:
xsl:template
match="[EMAIL PROTECTED]|[EMAIL PROTECTED]"
!-- do your operation here
--
/xsl:template
the brackets "perform" the test. the "|" serves as
logical OR,
but to make sure your XML definitly contains the
node with
some attribute, put some
Hello,
I have to create document with TIFF illustrations.
It seems that some TIFF formats are supported and thers
are not ( a black area replace the illustration).
Can some one tells me what kind of TIFF FOP supports ?
thanks
most renderers may support uncompressed tiffs...
pls correct me if i am wrong.
-Original Message-
From: Rodolphe VAGNER [mailto:[EMAIL PROTECTED]
Sent: Monday, June 24, 2002 3:47 PM
To: [EMAIL PROTECTED]
Subject: What kind of TIFF does FOP support
Hello,
I have to create document with
I would like to recall this msg posted earlier by J. Pietschmann
Jimi.jar doesn't understand all possible compressions allowed
in TIFF. Use uncompressed or RLE compressed TIFFs.
Cheers,
Max
-Original Message-
From: Max Dcosta [mailto:[EMAIL PROTECTED]
Sent: Monday, June 24, 2002
In fact the first tests I've done seem to indicate the contrary :
my uncompressed file is a black area and my CCITT Gr4 or 3, and LWZ
compressed files
are well rendered.
It's bizarre, isn'it ?
What about jimy ? where can I find doc on it ?
- Original Message -
From: Max Dcosta [EMAIL
Hi all,
Currently we have a weird problem: when converting an XML file (or rather,
an XML-ified HML source) to a FO file and
converting this resulting FO file to a PDF all things are fine. However,
when we try to convert the XML with the exact
same XSL script into a PDF we get errors:
[INFO]:
Hello,
I am using FOP to transform some bio into pdf format.
FOP generates an error when it encounters an illegal
character such as the apostrophe '. Where can I
find a list of illegal characters that FOP does not
accept? I need to replace the illegal character with
their numeric entity
Your xsl stylesheet is so bizarre... What are you using all these CDATA
sections for? Why are you using
![CDATA[fo:block/fo:block]]
instead of just
fo:block/fo:block ?
Actually your xsl stylesheet works if and only if transformation result (fo
document) is serialized and then reparsed again,
Well, that was another thing. I used to write simply fo:block etc.
but then the stylesheet gave loads of errors.
the funny thing is: this is the first time I actually ran into this sort of
problem
(i've been using fop for over a year now) so I was really stupified.
I'll change the stylesheet
Dear Guys,
Can you pls help me by telling me how to get an output like this:
Room Number:255
xxx:123
Room Type: Deluxe
I am calling the values from an xml file (like the code used below) but i
want to know how to indent just these dynamically called
Xiao Yang wrote:
I am using FOP to transform some bio into pdf format.
FOP generates an error when it encounters an illegal
character such as the apostrophe '. Where can I
find a list of illegal characters that FOP does not
accept? I need to replace the illegal character with
their numeric
try fo:table
-Original Message-
From: Max Dcosta [mailto:[EMAIL PROTECTED]
Sent: Monday, June 24, 2002 10:19 AM
To: [EMAIL PROTECTED]
Subject: Please Help
Dear Guys,
Can you pls help me by telling me how to get an output like this:
Room Number: 255
xxx:
is there a way without using tables. Is there anything which will help me
push that xsl:value-of select value to the right.
max
-Original Message-
From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]
Sent: Monday, June 24, 2002 7:51 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Please Help
try
-Original Message-
From: Max Dcosta [mailto:[EMAIL PROTECTED]
Sent: Monday, June 24, 2002 10:22 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Please Help
is there a way without using tables. Is there anything which
will help me
push that xsl:value-of select value to the right.
I
Max-
Why the reluctance to use tables? Is it a design issue, speed issue,
technical issue? Generally, tables are the textbook answer to this kind of
question. If your specific project has requirements that make tables
inappropriate, there may be other solutions.
-Jeff Mitchell
yes jeff,
i agree with you. I will use tables.
Thank you so much.
Max
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, June 24, 2002 8:04 PM
To: [EMAIL PROTECTED]
Subject: RE: Please Help
Max-
Why the reluctance to use tables? Is it a design
Max-
No problem. But the thanks goes to Argyn, since he beat me to the punch.
Good luck on your project.
-Jeff
Max Dcosta
yes yes,
thank you Argyn,
You guys are a great help. God bless you guys.
cheers,
Max
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, June 24, 2002 8:21 PM
To: [EMAIL PROTECTED]
Subject: RE: Please Help
Max-
No problem. But the thanks goes to
I will be out of the office starting 19/06/2002 and will not return until
01/07/2002.
I will be out of the office and will have no access to my email. I will
respond to your message when I return.
Regards, Joke Dehond
Argyn,
(This is a work-around until markers are fixed.) What you need to do is
put one marker at the beginning of the block and another at the end. FOP
complains about this with a warning but still processes it. You can then
use fo:retrieve-marker retrieve-class-name=className
Michiel Verhoef wrote:
Hi all,
Currently we have a weird problem: when converting an XML file (or rather,
an XML-ified HML source) to a FO file and
converting this resulting FO file to a PDF all things are fine. However,
when we try to convert the XML with the exact
same XSL script into a PDF we
Durai Murugan wrote:
I would like to know, how to set fonts for our special
requirements in the output.
Read docs/html-docs/fonts.html from the FOP distribution.
J.Pietschmann
Rodolphe VAGNER wrote:
In fact the first tests I've done seem to indicate the contrary :
my uncompressed file is a black area and my CCITT Gr4 or 3, and LWZ
compressed files
are well rendered.
It's bizarre, isn'it ?
What about jimy ? where can I find doc on it ?
Ok, here it goes.
The Jimi home
Nguyen Nam wrote:
Helllo ,
Could somone tell why does Fop v.0.23 change the encoding of the Symbol Font
?
Where did you get the 0.23 version?
Seriously: Because it was not conforming to the standard.
Many Symbol characters becomes so invalid with this version wherase they are
valid in the version
Hi -
If I'm using an XSL Transformer and an XML ByteArrayOutputStream to create a
FO formatted document which is rendered as PDF or printed, what is a good
assumption to make about the memory utilization? Is the entire merged FO
document stored in memory or can the FO processor stream out the PDF
Philip S. Constantinou wrote:
Hi -
If I'm using an XSL Transformer and an XML ByteArrayOutputStream to create a
FO formatted document which is rendered as PDF or printed, what is a good
assumption to make about the memory utilization? Is the entire merged FO
document stored in memory or can the FO
This really helps...
One of the things that I need to do is a mail merge creating thousands of
one page letters. If the pages are simple with no table of
contents/references/page numbers. Is it safe to assume that the FO processor
will use roughly the same memory printing 10 letters as 1000?
Philip S. Constantinou wrote:
This really helps...
One of the things that I need to do is a mail merge creating thousands of
one page letters. If the pages are simple with no table of
contents/references/page numbers. Is it safe to assume that the FO processor
will use roughly the same memory
35 matches
Mail list logo