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

RE: Transformation using xslt: Two html output

Subject: RE: Transformation using xslt: Two html output
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 27 Jun 2006 13:20:17 +0100
xslt two outputs
With XSLT 2.0, and with some XSLT 1.0 processors using extensions, you can
produce two output files in the same run. The standard way to do this in
1.0, however, is to run the stylesheet twice, using a parameter (a top-level
xsl:param element) to specify which output file you want to generate in each
run.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Shailesh Shinde [mailto:shailesh@xxxxxxxxxxxx] 
> Sent: 27 June 2006 08:47
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Transformation using xslt: Two html output 
> 
> Hi All,
> 
> I have to develop xslt which will output two html files say 
> "source.html"
> and "target.html" on basis of there attributes which are 
> "@langid" and the input xml for the same as below. 
> 
> Can you please provide any references or examples for the same.
> 
> <?xml version="1.0"?>
> <Chapter>
> <Topic>
> <Title>Command Summary</Title>
> <src langid="en-US"><IndexEntry>command 
> summary</IndexEntry>The following is a list of the AutoCAD 
> Electrical commands, a brief description of each and the 
> associated toolbutton.</src> <tgt langid="de-DEU">Target: 
> <IndexEntry>command summary</IndexEntry>The following is a 
> list of the AutoCAD Electrical commands, a brief description 
> of each and the associated toolbutton.</tgt>
> 
> <src langid="en-US"><IndexEntry>command 
> summary</IndexEntry>The following is a list of the AutoCAD 
> Electrical commands, a brief description of each and the 
> associated toolbutton.</src>
> 
> <tgt langid="de-DEU">Target: <IndexEntry>command 
> summary</IndexEntry>The following is a list of the AutoCAD 
> Electrical commands, a brief description of each and the 
> associated toolbutton.</tgt>
> 
> </Topic>
> </Chapter>
> 
> Thanks,
> Shailesh

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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-2007 All Rights Reserved.