RE: Block Problem
Hi, I tried using . But FOP gives me an erro saying "NULL". All other code remains the same. Jim -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Monday, February 03, 2003 4:12 PM To: [EMAIL PROTECTED] Subject: Re: Block Problem Jim Chundevalel wrote: > I'm trying to generate an XSL:FO document on the fly by taking > contents from an XML file. My XML file looks like this. > > > > > > Test One > This is some text > > > Test Two > This is some other text > > > > > I have an XSL FO Document that says > > > > > > > > > > > Now, I want to underline certain words contained in the MATTER Node. For > this, I was thinking of doing like this in the XML document. > > > This is some > other > text. > > > (After referencing the fo namespace at the beginning of the XML > document.) > > However, the resulting PDF document does not underline the word "other". > How do I go about doing this? Having fo in source xml sounds like a really bad idea, but anyway you should use xsl:copy-of, rather than xsl:value-of to copy source subtree. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - 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: Block Problem
Jim Chundevalel wrote: Now, I want to underline certain words contained in the MATTER Node. For this, I was thinking of doing like this in the XML document. This is some other text. (After referencing the fo namespace at the beginning of the XML document.) However, the resulting PDF document does not underline the word "other". How do I go about doing this? That's an XSLT question. The problem is here ^^ Make yourself familiar with xsl:copy-of and xsl:apply-templates and with the XSLT processing model in general. It helps to work through a good book, the XSL FAQ has some recommendations. For further details, ask on the XSL list: http://www.mulberrytech.com/xsl/xsl-list/ J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Block Problem
Jim Chundevalel wrote: I'm trying to generate an XSL:FO document on the fly by taking contents from an XML file. My XML file looks like this. Test One This is some text Test Two This is some other text I have an XSL FO Document that says Now, I want to underline certain words contained in the MATTER Node. For this, I was thinking of doing like this in the XML document. This is some other text. (After referencing the fo namespace at the beginning of the XML document.) However, the resulting PDF document does not underline the word "other". How do I go about doing this? Having fo in source xml sounds like a really bad idea, but anyway you should use xsl:copy-of, rather than xsl:value-of to copy source subtree. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]