Subject: Transformation using xslt: Two html output
From: "Shailesh Shinde" <shailesh@xxxxxxxxxxxx>
Date: Tue, 27 Jun 2006 13:17:09 +0530
|
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
|