xsl-list
[Top] [All Lists]

Re: [xsl] Check for duplicate @id's - collection()

2008-07-19 09:09:15
I am looking for a way to (query or xslt 2.0) to check for duplicate @id's
values across all files with the collection function. This would be a
pre-production check.

I am looking for ideas or suggestions. Also, I am using Saxon 9.1.0.1

You may prefix, suffix or calculate ids some other way depending on original source file.
This way no duplicates will occurs.

E.g.: id="{$original-id}.{$collection-index}"
--
Vladimir Nesterovsky



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--