Re: [xsl] namespace declaration missing in output

Subject: Re: [xsl] namespace declaration missing in output
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx (by way of B. Tommie Usdin)
Date: Wed, 31 Jan 2001 13:42:44 -0500
Date: Wed, 31 Jan 2001 18:21:46 GMT
Message-Id: <200101311821.SAA17778@xxxxxxxxx>
From: David Carlisle <davidc@xxxxxxxxx>
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
In-reply-to: <3A784904.456C62D9@xxxxxxxxxxxxxxxxx>
	(Philip.Strube@xxxxxxxxxxxxxxxxx)
Subject: Re: [xsl] namespace declaration missing in output
References:  <3A784904.456C62D9@xxxxxxxxxxxxxxxxx>


Your stylesheet was not well formed as posted so wouldn't produce output at all <xsl:attribute name="fiscus:objectID""> ^

but I asume that was a cut and paste error, and if I remove that
" then xt gives:


<?xml version="1.0" encoding="utf-8"?> <one fiscus:objectID="1" xmlns:fiscus="http://www.fiscus.de";> <two fiscus:objectID="2"> <three fiscus:objectID="3">drei</three> </two> </one>


The output that you showed does not conform to the Namespace REC so you are not supposed to be able to get that, and you've no other way of getting a namespace declaration into the output except copying an element or attribute node. (well you could try copying a namespace node)

So it's a bug in your processor.

David

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread