xsl-list
[Top] [All Lists]

Re: Shallow copy and base URI

2006-01-26 16:29:10

  Is "to a new element" including document nodes?  It is not

I think you should raise that as a bug in the spec. It seems to me that
document nodes should be included. A similar note occurs in all other
node constructors (xsl:element, xsl:processing-instruction, etc and in
those cases it is explict that document nodes also count, eg xsl:element
says

http://www.w3.org/TR/xslt20/#element-element

  (Note, however, that this is only relevant when creating parentless
  elements. When the new element is copied to form a child of an element
  or document node, the base URI of the new copy is taken from that of its
  ^^^^^^^^^^^^^^^^^
  new parent.)


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>