This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: namespace declaration missing in output


Date: Wed, 31 Jan 2001 18:21:46 GMT
Message-Id: <200101311821.SAA17778@nag.co.uk>
From: David Carlisle <davidc@nag.co.uk>
To: xsl-list@lists.mulberrytech.com
In-reply-to: <3A784904.456C62D9@ofd.mf.lsa-net.de>
	(Philip.Strube@ofd.mf.lsa-net.de)
Subject: Re: [xsl] namespace declaration missing in output
References:  <3A784904.456C62D9@ofd.mf.lsa-net.de>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]