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

RE: xalan and nodelists

Subject: RE: xalan and nodelists
From: "Paul Brown" <prb@xxxxxxxxxxxxx>
Date: Tue, 30 Jan 2001 14:25:25 -0600
xmlserializer xalan
It won't make any different -- either you'll have to iterate over the
NodeList or XMLSerializer will...

As for doing it yourself, you can serialize a document fragment with
XMLSerializer, however, but you will need to create the document fragment
and then clone the nodes in the nodelist into it.  (The alternative is for
you to write your own method and use a switch statement on NodeType() (an
int) and wrap it in the corresponding XMLSerializer methods (e.g.,
startCDATA(), etc.).)

	- Paul

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Reuel Alvarez
> Sent: Tuesday, January 30, 2001 1:32 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  xalan and nodelists
>
>
> Given a NodeList retrieved from an XML Document, is there an easy way to
> convert this NodeList to a Document? I want to serialize the
> NodeList using
> XMLSerializer but would like to avoid having to traverse each Node of the
> NodeList.
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 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.