[Home] [By Thread] [By Date] [Recent Entries]
On 12/02/2013 21:35, Eric Harbeson wrote:
The xsl:element instruction creates the ead element in no-namespace, and you then attempt to add a namespace node that binds the default namespace to "urn:isbn:1-.....". Adding a namespace node to an existing element can't change the name(space) of the element, and is an error if it's inconsistent with the name of the element. You need to create the element in the right namespace to start with, and then the namespace node will be created for you automatically: <xsl:element name="ead" namespace="urn:isbn:1-931666-22-9"> Alternatively, use a literal result element: <ead xmlns="urn:isbn:1-931666-22-9"> though this doesn't give you quite such detailed control over namespaces. Michael Kay Saxonica
|

Cart



