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

Re: Joining Multiple XML using XPath API of XALAN

Subject: Re: Joining Multiple XML using XPath API of XALAN
From: Dennis <maillistboxes@xxxxxxxxx>
Date: Tue, 17 Sep 2002 22:00:19 -0700 (PDT)
Re:  Joining Multiple XML using XPath API of XALAN
Hi Joseph,

I have the references of all the available XML
Document in my Java code.

What should I write in my stylesheet (XSL) so that it
gets the XML DOM reference in an XSL variable????

Had it been a file, I would have given the file name
to the document function ... but what to do in this
case. 

Is the work in above going to be more than using the
importNode(...) and insertBefore(...) function from
Document and Node classes respectively to merge the
XMLs???

Your answers will help a lot.

Thanks
Dennis


--- Joseph Kesselman <keshlam@xxxxxxxxxx> wrote:
> >I need to merge multiple in-memory DOM structures.
> >...
> >Is there any way to load the in-memory xml document
> in
> >XSL just like document function.
> 
> Simplest answer would be to write an extension
> function that knows where 
> to look to find your DOM (or DOMs) and returns the
> appropriate Document 
> node. We should automagically do the right thing
> with that.
> 
> Or you could write an entity resolver which
> recognizes certain "magic" 
> URIs as requests to access your DOMs... but that's
> probably more work and 
> I *think* it would be less efficient.
> 
> ______________________________________
> Joe Kesselman  / IBM Research
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

 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.