
How can I setup a transformation so that it will chunk. When I specify chunk.xsl directly I get errors: E Failed to compile stylesheet. 8 errors detected. E Variable filename-prefix has not been declared E Variable autolayout-file has not been declared E Variable autolayout-file has not been declared E Variable website.database.document has not been declared E Variable website.database.document has not been declared E Variable website.database.document has not been declared E No template exists named chunk-element-content E No template exists named chunk-element-content -- Sean Wheller

Hi, Those errors look pretty descriptive. Are you saying that the variables have been declared and the templates exist? I don't know what 'chunk' means, but perhaps you would be better served on a docbook or XSL list. From my memory the docbook xsl is relatively complex and has a file that declares a bunch of global variable/params -- perhaps you have not included it or copied over the relevant variable/params. best, -Rob Sean Wheller wrote:
How can I setup a transformation so that it will chunk. When I specify chunk.xsl directly I get errors:
E Failed to compile stylesheet. 8 errors detected. E Variable filename-prefix has not been declared E Variable autolayout-file has not been declared E Variable autolayout-file has not been declared E Variable website.database.document has not been declared E Variable website.database.document has not been declared E Variable website.database.document has not been declared E No template exists named chunk-element-content E No template exists named chunk-element-content

Hi Robert, Thanks, but unless you know what chunking means, I don't think you will understand. The reason I am posting here and not on docbook-apps, is because I do get other tools to do the chunk transform from the command line. -- Sean Wheller On Sunday 18 January 2004 18:57, Robert Koberg wrote:
Hi,
Those errors look pretty descriptive. Are you saying that the variables have been declared and the templates exist?
I don't know what 'chunk' means, but perhaps you would be better served on a docbook or XSL list. From my memory the docbook xsl is relatively complex and has a file that declares a bunch of global variable/params -- perhaps you have not included it or copied over the relevant variable/params.
best, -Rob
Sean Wheller wrote:
How can I setup a transformation so that it will chunk. When I specify chunk.xsl directly I get errors:
E Failed to compile stylesheet. 8 errors detected. E Variable filename-prefix has not been declared E Variable autolayout-file has not been declared E Variable autolayout-file has not been declared E Variable website.database.document has not been declared E Variable website.database.document has not been declared E Variable website.database.document has not been declared E No template exists named chunk-element-content E No template exists named chunk-element-content
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- Sean Wheller

Hi Sean, I just configured a transformation of the samples/docbook/sample.xml to use the xsl/html/chunck.xsl stylesheet and I got the result without problems. Please try the same transformation and let me know what you get. Best Regards, George ------------------------------------------------------- George Cristian Bina mailto:george@oxygenxml.com <oXygen/> XML Editor - http://www.oxygenxml.com/ ----- Original Message ----- From: "Sean Wheller" <sean@enbaya.co.za> To: <oxygen-user@oxygenxml.com> Sent: Sunday, January 18, 2004 6:29 PM Subject: [oXygen-user] Howto chunk in general
How can I setup a transformation so that it will chunk. When I specify chunk.xsl directly I get errors:
E Failed to compile stylesheet. 8 errors detected. E Variable filename-prefix has not been declared E Variable autolayout-file has not been declared E Variable autolayout-file has not been declared E Variable website.database.document has not been declared E Variable website.database.document has not been declared E Variable website.database.document has not been declared E No template exists named chunk-element-content E No template exists named chunk-element-content
-- Sean Wheller
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi George, I get the same result on the sample.xml using the basic chunk.xsl. Perhaps I am configuring something wrong. Here are the settings for my transformation: XSL URL: file:/home/sean/apps/oxygen/docbook/xsl/html/chunk.xsl Transformer: Saxon Output File > Save As /home/sean/work/enet/book.html BTW. when I use xsltproc --output myfile.html mystyles.xsl myfile.xml It works. Sean Wheller On Sunday 18 January 2004 19:41, George Cristian Bina wrote:
Hi Sean,
I just configured a transformation of the samples/docbook/sample.xml to use the xsl/html/chunck.xsl stylesheet and I got the result without problems. Please try the same transformation and let me know what you get.
Best Regards, George ------------------------------------------------------- George Cristian Bina mailto:george@oxygenxml.com <oXygen/> XML Editor - http://www.oxygenxml.com/
----- Original Message ----- From: "Sean Wheller" <sean@enbaya.co.za> To: <oxygen-user@oxygenxml.com> Sent: Sunday, January 18, 2004 6:29 PM Subject: [oXygen-user] Howto chunk in general
How can I setup a transformation so that it will chunk. When I specify chunk.xsl directly I get errors:
E Failed to compile stylesheet. 8 errors detected. E Variable filename-prefix has not been declared E Variable autolayout-file has not been declared E Variable autolayout-file has not been declared E Variable website.database.document has not been declared E Variable website.database.document has not been declared E Variable website.database.document has not been declared E No template exists named chunk-element-content E No template exists named chunk-element-content
-- Sean Wheller
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- Sean Wheller
participants (3)
-
George Cristian Bina
-
Robert Koberg
-
Sean Wheller