Home Forums DITA and XMetaL Discussion TopLeaf: Adding target page number to XREF in default TopLeaf transform Reply To: TopLeaf: Adding target page number to XREF in default TopLeaf transform

gjn2066

Reply to: TopLeaf: Adding target page number to XREF in default TopLeaf transform

I have revisited Murray's solution and realise it does not cater for every case. Creating TopLeaf variables to hold values such as page numbers is mostly fine, but DITA hrefs in particular contain relative paths which themselves may contain characters (such as space) which are not valid TopLeaf naming chars.

Accordingly I am going to provide two new pre-built Perl functions which will make it easier to save/retrieve any value (not just page number) you want to associate with an id/href. I will initially make this available via the forum, but it will be a standard feature of the next plugin release.

The existing functionality will be retained, but deprecated for future use.

Reply

Products
Downloads
Support