Java to insert conditional text for file links with \ & /

This is the place to share H&M templates and utilities with other users. Topic templates can be posted as text attachments (*.txt) or in the posting itself between [code] and [/code] tags. Print manual templates (*.mnl) are digital and can only be posted as attachments. Utilities and multiple files can be posted in ZIP archives. Please include plenty of comments so that users understand what you're doing! Registration is required to access this forum.

Moderators: Alexander Halser, Tim Green

Java to insert conditional text for file links with \ & /

Unread postby Tom Fiddaman » Wed Jun 29, 2011 5:11 pm

Over in this thread I posted a bit of Java code that parses xml topic files to insert conditional text, so that file links in .chm format use \ (backslash) and others (e.g. webhelp) use / (frontslash), so that links to files in subdirectories of the help system work on all platform/browser combinations. Use with caution, because this was quick & dirty for my particular issue, but hopefully it'll be helpful to others.

Tom Fiddaman
Posts: 5
Joined: Wed May 11, 2011 10:37 pm

Return to Templates & Utilities

Who is online

Users browsing this forum: No registered users and 1 guest