470,833 Members | 1,688 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

using xpointer in html

Hi everyone,

I'm currently updating my website. In a previous incarnation, I had
some content with a navigation frame: the displayed page was e.g.
"frames.htm", which loaded an html doc "righthandpage.htm" on the
right, with a page called "nav.htm"consisting a table of links of the
form "righthandpage.htm#section" in the narrower left-hand frame.

Now I've changed righthandpage.htm to xml, and of course my navigation
links don't work.

Can I use xpointer syntax in nav.htm to fix the broken links?
Do I have to rewrite nav.htm as nav.xml in order to get xpointer to
work, or will (new browsers of) html be able to cope?
Does righthandpage.xml really need a DTD or schema for the links to
work?
(I'm looking for the simplest possible solution to each problem as I
gradually update my website one step at a time.)

Many thanks and best wishes,

T.

Apr 1 '06 #1
3 1084
jb
tintagel wrote:
Hi everyone,

I'm currently updating my website. In a previous incarnation, I had
some content with a navigation frame: the displayed page was e.g.
"frames.htm", which loaded an html doc "righthandpage.htm" on the
right, with a page called "nav.htm"consisting a table of links of the
form "righthandpage.htm#section" in the narrower left-hand frame.

Now I've changed righthandpage.htm to xml, and of course my navigation
links don't work.

Can I use xpointer syntax in nav.htm to fix the broken links?
Do I have to rewrite nav.htm as nav.xml in order to get xpointer to
work, or will (new browsers of) html be able to cope?
Does righthandpage.xml really need a DTD or schema for the links to
work?
(I'm looking for the simplest possible solution to each problem as I
gradually update my website one step at a time.)

Many thanks and best wishes,

T.


The last I heard, it's still html.
Apr 1 '06 #2
tintagel wrote:
Hi everyone,

I'm currently updating my website. In a previous incarnation, I had
some content with a navigation frame: the displayed page was e.g.
"frames.htm", which loaded an html doc "righthandpage.htm" on the
right, with a page called "nav.htm"consisting a table of links of the
form "righthandpage.htm#section" in the narrower left-hand frame.

Now I've changed righthandpage.htm to xml, and of course my navigation
links don't work.


Are you sure you've written it as XML? Have you really done it in
XHTML? URL?

--
Hywel
Apr 1 '06 #3
Hi Hywel,

Thanks for your post. Yes, I've completely reworked the html content so
now it's an xml doc with an xsl stylesheet. (My site's still very much
under construction though, and this section hasn't been uploaded yet as
it's still too experimental.) I haven't been able to find an example
online of how to use xpointer *from within html*, in place of the usual
'<a href> and #' syntax, to link to specific parts of an xml doc.

Thanks again,

T.

Apr 3 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Pascal Schmitt | last post: by
reply views Thread by shaun | last post: by
reply views Thread by moonty | last post: by
2 posts views Thread by Giacomino | last post: by
3 posts views Thread by Robert Jones | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.