I have two HTML files. One is a list that I want to use as links to
the other file. Is there any way I can automatically edit the list
file to create unique ids for the URL#id tag and corresponding id=tag
in the other file?
What I want is to have a list of links such as:
<a href="./page.html#id#">name 1 </a>
<a href="./page.html#id#">name 2 </a>
And have the # replaced with 1 on the first line, 2 on the second, etc.
In the other file (page.html), I want the same replacement done to id parms:
<p id="id#"> Paragraph 1</p>
<p id="id#"> Paragraph 2</p>
so that name 1 points at paragraph 1, name 2 points at paragraph 2, etc.
I hope this requirement is understandable and someone can tell me how to do it.
Thank You.
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>