Chapter TOCs

To preface, I'm at best a journeyman with FrameMaker and haven't used it in something like three years. Remember the basic stuff, the finer points and cool things that make FrameMaker wonderful...forget it. Just so you know what you're dealing with (need simple explanations, if possible!).
I inherited a FrameMaker project, it's got 11 chapters and five Appendices. Each one has it's own TOC. Page numbers are right-justified, are numbered according to chapter or appendix: 1-1, 2-1, A-1, etc., with leaders (.....).
I know how to update (create a standalone TOC and import). However, I have several appendices that when I create the standalone TOC, it includes only the heading name and the page number:
HeadingName 2
It should be:
HeadingName..........................................................B-2
When I look at the Reference page, it has:
Thin Line
(the line)
Single Line
(the line)
Double Line
(the line)
etc.
Some of them have a second page with table format. Even if I paste the coding for the chapter TOC into the reference page, the standalone still only includes the heading name and the page number: The ones that don't have a second reference page, when I add one, I can't get a flow to insert the TOC coding.
HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thanks!
Jo

I'm not sure it's that simple, Art.
This is the coding for Appendix A, Appendix D, and the chapters:
openObjectId <$relfilename>:<$ObjectType> <$ObjectId>
<$paranum>    <$paratext>     <$pagenum>
<$paranum><$paratext>     <$pagenum>
<$paranum>    <$paratext>
<$paranum>    <$paratext>
The Appendix A and Appendix D TOCs generates correctly:
HeadingName......................A-1
HeadingName......................A-3
   HeadingSubName.............A-3
Etc.
The other four do not have the coding - and I can't seem to get it in there. The reference pages contain what the lines used in the doc look like, I can't seen to add a flow, and when I add an additional Reference page, there's no flow nor any way I can see to add a flow to put the TOC coding in.
Mind you, worse comes to worse, I can generate the damn thing, add the leading ..... and B (or whatever) -
But I'd rather not.
Jo

