|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Transformation using xslt: Two html output
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
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! Subscribe in XML format
|







