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

Re: Outputting from more than one source

Subject: Re: Outputting from more than one source
From: john liao <jliao2k@xxxxxxxxx>
Date: Sat, 12 Oct 2002 17:22:32 -0700 (PDT)
moreirag
As a xslt newbie, I must ask the question: instead of
the java code producing multiple xml files, why not
produce one xml and let xslt sort and produce the
multiple output files? something about xsl:redirect? 

--- Gustavo Moreira <moreirag@xxxxxxxxxx> wrote:
> Thanks,
> The document() function worked fine.
> But I still have to sort them. The clients.
> 
> 
> 
> ----- Original Message -----
> From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Saturday, October 12, 2002 4:18 PM
> Subject: Re:  Outputting from more than one
> source
> 
> 
> > Gustavo Moreira wrote:
> > > I wrote a java code that generates XML files
> with the same stucture from
> > > different databases.
> > >
> > > Which would be the best way to show the
> information from these files
> > > together?
> >
> > Use the document() function:
> >   http://www.w3.org/TR/xslt#document
> > You can copy, apply templates, or whatever you
> want:
> >   <xsl:copy-of select="document('other.xml')/*"/>
> >   <xsl:apply-templates
> select="document('other.xml')/*"/>
> >
> > If you generate the XML on the fly, check your
> > favorite XSLT processor whether it allows you
> > to hook in functionality to map URIs to some XML
> > source. For Java processors, write an URIResolver.
> >
> >
> > J.Pietschmann
> >
> >
> >  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> >
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


=====


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.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.