[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How to process attributes of IDREFS


Subject: Re: [xsl] How to process attributes of IDREFS
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 19 Aug 2003 12:09:18 -0400

Dan,

The id() function should certainly be working if the declarations are in place to let the parser know these are ID and IDREFS attributes.

See the XPath spec: http://www.w3.org/TR/xpath#section-Node-Set-Functions to find out the real deal. It does say that a whitespace-separated list of tokens in the value of a string argument will be split apart.

The trick, as always with id(), is to make sure the parser in front of your XSLT engine can see the attribute declarations, so the nodes are properly recognized as ID/IDREF.

So check those system identifiers. What processor are you using? There are processors out there that have bugs in this area.

Cheers,
Wendell



======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Current Thread
Keywords