473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Transformation using Saxon xslt2.0.

Hi All,

I have to develop xslt2.0 for transformation xml file which looks like
below. In xslt2.0 looks fro "@langid", if @langid="en-US" than it
generates output html file say output1 and if finds @langid="de-DEU"
than generates output html file say output2.html.

Can you please help me to develop this type of xslt.

<?xml version="1.0"?>
<Chapter>
<Topic>
<Title>Command Summary</Title>
<src langid="en-US">
command summary, The following
is a list of the Auto Electrical commands, a brief description
of each and the associated toolbutton.</src>
<tgt langid="de-DEU">Target: command summary, The following
is a list of the Auto Electrical commands, a brief description
of each and the associated toolbutton.</tgt>
<src langid="en-US">
command summary, The following
is a list of the Auto Electrical commands, a brief description
of each and the associated toolbutton.</src>
<tgt langid="de-DEU">Target: command summary, The following
is a list of the Auto Electrical commands, a brief description
of each and the associated toolbutton.</tgt>
<src langid="en-US">You can turn on the
visibility of the toolbars from the Projects &amp; Toolbars menu
or by right-clicking a toolbar and selecting from the Electrical
list. All of the smaller toolbars not listed here are found on the
Main Electrical or Main Electrical 2 toolbars.</src>
<tgt langid="de-DEU">You can turn on the
visibility of the toolbars from the Projects &amp; Toolbars menu
or by right-clicking a toolbar and selecting from the Electrical
list. All of the smaller toolbars not listed here are found on the
Main Electrical or Main Electrical 2 toolbars.</tgt>
</Topic>
</Chapter>

Thanks,
Shailesh

Jun 28 '06 #1
0 1422

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ipg | last post by:
I am running into issues passing a parameter (that is a XML string) into a stylesheet and using msxsl:node-set to parse the string. Can someone please explain why. my html: var xsl = new...
1
by: Edouard Mercier | last post by:
Hi to all; I would like to have the confirmation on an intuition. I'm working on a XSL that takes an XML file which contains about 30.000 XML elements (let's call them A elements), each element...
8
by: Will | last post by:
I was thrust into XML about 2 weeks ago and don't know much yet. From another department in the corp I am receiving an XML file which concatenates nodes all on one line i.e....
2
by: Alex | last post by:
We am facing a problem with transforming docbook xml to html. I am running PHP4 on apache and i first tried to use sablotron which took 40+ seconds to convert a 50kb xml file. When using xsltproc...
4
by: Rolf Kemper | last post by:
Hi All, ned help on the example below. It works fine for msxml3/4 but has problems with saxon. Saxon complains "can not find matching function ..... " My target is to write style sheets...
18
by: R. P. | last post by:
I wonder how to indicate in a stylesheet that character entities in an element are not to be transformed as would be the case in XML-to-XML transforms. I want to keep those &amp; &quot; and other character...
1
by: Thomas Schmidt | last post by:
Hi everybody, can somebody point me to an example / an instruction on how to transform an XML document using Java and XSLT2? Thanks, Thomas
2
by: bizt | last post by:
Hi, I am performing an XSLT on a XML feed. The XSLT produces me with PHP code that I eval then insert into my DB. However, the way that the system Im assigned to is setup, I need to convert all...
1
by: RolfK | last post by:
Dear ALL, does anybody have the following experience: I'm writing files by xslt2.0 xsl:result-document. The URI I use is for sure unique and I could nail it down to the following: When I use...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.