Re: Just for fun: spot the error

On 17 Feb 2009, at 16:44, Richard Tobin wrote:

> 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?

Because it's a place element which has an ID of p-{generate-id()}?

I'm curious...

Received on Tuesday, 17 February 2009 16:11:43 UTC