If you have a v1.1 compliant transformer (such as the latest version of
Saxon), you can use the xsl:document function to produce a document
containing all of the output within the start and close tags of that
element. Standard v1.0 xsl does not have a built-in method to do this,
but as Mukul explained, extension functions may have been written for
your transformer.
Allan
|-----Original Message-----
|From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
|[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
|Mukul Gandhi
|Sent: 18 July 2003 02:30
|To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
|Subject: Re: [xsl] Re: writing output HTML to file
|
|
|i don't which XSLT processor you are using. but you
|will need to use an extension function to write result
|of transformation to a file. for e.g. Xalan-J provides
|a "redirect" extension to writing result of
|transformation to a file
|
|http://xml.apache.org/xalanj/extensionslib.html#redirect
|
|Regards,
|Mukul
|
|--- John Liebermann <ahsan_hussain(_at_)nextaxiom(_dot_)com>
|wrote:
|> Is it possible to output the HTML generated to file?
|> I have two outputs in
|> my HTML that i would like to go into different files
|> so that i can append
|> them and create my final HTML. thanks.
|>
|>
|> XSL-List info and archive:
|> http://www.mulberrytech.com/xsl/xsl-list
|>
|
|
|__________________________________
|Do you Yahoo!?
|SBC Yahoo! DSL - Now only $29.95 per month!
|http://sbc.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