Search found 12 matches

by coupes
Tue Jun 28, 2005 5:32 pm
Forum: XSLT and FOP
Topic: <xsl:output> and 'name' attribute
Replies: 4
Views: 6786

I found out what the problem was... :oops: I had a format attribute specified for some of my <xsl:result-document> elements. So I had to have the name attribute. This also helped me solve another problem I had, where my html output was indented despite the indent="no" I had specified in my...
by coupes
Tue Jun 28, 2005 4:13 pm
Forum: XSLT and FOP
Topic: <xsl:output> and 'name' attribute
Replies: 4
Views: 6786

Hi, thanks for your reply.

I'm simply editing an xslt stylesheet (with the xsl namespace), but I'm using <result-document> to generate multiple html pages.
by coupes
Thu Jun 23, 2005 8:46 pm
Forum: XSLT and FOP
Topic: <xsl:output> and 'name' attribute
Replies: 4
Views: 6786

<xsl:output> and 'name' attribute

Hi, This isn't much of an issue as it doesn't really cause any problem for me at the moment. Anyhow, whenever I tried to parse my xml files, Oxygen came up with an error saying I did not define the 'name' attribute of the 'output' element. Maybe I'm mistaking, but I though there was no such thing as...
by coupes
Wed Jun 22, 2005 3:28 pm
Forum: XSLT and FOP
Topic: recursion
Replies: 2
Views: 4819

Thank you very much George, I would never have thought of using modulus, sometimes I forget there is such an operator :roll:

The code works very well, and the solution is much simpler than I would have thought. Thank you again, this is much apreciated.

Regards,
Coupes
by coupes
Tue Jun 21, 2005 10:58 pm
Forum: XSLT and FOP
Topic: recursion
Replies: 2
Views: 4819

recursion

Hi, it's me again :wink: consider the following .xml : <list> <item>item 1</item> <item>item 2</item> <item>item 3</item> ... <item>item 15</item> </list> I want to create a list of the different items, however I only want a maximum of 10 items per page. I could I generate a new page each time I rea...
by coupes
Mon Jun 20, 2005 6:29 pm
Forum: XSLT and FOP
Topic: import/include/etc.
Replies: 9
Views: 10283

Thanks for your reply, The problem I see with this solution is that the files have to be parsed using Oxygen. However I'm only using Oxygen to develop and I'm gonna use a serverside software to generate my html files. Anyways, I finally decided to include the html tags inside the .xsl files. Thanks ...
by coupes
Thu Jun 16, 2005 5:07 pm
Forum: XSLT and FOP
Topic: import/include/etc.
Replies: 9
Views: 10283

import/include/etc.

I was wondering if it was possible to somehow "include" a text file that's not a valid xml file. I'm trying to make a header and footer and import them, however, using xsl:import and xsl:include, your text file has to be a valid xml file. My problem is that some of the tags opened in the h...
by coupes
Wed Jun 15, 2005 8:04 pm
Forum: XSLT and FOP
Topic: dynamic URL
Replies: 2
Views: 5186

Hey, that's pretty clever... :wink:

Thanks
by coupes
Wed Jun 15, 2005 6:03 pm
Forum: XSLT and FOP
Topic: dynamic URL
Replies: 2
Views: 5186

dynamic URL

Hi, I'm having a bit of an issue here... Basically, what I want to do is to dynamically generate the path where my output files will be created. I have the following xml file : ... <file> <filename name abv="dir1">Directory 1</name > <file> <filename abv="dir2">Directory 2</name ...
by coupes
Tue Jun 14, 2005 9:58 pm
Forum: Common Problems
Topic: Unknown SXLT element: result-document
Replies: 3
Views: 4844

Nevermind... I found out what the problem was. The processor was set to Saxon6.5.3 by default, I suppose it didn't support the new features of XSLT 2.0. I simply switched to another one.

Thanks again for your help ;)
by coupes
Tue Jun 14, 2005 7:51 pm
Forum: Common Problems
Topic: Unknown SXLT element: result-document
Replies: 3
Views: 4844

Thanks for your reply, but I still can't get it to work. I wanted to experiment with it before I started to work on my project, so I found an example somewhere. Here's what I've got : <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XS...
by coupes
Tue Jun 14, 2005 6:48 pm
Forum: Common Problems
Topic: Unknown SXLT element: result-document
Replies: 3
Views: 4844

Unknown SXLT element: result-document

Hi, I'm new to the XSLT 2.0, and I would like to use the new result-document tag to create multiple output files. However, when I try to do so, I get an error message saying : "E Unknown XSLT element: reslut-document" I've made sure I selected "2.0" from the drop-down menu when I...