Similar Messages

  • Building Book TOC in CS4-Problem with cross chapter TOC links in Acro pro

    QUESTION: How do I fix the CS4 or ACROBAT v9 Pro Extended problem to fix cross chapter TOC Hyperlinks in BOOKs.
    PROBLEM: When I build a CS4 BOOK TOC, the TOCs show up in the .indd. However when I .pdf the book, the links fail.
    I am an experienced Framemaker v7 Pro. In the last 2 weeks I have had success designing a 10 chapter book in CS4.
    This was very intuitive! Congratulations CS4 developers.
    Thanks CS4 developers and community.
    Mike VV

    HI there,
    I recreated the TOC and now the update works. I think perhaps I edited the previous TOC within the TOC rather than in the actual documents and perhaps that caused the update problem.
    So problem solved.
    Yael

  • How to create chapter TOC in iBA

    In the title page for each chapter, I'd like to have a table of contents that lists the title of each of the sections within the chapter.
    I've got the place where I want it in my template, but how do I add a sub-TOC to the template so that it autogenerates the TOC for me?

    so that it autogenerates
    I think the burden is on you for this, sorry.

  • Here's How to change the image on the TOC to be different for each chapter.

    Suppose you don't follow the Very Strict default Rule that you use the exact same image parameters (shape, pixels, size, etc.) for your Table of Contents image entry as you use for its associated Chapter, a requirement built in to iBooks Author that applies universally to ALL Chapters under the One Image Size and Location is Best For Everyone rule. Suppose you start adding chapters and messing with each chapter's image and then, later, it occurs to you to get the TOC all set up and when you go there you encounter a mess. Either by chance one of the images you had in one of your chapters found its way to the TOC and, gosh, now every TOC entry for every chapter has the very same exact size and location image! This is not part of your grand plan and then... how to make lemonade here? It's Not Obvious.
    You can resolve this in your favor. You must do this patiently.
    First, whatever image size is created in any chapter TOC window—by dragging the image placeholder handle re-size box—will apply to ALL image entries (i.e., chapter image entries) in the TOC . If you want maximum flexibility make the image placeholder box big. Hint: you may need to mess with the Edit Mask option in order to get the image placeholder size box in the size and location you want. An option here in preparing your images is to **** with Photoshop or Preview to really engineer the images that will be used for the Chapter Page and, separately, the TOC / these could be the same content images but formatted differently in order to look nice in their respective locations. The Chapter Page image can be manipulated on the Chapter Page. On the other hand, the TOC image must fit within whatever (universal) size you've created.
    Plan ahead
    Get your TOC images ready.
    Loop until done:
    a) from the Finder menu, right click on the filename of the image to be put in the TOC / select the menu item “Copy”..this image. This puts the image in the clipboard. Another way to get the image in the clipboard is to pull it up with Preview and pretend to crop it (full size) then command-C. Another way: just click on it if it is in a file somewhere and again command-C.
    b) Click on the Table of Contents option (near the top of the left navigation column in ibooks Author ) and navigate to the TOC chapter for this image by clicking on the correct chapter “button” (a white dot in a black background surrounded by a white rounded-corner box) in the center bottom of the TOC chapter window;
    c) Click on the image placeholder in this chapter TOC window to reveal the highlight boxes defining the boundary of the image;
    d)command-V (paste); Voila! the image is in the TOC. NOTE: dragging the image into the highlighted imagebox (see c) above) will NOT work.
    e) mess with the image by clicking the mask editor button so the image fits as desired being careful to move the image only and not resize the image box.
    Go back to loop and repeat.

    Finally, after a while, I finally found all the procedure explained,
    for those who need:
    http://www.irisvista.com/tech/laptops/ToshibaS1/tecraS1_1.htm

  • How can I create a general TOC using the titles of my books TOCS

    I have a document that includes the information of 6 different books, each one has its own TOC at the beginning of the chapter. The chapter title is only written as the title in the TOC. In the first book I want to create a general index that shows the 6 chapter names. I have tried to create a TOC, but it just appears blank. I think that's because I haven't written the titles, they were created in each chapter TOC by InDesign.  I really think there must be a way to create this general TOC but I just can't figure it out. Can you help me, please?

    Create every TOC with a title paragraph style which is not the same as the title styles in the text.
    Create a new document, assamble all documents in a book fille indb, create a new TOC which reads out the paragraph style of your TOC’s titles, include all book files in the definition of this TOC only.

  • TOC and Cross reference bookmarks

    Hi. I recently finished work on a book that had front matter containing a brief TOC and a detailed TOC. The book also contained individual TOCs at the beginning of each chapter.
    I updated all numbering across the book files before generating the TOCs in the front matter, then generated the brief and detailed TOCs using my TOC Styles. However, I assigned cross references for the individual chapter TOCs. May not have been the best choice.
    Because there was special styling for some of the front matter TOC entries that wasn't easily specified using just the TOC Styles, I cut and pasted groups of entries from the generated TOC on the pasteboard into a new frame on the page. I checked in Story Editor to ensure that the invisible markers for the TOC entries had been copied into the new frame.
    When I exported the files to PDF, the TOC entries no longer pointed to the correct pages. They simply pointed to the first page of the PDF when clicked. Furthermore, no bookmarks showed up the TOC entries in the Bookmarks panel, even though I had "Create PDF Bookmarks" checked in my TOC Styles.
    I have three questions, then:
    --Is there any way to reclaim the behavior of the TOC bookmarks, and their display in the Bookmarks list of the PDF, if the entries are copied and pasted into a new frame in InDesign, without doing this manually in Acrobat Pro?
    --Is there any way to get cross references to display as bookmarks in a PDF, assuming that I needed to make individual PDFs of each chapter, without doing this manually in Acrobat Pro?
    --I'm betting that all files should be exported from InDesign as a single PDF in order for all TOC and cross reference links to work properly, without manual intervention in Acrobat Pro? If so, and manual intervention is required, is this accomplished by cataloging/indexing in Acrobat Pro?
    I need to be able to pass this information along to a publisher who is now requiring all of their compositors to submit bookmarked PDFs with their printer files. I'm pretty sure I know the answer to this one, but I would like verification from the pros here. Thanks!

    Hi. I recently finished work on a book that had front matter containing a brief TOC and a detailed TOC. The book also contained individual TOCs at the beginning of each chapter.
    I updated all numbering across the book files before generating the TOCs in the front matter, then generated the brief and detailed TOCs using my TOC Styles. However, I assigned cross references for the individual chapter TOCs. May not have been the best choice.
    Because there was special styling for some of the front matter TOC entries that wasn't easily specified using just the TOC Styles, I cut and pasted groups of entries from the generated TOC on the pasteboard into a new frame on the page. I checked in Story Editor to ensure that the invisible markers for the TOC entries had been copied into the new frame.
    When I exported the files to PDF, the TOC entries no longer pointed to the correct pages. They simply pointed to the first page of the PDF when clicked. Furthermore, no bookmarks showed up the TOC entries in the Bookmarks panel, even though I had "Create PDF Bookmarks" checked in my TOC Styles.
    I have three questions, then:
    --Is there any way to reclaim the behavior of the TOC bookmarks, and their display in the Bookmarks list of the PDF, if the entries are copied and pasted into a new frame in InDesign, without doing this manually in Acrobat Pro?
    --Is there any way to get cross references to display as bookmarks in a PDF, assuming that I needed to make individual PDFs of each chapter, without doing this manually in Acrobat Pro?
    --I'm betting that all files should be exported from InDesign as a single PDF in order for all TOC and cross reference links to work properly, without manual intervention in Acrobat Pro? If so, and manual intervention is required, is this accomplished by cataloging/indexing in Acrobat Pro?
    I need to be able to pass this information along to a publisher who is now requiring all of their compositors to submit bookmarked PDFs with their printer files. I'm pretty sure I know the answer to this one, but I would like verification from the pros here. Thanks!

  • Not able to edit the words "chapter" and "section" in the document workflow

    Hi all,
    I would like to point out something that could be a bug. The 2 words "chapter" and "section" are not editable in the document workflow: I can just change the title for each chapter and the title for each section, but I am not able to change the words "chapter" and "section".
    The problem is, iBooks Author is using the words "chapter" and "section" (heading 1) to build the TOC: if I am using iBooks Author in English, but I am writing a text in French, I am not able to change "Chapter" into "Chapitre". The only way to go, what I found out, is to close the app, change the OSX Lion system language, log out, re-open iBooks Author and start a new book: opening an English book  in the French version of iBooks Author will not change automatically the language in the workflow.
    Does anybody has a trick to edit the words "chapter" and "section"?
    Best regards,
    Mauro

    Hi KT,
    Thank you, but it's still in english.
    I changed to "only number", then wrote the word "chapter" in french or italian or german before the number, then deleted the preview on the iPad and made a new preview, I still have the same result: the word "chapter" is still in the language of the app. 
    To be clear: I am writing a text using iBooks Author in italian. I have to translate the same text in french, the fastest way would be to rework the italian version (I already have all the multimedia stuff inside). I changed the italian word "Capitolo" (chapter) to the french one "Chapitre" (using the advices of AodhFFXI and K T). And for the first slide of the chapter that's fine.
    But if I "close down" the first chapter slide or if I click on the top left botton to go to the chapter TOC, there I still have the word in italian, even if the word has been deleted in the layout:

  • TOC for hierarchical book using child book TOCs?

    (My first hiearchical book in FM11. Win7x64.)
    I've created a book of two child books.
    Each child book has:
    A generated TOC as its first file. Its first paragraph in the primary flow has the paratag dtc-ChapTitle.
    Content as its second file, with tags such as h1-Head1, h2-Head2, and other paratags.
    (Side note: that child book design implements the idea of a chapter TOC without using a text inset. That's how this adventure started.)
    dtc-ChapTitle appears only in the (generated) TOCs of the child books (1's above), not in the content files (2's above).
    The parent book has two child books and a generated TOC. The generated TOC of the parent book is to include dtc-ChapTitle, h1-Head1, and other paratags.
    The parent TOC does generate with h1-Head1, and other paratags, but not dtc-ChapTitle.
    Maybe I don't know how to think about hierarchical books and am clinging to flat-book thinking.
    Am I being gently nudged toward using the <$chaptertitlename> variable somehow?  Section "cover pages" ?  But how do I make a "chapter TOC" the first file in the child book -- or otherwise make the chapter TOC appear before the chapter that it describes?
    Best regards,

    Latest news:
    I switched from using a child book to using the Folder feature.
    As the "template" file for the folder, I re-used the chapter TOC file that was part of the old child book.
    So the book looks like this:
    FrontCover
    ParentBookTOC
    FolderChapterFile
    ParentBookIX
    Results are:
    ParentBookTOC now contains the chapter name that was missing from the book-of-books design attempt higher on this thread. The name is flowing in from Folder. Good.
    In Folder, <$chaptertitlename> correctly produces the text that I typed in in the folder's Container Properties > Title. Good.
    Folder is, in fact, the chapterTOC file from the previous architecture. So when I open ChapterFile and generate a separate TOC file, it appears as content of Folder. Good.
    The chapter running header variable in ChapterFile produces a blank result. Not good.
    When I attempt to use <$chaptertitlename> in the running header variable in ChapterFile, it produces the file name, even after I regen the book. Not good.
    Adobe's blog entry leaves a logical gap in its coverage. The important sentence is: " For all other documents which are neither Folder template file nor part of the FM book, variable will reflect the filename of the file in which it is used." (emphasis added)
    The file in this case is not a Folder template and is part of the book. In this case, the variable is producing the name of the file, not the Title from the Folder's Container Properties, even after I regen the book.
    Again, I don't have a book-of-books now. I have a single book with a Folder.
    So how do I type the chapter name in one place, say as the Folder name, and have that available in ChapterFile?

  • Book TOC wrong order?

    Greetings,
    I've just created an InDesign book with each of its chapters being an InDesign document. Each chapter needs its own TOC and there is a separate chapter for the Main TOC. All works fine but for some reason, an entry in the Main TOC is listed as being on page 1 but yet falls after 3 other entries, one on page 1 and two on page 2. See below:
    Table of contents
    Before you begin
    Getting started ......................................................................................... ........  1
    Read-ahead control codes ...............................................................................  2
    Read-ahead control for macros ........................................................................  2
    Scope ......................................................................................... ....................  1
    'Scope' is the first heading followed by 'Getting started' and so on. I've tried everything obvious but to no avail – can anyone shed any light? Bug?
    Thanks,
    Wes

    Thanks Peter, I'm afraid it's not that obvious. Have a look at the pics if you get chance and see what you think. Basically they are of the two pages the Main TOC is reading from and a snap of the Main TOC in the wrong order.
    SInce opening the thread, I've tried scrapping and creating the paragraph styles and TOC styles again and am getting exactly the same. The most bizarre part is that the Main TOC and the Chapter TOCs all work exactly how they should elsewhere!
    Obviously I can put it right manually but the problem is that I'm developing a template to be used company-wide so I need to get it right.

  • Why don't section titles appear in toc?

    Have a book with multiple chapters, and in one of the chapters the sections titles don't appear in the chapter toc. I obviously deleted something, but can't figure out what?
    Thanks.

    In the inspector, under document>TOC, are sections listed there?

  • FM TOC reference page generation

    Is there a way to force FM to use a document's modified TOC reference page instead of it generating a second one when creating a separate TOC file?

    Wes Edmonds wrote:
    I modified the TOC reference page of the document I completed as follows:
    openXmlElementId <$relfilename>:<$UniqueXmlElementId> <$RelativeXmlElementId>
    openObjectId <$relfilename>:<$ObjectType> <$ObjectId>
    <$elemtextonly>
           <$paranum>\t<$elemtextonly> ......................................................................<$pagenum >
                <$paranum>\t<$elemtextonly> .................................................................<$pagenum>
                        <$paranum>\t<$elemtextonly> .........................................................<$pagenum>
                        <$paranum>\t<$elemtextonly> .........................................................<$pagenum>
    Each of these lines is formatted with its own Paragraph Tag (ie. Pgblk()TOC, Task()TOC, etc) which are Tahoma, 10pt.
    When I generate a standalone TOC clicking [Special] >Table of Contents... > [Yes] (Do you want to creat a standalone TOC for this doc?), the new standalone TOC will not look like I expect and in the reference pages and I will have a second TOC ref page named "TOC1" with the following code:
    <$elemtextonly> <$pagenum>
    openXmlElementId <$relfilename>:<$UniqueXmlElementId> <$RelativeXmlElementId>
    openObjectId <$relfilename>:<$ObjectType> <$ObjectId>
    <$elemtextonly> <$pagenum>
    <$elemtextonly> <$pagenum>
    <$elemtextonly> <$pagenum>
    <$elemtextonly> <$pagenum>
    Each of these lines are in default Times New Roman font, 12pt and seems to be what FM uses to generate the TOC instead of my modified reference page from the original doc. 
    I remember having this happen a few years ago, probably in FrameMaker 7.x, perhaps 6.x. I can't remember ever finding its cause, or a remedy that avoids it. A quick Google search today didn't reveal the secret fix, though, I didn't dig deep into the results.
    My solution was to import the TOC formats into the TOC<#> from either the document set's TOC template, or the main TOC document itself. This should fix the page layouts and text properties, but will not change the page references, etc., so the reformatted TOC should be what you expect.
    An alternate approach is to create a copy of the TOC template in the directory where the chapter TOC will be created, name and save it to the TOC<#> that you anticipate will be generated. IIRC, generating the chapter TOC will fill the anticipated TOC with correct information formatted correctly.
    Another option is to create a container TOC document with the correct formatting and import the generated TOC into it - this depends on having a version of FrameMaker that can import FM files.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Issue with the import of hyperlinks from FM to Robohelp

    Hi,
    I am trying to produce online help (WebHelp) using RoboHelp 9 based on FrameMaker files (FM8). Previously I was working with WebWorks ePublisher (which was way easier to use since there wasn't much to customize...). I'm linking (not importing) the book to the RH project.
    Now I'm having trouble with the following points:
    1. Table of contents: the TOC imported from FM to RH does not work properly, some sections should be converted into a book, but are ignored by RH, so I had to create a TOC manually. If everyone know where this can come from, please help me . Of course, I checked the styles, and the TOC in FM perfectly reflects the title levels...
    2. Hypertext links: this is the biggest issue. I have around 3000 pages, so I can't recreate each hyperlink manually.. In FM, I use the "Hypertext" marker and then I put "openlink myfile.fm:firstpage", which works perfectly fine in the PDF output. However, in RH, the marker is totally ignored, and there is no hyperlink in the output file. I checked the source code of the htm file, but there is absolutely nothing that suggests a link (no <a href="...">).
    I tried to update the project, and tried other markers like URL myfile.fm, but it did change anything...
    Also, I tried generating the online help directly using FM10 (trial version of the TCS, until I can confirm that it is worth it), but the TOC in the online help didn't correspond to the one in FM, so I gave up and used RH to create the TOC manually...
    Thanks in advance for your help.
    PS.: I'm not a native English speaker, so sorry if the language is a little messy...

    Hi,
    Thanks for your answers.
    I tried generating the help using FM10 then File > Publish, but the TOC and the hyperlinks aren't working any better. I also tried converting the book into FM10 format, then linking it to a RH9 project, but the results were the same.
    The titles which are ignored in RH have the same styles as the titles which are not ignored, only their names are different, and the ignored titles are numbered.
    Also, these titles corresponds to a file in FM (which contains a small chapter TOC), and the file is totally ignored as well.
    Does anyone create links between files of a same book? I also tried using FM10 then RH9, but the results are the same as well
    Thanks in advance.

  • How to make table of contents linkable

    Could someone tell me how to make the table of contents for my indesing book linkable? I've seen this in PDF documents before and assume it can be done using InDesign, but haven't been able to figure out how to do it.

    gscortino1 wrote:
    I need to have a Book Table of contents work as well as chapter Table of contents and also Ineractive elements all work when clicked in a PDF.  How do I manage this?  I can get the Table of Contents to work and no interactive elements or visa versa. I f I export to pdf Ptint I get both TOC to work but no buttons If I export to interactive I get only the Chapter TOC to work and the buttons but not the Book TOC.  I know its a bug what is Adobe doing about it and when are we going to get a free fix? 
    What version of ID are you using? What export settings? As noted above, there is a bug, and what you want may not be posible at the moment.

  • Problem Adding Bookmark to Contents Page??

    Hi,
    I am trying to create a preface page to my book in iBooks Author. I want this preface page to basically give hyperlinks to all of the seperate chapter TOC's so that the user can click on the name of the chapter, and will be taken to that chapter's contnets page. And will look like this:
    With each of the poem titles above, linking to each of the Contents Pages, which look like this:
    However, I cannot seem to add any bookmarks to the page directly above, due to it being all placeholder and automatically generated text. Any suggestions as to how I can add a bookmark to this page?
    Thanks In Advance

    Hi,
    according to what I know this issue is related to how DW works and not to the Developer Toolbox as such -- DW can be a little picky when it comes to the "document structure" it expects, and
    (depending what document parts you´re actually "including") won´t let you do certain actions like e.g. adding a server behaviour just because it "thinks" the
    (probably "included" ?) body tag isn´t there.
    >>
    If I remove the includes the problems goes away
    >>
    there you have it ;-) Now I don´t know what you´re precisely including, but to my experience it should work well when you´re providing a basic & hardcoded html skeleton to DW and just include stuff *within* e.g. the ...
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Parser v.2.0.2.9 vs. parser v.2.1.0 behavior

    I have tried transformation to html from xml-document containing
    multiple Chapters & sections. When using parser v.2.0.2.9 following code works.
    First tranformation with id.xsl generates xml with id's and
    title / header numbers. Transformations with body.xsl, glossary.xsl
    & toc.xsl produce separate html files. When part that produces tempfile.xml
    (marked with >) is replaced with commented code, parser v.2.0.2.9 fails to
    do the transfromation to html.
    I changed to new parser v.2.1.0 and the commented code works also,toc.xsl and glossary.xsl
    works fine but the tranformations with body.xsl fail! I get the html files, but they contain
    no data.
    What might cause this behavior???
    /* instanciate new DOM-parser */
    DOMParser parser = new DOMParser();
    parser.setPreserveWhitespace(true);
    /* Parse XML-message */
    FileInputStream xmlArg = new FileInputStream(args[0]);
    parser.setValidationMode(true);
    parser.parse(xmlArg);
    XMLDocument xml = parser.getDocument();
    System.out.println("XML-document " + args[0] + " parsed.");
    /* Parse XSLT (create id's & numbering) */
    parser.setValidationMode(false);
    FileInputStream idIN = null;
    try{
    idIN = new FileInputStream("id.xsl");
    } catch (FileNotFoundException ex){
    System.out.println("error - File: id.xsl not found on " + idIN);
    return;
    parser.parse(idIN);
    XMLDocument idXDoc = parser.getDocument();
    XSLStylesheet idXSLT = new XSLStylesheet(idXDoc,null);
    /* Parse XSLT (for text body) */
    FileInputStream bodyIN = null;
    try{
    bodyIN = new FileInputStream("body.xsl");
    } catch (FileNotFoundException ex){
    System.out.println("error - File: body.xsl not found on " + bodyIN);
    return;
    parser.parse(bodyIN);
    XMLDocument bodyXDoc = parser.getDocument();
    XSLStylesheet bodyXSLT = new XSLStylesheet(bodyXDoc,null);
    /* Parse XSLT (for table of contents) */
    FileInputStream tocIN = null;
    try{
    tocIN = new FileInputStream("toc.xsl");
    } catch (FileNotFoundException ex){
    System.out.println("error - File: toc.xsl not found on " + tocIN);
    return;
    parser.parse(tocIN);
    XMLDocument tocXDoc = parser.getDocument();
    XSLStylesheet tocXSLT = new XSLStylesheet(tocXDoc,null);
    /* Parser XSLT (for Glossary) */
    FileInputStream glossIN = null;
    try{
    glossIN = new FileInputStream("glossary.xsl");
    } catch (FileNotFoundException ex){
    System.out.println("error - File: glossary.xsl not found on " + glossIN);
    return;
    parser.parse(glossIN);
    XMLDocument glossXDoc = parser.getDocument();
    XSLStylesheet glossXSLT = new XSLStylesheet(glossXDoc,null);
    System.out.println("XSLT-styleheets parsed. ");
    /* Create processor */
    XSLProcessor pro = new XSLProcessor();
    pro.showWarnings(true);
    System.out.println("Starting transformations to HTML.");
    /* WORKS WITH BOTH PARSER VERSIONS */
    > out = new FileOutputStream("tempfile.xml");
    > pro.processXSL(idXSLT,xml,out);
    > out.close();
    > in = new FileInputStream("tempfile.xml");
    > parser.parse(in);
    > XMLDocument tempResult = parser.getDocument();
    /* THIS PART WORKS WITH V.2.1.0 NOT WITH V.2.0.2.9 */
    /* XMLDocumentFragment temp = pro.processXSL(idXSLT,xml);
    XMLDocument tempResult = new XMLDocument();
    tempResult.appendChild(temp); */
    out = new FileOutputStream("chapter\\toc.html");
    pro.processXSL(tocXSLT,tempResult,out);
    out.close();
    out = new FileOutputStream("chapter\\glossary.html");
    pro.processXSL(glossXSLT,tempResult,out);
    out.close();
    int lkm = tempResult.selectNodes("UserManual/Chap").getLength();
    System.out.println(lkm + " chapters.");
    for(int k = 1;k < (lkm +1); k++){
    String slice1 = String.valueOf(k);
    String tempNumber = String.valueOf(k) + ".";
    String path = "UserManual/Chap[Title/@number = '" + tempNumber + "']/Sec";
    int sec = tempResult.selectNodes(path).getLength();
    System.out.println(" Chapter " + slice1 + " to " + sec + " slices.");
    if (sec != 0 ){
    for(int p=1;p < (sec+1);p++){
    String fileName = "chapter\\slice" + tempNumber + p + ".html";
    outHTML = new FileOutputStream(fil eName);
    String slice2 = String.valueOf(p);
    bodyXSLT.setParam("Chap",slice1);
    bodyXSLT.setParam("Sec",slice2);
    pro.processXSL(bodyXSLT,tempResult,outHTML);
    out.close();
    System.out.println(fileName + " ready");
    else{
    String fileName = "chapter\\slice" + tempNumber + "html";
    outHTML = new FileOutputStream(fileName);
    bodyXSLT.setParam("Chap",slice1);
    pro.processXSL(bodyXSLT,tempResult,outHTML);
    out.close();
    System.out.println(fileName + " ready");
    System.out.println("Tranformation complete.");
    null

    I found a problem in body.xsl file which solved the transformation problem...funny that it still worked with the v.2.0.2.9?
    My old xsl file started like this:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" encoding="ISO-8859-1" />
    <xsl:param name="Chap">2</xsl:param>
    <xsl:param name="Sec">2</xsl:param>
    <xsl:param name="Next">NEXT.gif</xsl:param>
    <xsl:param name="Previous">PREVIOUS.gif</xsl:param>
    <xsl:variable name="Ch">
    <xsl:value-of select="concat($Chap,'.')"/>
    </xsl:variable>
    <xsl:variable name="S">
    <xsl:value-of select="concat$Chap,'.',$Sec,'.')"/>
    </xsl:variable>
    <xsl:template match="UserManual">
    <html>
    <head>.......
    when I changed the two variables under
    <xsl:template match="UserManual"> transformation worked correctly with v.2.1.0!
    null

Maybe you are looking for

  • Displaying logo in alv report

    hi, what are the minimum requirements to display logo in alv report at the top of the page. i searched forums but did n't get the required answer.

  • Thunderbolt port and magsafe

    What does the thunderbolt port do and does the magsafe recharge ur mac?

  • Using a package for solving many mutating tables.....

    Hi, I need to solve more than one cases of mutating tables .. following the 'traditional' way described in: http://asktom.oracle.com/tkyte/Mutate/index.html For these cases , do you recommend me to use an individual package for each case ... or one t

  • No internet connection but full wifi help!

    Hi I had the same macbook and internet connection for about 5 years with no problems but suddenly a couple of days ago I can't connect to the internet. I have full wifi and am using my phone with it but something seems to have changed on my mac. I've

  • Add user to group

    please help me to add user to group using dotnet(C#),