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

Re: Generating XML fragment to DOM node using XSL

Subject: Re: Generating XML fragment to DOM node using XSL
From: Steve Dussinger <sdussing@xxxxxxxxx>
Date: Tue, 16 Dec 2003 14:05:50 -0800
steve dussinger
On 12/16/03 1:44 PM, "Gupta, Raman K [CI]" <raman.k.gupta@xxxxxxxxxxxxx>
wrote:

>> I want the root node to be any currently existing element in
>> my DOM tree. I can control the choice of which node is my
>> parent in the destination tree, but if I try to put more than
>> one node under that parent element, I get this error, even
>> though I don't think the error is correct.
> 
> Steve,
> 
> Have you checked http://www.dpawson.co.uk/xsl/sect2/N2602.html,
> specifically question 4 (merging two documents)?
> 
> Cheers,
> Raman
> 
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

I hadn't seen that one, but it doesn't do what I'm after, either. My problem
is that I already have a DOM document that I want to insert into. I'm not
combining documents to make a whole new document.

It seems like all of the existing examples use this technique to combine
documents, rather than add a new nodes to an existing document, like I need
to do...

I'm starting to get the sinking feeling that what I need to do isn't
possible using XSLT alone, and I'm going to need to come up with some hack
the post-processes a new DOM tree and copies the results into the tree I
want. It's not the solution I was hoping for, but nothing better seems to be
presenting itself...

Thanx,
   Steve



 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.