Just for fun: spot the error

I had an XSLT stylesheet that generated elements with id attributes
like this:

  <place id="p-{generate-id()}">
    ...

and I wanted to use xml:id instead.  So I changed it to

  <place xml:id="p-{generate-id()}">

Can you see why this doesn't work?

-- Richard

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

Received on Tuesday, 17 February 2009 15:44:41 UTC