On 03/17/2011 11:18 AM, Hussein Shafie wrote:
>> automatically generate missing IDs (e.g. those equal to '???').
> Test the value of the id attribute using XMLText.isNCName and replace
> all values which are not NCNames. ("???" is of course not an NCName.)
Indeed, this is infinitely better than testing against the hard-coded  
'???' string...
>
> -->  There is no public API which implements something similar to
> 'generate-id(.)'. The private static method which implements this is
> rather crude:
Thanks for pointing us to these examples; we'll invent our own ID 
generator as you suggest.

Many thanks for your help,
Best regards.


 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to