[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl:copy-of copies what?

Subject: xsl:copy-of copies what?
From: martin@xxxxxxxx
Date: Fri, 25 Jan 2002 16:03:00 +0000 (GMT)
xsl copy of nullpointerexception
heya, quick question about the XSLT 1.0 spec.
i can't seem to find much detail on what types of nodes are copied over
by xsl:copy-of - it specifies how to copy element nodes and says about the
root node that it is copied by copying its children.
though which ones?? can't copy the doctype, any others that should be
avoided?

the equivalent operation in DOM would probably be
importNode(Node n, boolean deep).
DOM docs state clearly that document type nodes for one cannot be
imported, neither can document nodes (Xerces barfs on you with a
NullPointerException if you try!)

/m


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.