RE: use of ID and IDREF pb

Subject: RE: use of ID and IDREF pb
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 25 Jan 2000 08:54:13 -0000
> In my output HTML page I want to replace the ResourceRef element with
> the content of the Resource element. I use the id(@refid) function to
> apply the Resource template, but it didn't work correctly. 
> The Resource template is not call.

The most likely explanation is that the attribute named "id" is not of type
ID. Check that it is declared as an ID attribute in the DTD, and then try it
with a different parser, just in case (some older parsers, e.g. early
versions of xp, don't report the attribute type).

Mike Kay

 XSL-List info and archive:

Current Thread