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)
|
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
|