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

Re: Spliting one XML to multiple XML docs using XSL

Subject: Re: Spliting one XML to multiple XML docs using XSL
From: Dennis <maillistboxes@xxxxxxxxx>
Date: Mon, 28 Oct 2002 00:31:49 -0800 (PST)
splitting xml
Hi Mitch,

Thanks for your time but I think XSLT 2.0 is in draft
stage. I can't use it in my product.

The xsl:document you are telling doesn't seem to be
standard. I have seen xsl:output as the standard
neither is the case with xsl:result-document ...
correct me if I am wrong.

Let me know if there is any way of splitting XML with
standard XSL.

Thanks
Dennis



--- Mitch Amiano <mitch.amiano@xxxxxxxxxxxxxxxxxxxx>
wrote:
> XSLT 1.1 had an xsl:document element to do this, and
> there were
> processor-specific extensions to accomplish the same
> thing. Saxon has
> saxon:output for instance, which is a synonym for
> xsl:document.
> 
> For instance:
> 
> <xsl:template match="/">
>    <xsl:document method="text" href="bar.txt">
>        <xsl:apply-templates/>
>    </xsl:document>
> </xsl:template>
> 
> XSLT 2.0 has xsl:principle-result-document and
> xsl:result-document for 
> this purpose. A use might look like this:
> 
> <xsl:template match="/">
> <xsl:result-document format="xml" href="foo.xml">
>   <xsl:apply-templates mode="foomode"/>
> </xsl:result-document>
> </xsl:template>
> 
> - Mitch
> SoftwareAdjuvant.com
> 
> Dennis wrote:
> 
> >Hi All, 
> >
> >Is it possible to split the imput XML into multiple
> >XML trees??
> >
> >I am merging the multiple xml files using XSL, I
> want
> >the reverse of it.
> >
> >Any suggestion or tips & tricks are welcome.
> >
> >Thanks
> >Dennis
> >
> >__________________________________________________
> >Do you Yahoo!?
> >Y! Web Hosting - Let the expert host your web site
> >http://webhosting.yahoo.com/
> >
> > 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!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.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.