Table of contents
No headings in the article.
(This is my very first post, so just trying things out)
To get the X and Y coordinates as attributes, you can use the CoordinateExtractor transformer, using index 0 for the first vertex and index -1 for the last.