Subject: Re: Can't use 'id' function in XT 19990725 From: Chris Maden <crism@xxxxxxxxxxx> Date: Tue, 27 Jul 1999 10:49:24 -0400 (EDT) |
[Harbarth, Juliane] > This works nicely, but if I replace "//node()[@id=$targetid]" with > "id($targetid)" which (to my understanding) amounts to the same > thing, it does not work. The node with id equal to $targetid is not > found. What am I getting wrong ? For this to work, the ID attributes must be declared as such, and the processor must read those declarations. If you're using XT, for example, you need to have the declarations in the internal subset. -Chris -- <!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN"> <!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN" "<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487 <USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Can't use 'id' function in XT 19990, Harbarth, Juliane | Thread | Re: Can't use 'id' function in XT 1, James Clark |
System-property function, Pete Johnston | Date | Possible whitespace problem with XT, Alistair MacDonald |
Month |