
July 3rd, 2003, 07:30 AM
|
|
Junior Member
|
|
Join Date: Jul 2003
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Links from html to xml
Hi,
Does anyone know how to link from a html file, to a section in an XML file?
Basically, I have an automated tool which creates a navigation menu in one frame and the content in the other frame. Depending where one clicks in the menu, it links to a section in the content.
When it was all html, I just used:
menu.html
<A HREF="ASCII_Field.html#ASCII_Field" target='main'>
ASCII_Field.html
<A NAME="Class: ASCII_Field"> <H1> Class: ASCII_Field </H1>
Which obviously worked okay.
Now. The menu is still html (and it's probably easier to keep it this way) and the main document is created in XML. I tried the following:
menu.html
<A HREF="ASCII_Field.xml#ASCII_Field" target='main'>
ASCII_Field.xml
<title id="ASCII_Field"> Class: ASCII_Field </title>
But clicking on the link, just has the effect of re-opening the xml file in the main frame.
Does anyone know how I can link to the <title id=""> parts of the document?
Any help will be appreciated.
Cheers.
|