RE: xsl question about substring/index

2003-03-28 Thread Jasmin Mehta
ect="substring-before(.,',')" />,<xsl:value-of select="substring-before(substring-after(.,','),',')" />,<xsl:value-of select="substring(substring-after(substring-after(.,','),','),1,5)" /> take care nar

RE: xsl question about substring/index

2003-03-27 Thread Jasmin Mehta
re somewhere that does exactly what you're looking for, but I couldn't find it in 5 mins of looking... sorry. Jasmin Mehta wrote: > Hi, > > Can anybody please tell me how to get indexes of specific strings? > > For example, I have a long date tag in XML > > Monday,

xsl question about substring/index

2003-03-27 Thread Jasmin Mehta
Hi,   Can anybody please tell me how to get indexes of specific strings?   For example, I have a long date tag in XML   Monday, March 24, 2003 4:02:03 PM ESTsubmitdate>   And I just want to display ‘Monday, March 24, 2003’ in my PDF file using xsl-fo.   It I have to s

RE: xsl-fo question for

2003-03-26 Thread Jasmin Mehta
courier new, courier, monospace 8pt #ff #dd #cc #99 9pt Jasmin Mehta wrote: > Hello Clay, > > I did understand the whole code. But couldn't get the meaning for > > xsl:use-attr

RE: xsl-fo question for

2003-03-26 Thread Jasmin Mehta
TECTED] Subject: Re: xsl-fo question for Jasmin, Jasmin Mehta wrote: > I haven't create any table yet in my xsl-fo. I don't know how to do it? > Can you pl help me with small example? You mean something like this?: ;-P http://www.w3.org/1999/XSL/Transform"; xmlns:f

RE: xsl-fo question for

2003-03-26 Thread Jasmin Mehta
sl-fo question for Jasmin, Jasmin Mehta wrote: > I haven't create any table yet in my xsl-fo. I don't know how to do it? > Can you pl help me with small example? You mean something like this?: ;-P http://www.w3.org/1999/XSL/Transform"; xmlns:fo="ht

RE: xsl-fo question for

2003-03-26 Thread Jasmin Mehta
che Nachricht- Von: Jasmin Mehta [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 26. März 2003 17:34 An: [EMAIL PROTECTED] Betreff: RE: xsl-fo question for Hi Mark,   I haven’t create any table yet in my xsl-fo. I don’t know how to do it? Can you pl help me with small example?   Thanks Jas

RE: xsl-fo question for

2003-03-26 Thread Jasmin Mehta
: AW: xsl-fo question for   Hi,   you should build a table with 8 columns, within each you can set a block with its different font and size.   greez, mark -Ursprüngliche Nachricht- Von: Jasmin Mehta [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 26

xsl-fo question for

2003-03-26 Thread Jasmin Mehta
Hi,   I want to create PDF output from xml document using xsl-fo. The required format is, should get label-text, label-text, label-text, label-text all 4 pairs in single row. Also I want to keep this as a header of the page.   For example,   Patient: Gina Latta    

RE: url to xml/xsl file in servlet

2003-03-21 Thread Jasmin Mehta
symbol [javac] symbol : variable input [javac] location: class FopServlet [javac] renderXML(input, response); [javac] ^ [javac] 3 errors probably needs just a few tweaks, but like i said no clues to be found over here hehe. -Adam -Orig

RE: url to xml/xsl file in servlet

2003-03-21 Thread Jasmin Mehta
(please excuse me, i've never programmed java in my life this is all a foriegn thing for me. I just need to get this functionality up and running or else the security of my system with fop isn't gonna work. :( ) -Adam -Original Message- From: Jasmin Mehta [mailto:[EMAIL PROTE

RE: url to xml/xsl file in servlet

2003-03-21 Thread Jasmin Mehta
ed java in my life this is all a foriegn thing for me. I just need to get this functionality up and running or else the security of my system with fop isn't gonna work. :( ) -Adam -Original Message----- From: Jasmin Mehta [mailto:[EMAIL PROTECTED] Sent: March 21, 2003 12:48 PM To: [

RE: url to xml/xsl file in servlet

2003-03-21 Thread Jasmin Mehta
slInStream = servletConnection.getInputStream(); XSLTInputHandler input = XSLTInputHandler(new File(xmlParam),xslInStream); renderXML(input, response); Note: i have also included import java.net.*; at the top of the code. -Adam -Original Message----- From: Jasmin Mehta [mai

RE: url to xml/xsl file in servlet

2003-03-21 Thread Jasmin Mehta
Sorry, pl re-read the first line of my previous email like this: How about this? I have created XSL file from the url itself, though on -Original Message- From: Jasmin Mehta Sent: Friday, March 21, 2003 2:21 PM To: [EMAIL PROTECTED] Subject: RE: url to xml/xsl file in servlet How about

RE: url to xml/xsl file in servlet

2003-03-21 Thread Jasmin Mehta
How about this? I have created XML file from the url itself, though on the same server. But I guess should work from other server too. URL fileOpenservlet = new URL("http://localhost/MyApplication/stylesheet/example.xsl";); HttpURLConnection servletConnection = (HttpURLConnection) fileOpenservle

RE: url to xml/xsl file in servlet

2003-03-21 Thread Jasmin Mehta
Hi, For example your application context path is $web_app$/MyApplication and you want to give url for the image folder inside it, like http://localhost/MyApplication/image than in your servlet where you write FOP code, you need to write below code: String real_path = file:"+getServletContext

RE: How to convert XML to RTF?

2003-02-04 Thread Jasmin Mehta
specification to RTF format, the goal being to use the same XSL-FO documents (as often generated using XSLT transforms) to generate PDF (using FOP or similar) and RTF (using jfor) documents. Please refer http://www.jfor.org/   -Madhavan -Original Message- From: Jasmin Mehta

How to convert XML to RTF?

2003-02-04 Thread Jasmin Mehta
Hi,   Is there any way to convert XML file in to Reach Text Format? Is there some facility in FOP?   Thanks Jasmin

problem in FOP for locating image with relative path THOUGH have used BaseDir

2003-01-09 Thread Jasmin Mehta
s on who to solve this problem   Thanks Jasmin       -Original Message- From: Jasmin Mehta Sent: Thursday, January 09, 2003 12:27 PM To: '[EMAIL PROTECTED]' Subject: problem in FOP for locating image with relative path   Hi,   I want to add image in the PDF file. I’m us

[ERROR] Could not load external SVG:

2003-01-09 Thread Jasmin Mehta
I’m trying to access the .xsl file by setting the relative path. I’ve written below line in my servlet to set the baseDir:   org.apache.fop.configuration.Configuration.put("baseDir","http://localhost:8100/LDNotes/phySignatures/");   where phySignatures is the dir where my images are loc

problem in FOP for locating image with relative path

2003-01-09 Thread Jasmin Mehta
Hi,   I want to add image in the PDF file. I’m using below tag in my xsl-fo file           C:/JRun4/servers/default/LDNotes/doctor/                   and it works fine. But a I want to use this xsl-fo file in my JS