xsl-list
[Top] [All Lists]

RE: [xsl] Transformation using xslt: Two html output

2006-06-27 05:20:43
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(_at_)quagnito(_dot_)com] 
Sent: 27 June 2006 08:47
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [xsl] Transformation using xslt: Two html output, Michael Kay <=