Ignore:
Timestamp:
2022-07-04T16:32:02+12:00 (22 months ago)
Author:
anupama
Message:

PagedImg-e showed up a bug where only the first page of a paged-img document was shown with its img and text. Dr Bainbridge identified the bug as the self-closing div problem and suggested I look at gsf:div definition for solution (if I couldn't use gsf:div itself). Following his Kathy's advice to debug document.xsl by adding AAAA to ZZZZ to each template, I've now found the location(s) that resulted in the self-closing div. Using gsf:div in place of div sufficed to fix the problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/gslib.xsl

    r36112 r36287  
    608608      The actual solution is here:
    609609      https://stackoverflow.com/questions/19998180/xsl-copy-nodes-without-xmlns
    610       - Close but adds namespacs to the first HTML tag:
     610      - Close but adds namespaces to the first HTML tag:
    611611      https://stackoverflow.com/questions/6199345/how-to-copy-all-child-nodes-of-any-type-of-a-template-context-element
    612612      Other links that are a learning experience:
Note: See TracChangeset for help on using the changeset viewer.