Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 1st, 2010, 05:45 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Your XML document refers to a stylesheet Test.xsl but your stylesheet is called TP.xsl
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
 
Old April 1st, 2010, 06:00 AM
Authorized User
 
Join Date: Mar 2010
Posts: 28
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Sir, There is a typing mistake. But in my real file I used the same XSL file as I written in XML file. Means I used TP.xsl file as a stylesheet.

Regards/Thanks,
Dhrumil
 
Old April 1st, 2010, 06:25 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

>There is a typing mistake.

Yes, you have made many typing mistakes. I'm usually very patient with people trying to learn the language, but if you can't take elementary care when posting your questions, sorry, I'm not going to bother reading them any more. If the code you posted isn't the code that you were running, then we can't start to debug it for you.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
 
Old April 1st, 2010, 07:22 AM
Authorized User
 
Join Date: Mar 2010
Posts: 28
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Again Sorry Sir,
I give you guaranty that this kind of mistake will never happen again by me.
Please try to solve my problem.

Regards/Thanks,
Dhrumil
 
Old April 1st, 2010, 07:29 AM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 291
Thanks: 9
Thanked 29 Times in 29 Posts
Thumbs up

The last try would be to view your actual input xml and xslt files. If possible attach them or you can post them without editing. Do not return saying "that was the one I have posted already". There could be some small mistake anywhere. So post them or attach the files. We shall give a try.
__________________
Rummy
 
Old April 1st, 2010, 07:29 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

The problem is when we use the files you just posted we have to modify them to 'fix' all these little issues, like removing the <sample_002> element and the ... at the end of the file, and then changing the Test.xsl to TP.xsl.

And once we've done all that it then works fine for us.

Therefore we have no way of knowing what your problem is because we are no longer using the files you posted, which probably aren't the files you are testing with either.

So if you can post the exact files you are using and we can reproduce the error you are seeing then we might be able to help, but otherwise we have no way of doing so.
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?
 
Old April 4th, 2010, 06:34 AM
Authorized User
 
Join Date: Mar 2010
Posts: 28
Thanks: 3
Thanked 0 Times in 0 Posts
Post

Hello to All,

I am attaching my code in this post.
Here is my first XML file.
Code:
<?xml version="1.0"?>

<Def>
	<Lineage>10</Lineage>
</Def>
<Lineage>
	<sample_001>
		<time>06:03:09.750000</time>
		<date>2009/05/26</date>
		<X>4025.0784</X>
		<Y>4488.9818</Y>
		<Z>3925.5985</Z>
		<X1>3.6739</X1>
		<Y1>2.0819</Y1>
		<Z1>+6.1319</Z1>
		<R>0.0015</R>
		<P>+0.0035</P>
		<Ya>3.2564</Ya>
		<side_angle>334.7379</side_angle>
	</sample_001>
	<sample_002>
		<time>06:03:09.875000</time>
		<date>2009-05-26</date>
		<X>4025.5376</X>
		<Y>4489.2420</Y>
		<Z>3924.8320</Z>
		<X1>3.6734</X1>
		<Y1>2.0813</Y1>
		<Z1>-6.1324</Z1>
		<R>0.0015</R>
		<P>-0.0035</P>
		<Ya>3.2567</Ya>
		<side_angle>334.7384</side_angle>
	</sample_002>
	<sample_003>
		<time>06:03:10.000000</time>
		<date>2009-05-26</date>
		<X>4025.9967</X>
		<Y>4489.5021</Y>
		<Z>3924.0654</Z>
		<X1>3.6728</X1>
		<Y1>2.0807</Y1>
		<Z1>-6.1329</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2570</Ya>
		<side_angle>334.7389</side_angle>
	</sample_003>
	<sample_004>
		<time>06:03:10.125000</time>
		<date>2009-05-26</date>
		<X>4026.4558</X>
		<Y>4489.7622</Y>
		<Z>3923.2987</Z>
		<X1>3.6723</X1>
		<Y1>2.0801</Y1>
		<Z1>-6.1335</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2572</Ya>
		<side_angle>334.7394</side_angle>
	</sample_004>
	<sample_005>
		<time>06:03:10.250000</time>
		<date>2009-05-26</date>
		<X>4026.9148</X>
		<Y>4490.0222</Y>
		<Z>3922.5320</Z>
		<X1>3.6717</X1>
		<Y1>2.0795</Y1>
		<Z1>-6.1340</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2575</Ya>
		<side_angle>334.7400</side_angle>
	</sample_005>
	<sample_006>
		<time>06:03:10.375000</time>
		<date>2009-05-26</date>
		<X>4027.3737</X>
		<Y>4490.2821</Y>
		<Z>3921.7652</Z>
		<X1>3.6712</X1>
		<Y1>2.0789</Y1>
		<Z1>-6.1345</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2578</Ya>
		<side_angle>334.7405</side_angle>
	</sample_006>
	<sample_007>
		<time>06:03:10.500000</time>
		<date>2009-05-26</date>
		<X>4027.8326</X>
		<Y>4490.5419</Y>
			<Z>3920.9984</Z>
		<X1>3.6707</X1>
		<Y1>2.0783</Y1>
		<Z1>-6.1350</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2581</Ya>
		<side_angle>334.7410</side_angle>
	</sample_007>
	<sample_008>
		<time>06:03:10.625000</time>
		<date>2009-05-26</date>
		<X>4028.2914</X>
		<Y>4490.8017</Y>
		<Z>3920.2314</Z>
		<X1>3.6701</X1>
		<Y1>2.0777</Y1>
		<Z1>-6.1356</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2583</Ya>
		<side_angle>334.7415</side_angle>
	</sample_008>
	<sample_009>
		<time>06:03:10.750000</time>
		<date>2009-05-26</date>
		<X>4028.7502</X>
		<Y>4491.0614</Y>
		<Z>3919.4645</Z>
		<X1>3.6696</X1>
		<Y1>2.0771</Y1>
		<Z1>-6.1361</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2586</Ya>
		<side_angle>334.7420</side_angle>
	</sample_009>
	<sample_010>
		<time>06:03:10.875000</time>
		<date>2009-05-26</date>
		<X>4029.2088</X>
		<Y>4491.3210</Y>
		<Z>3918.6974</Z>
		<X1>3.6690</X1>
		<Y1>2.0765</Y1>
		<Z1>-6.1366</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2589</Ya>
		<side_angle>334.7426</side_angle>
	</sample_010>
</Lineage>
Now Here is my 2nd XML file.
Code:
<?xml version="1.0"?>

<Def>
	<Lineage>3</Lineage>
</Def>
<Lineage>
	<sample_001>
		<time>06:03:09.750000</time>
		<date>2009/05/26</date>
		<X>4025.0784</X>
		<Y>4488.9818</Y>
		<Z>3925.5985</Z>
		<X1>3.6739</X1>
		<Y1>2.0819</Y1>
		<Z1>+6.1319</Z1>
		<R>0.0015</R>
		<P>+0.0035</P>
		<Ya>3.2564</Ya>
		<side_angle>334.7379</side_angle>
	</sample_001>
	<sample_002>
		<time>06:03:09.875000</time>
		<date>2009-05-26</date>
		<X>4025.5376</X>
		<Y>4489.2420</Y>
		<Z>3924.8320</Z>
		<X1>3.6734</X1>
		<Y1>2.0813</Y1>
		<Z1>-6.1324</Z1>
		<R>0.0015</R>
		<P>-0.0035</P>
		<Ya>3.2567</Ya>
		<side_angle>334.7384</side_angle>
	</sample_002>
	<sample_003>
		<time>06:03:10.000000</time>
		<date>2009-05-26</date>
		<X>4025.9967</X>
		<Y>4489.5021</Y>
		<Z>3924.0654</Z>
		<X1>3.6728</X1>
		<Y1>2.0807</Y1>
		<Z1>-6.1329</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2570</Ya>
		<side_angle>334.7389</side_angle>
	</sample_003>
</Lineage>
Now, you can see that in both the XML files, the value of <Lineage> tag is different.In the first XML file it is 10 and in the second one it is 3. Based on this values, the number of samples are define in the XML file. Means if there is 10 in <Lineage> then there are 10 samples in XML file. Similarly if there is 3 in <Lineage> then there are 3 samples in XML.Similarly many other XML files with different Lineage value.
Now I want to use a single XSLT file for all of the XML files. How this is possible??
Please give me some directions.

Thanks,
Dhrumil.
 
Old April 4th, 2010, 06:41 AM
Friend of Wrox
 
Join Date: Nov 2007
Posts: 1,243
Thanks: 0
Thanked 245 Times in 244 Posts
Default

What exactly is it that you want the XSLT to do with those files? XSLT/XPath allows you to use a wild card like e.g. select="*" to select all child elements or like select="*[starts-with(local-name(), 'sample_')]" to process all child elements where the local name starts with 'sample_' so you should be able to process those elements, even if the number of them and the name suffix differs.
__________________
Martin Honnen
Microsoft MVP (XML, Data Platform Development) 2005/04 - 2013/03
My blog
 
Old April 5th, 2010, 03:16 AM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 291
Thanks: 9
Thanked 29 Times in 29 Posts
Thumbs up

> Now I want to use a single XSLT file for all of the XML files. How this is possible??

1. What should be made possible? If you need the table like output from all the different XML files, the xslt code I posted would suffice. If not, post the output required.

2. Post the xslt code you are currently using. Post everything you have inside the TP.xsl file. Just open the TP.xsl in an editor, Select All, Copy and Paste in the reply box of this thread.

Do not miss to post any of the above.
__________________
Rummy
 
Old April 5th, 2010, 03:35 PM
Authorized User
 
Join Date: Mar 2010
Posts: 28
Thanks: 3
Thanked 0 Times in 0 Posts
Default

hello Rummy sir,

I am posting my XML file as well as XSLT file. The code is little bit long.

My XML file: TP.XML
Code:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="try.xsl" type="text/xsl"?>
<def>
	<Lineage>10</Lineage>
</def>
<Lineage>
	<sample_001>
		<time>06:03:09.750000</time>
		<date>2009/05/26</date>
		<X>4025.0784</X>
		<Y>4488.9818</Y>
		<Z>3925.5985</Z>
		<X1>3.6739</X1>
		<Y1>2.0819</Y1>
		<Z1>+6.1319</Z1>
		<R>0.0015</R>
		<P>+0.0035</P>
		<Ya>3.2564</Ya>
		<side_angle>334.7379</side_angle>
	</sample_001>
	<sample_002>
		<time>06:03:09.875000</time>
		<date>2009-05-26</date>
		<X>4025.5376</X>
		<Y>4489.2420</Y>
		<Z>3924.8320</Z>
		<X1>3.6734</X1>
		<Y1>2.0813</Y1>
		<Z1>-6.1324</Z1>
		<R>0.0015</R>
		<P>-0.0035</P>
		<Ya>3.2567</Ya>
		<side_angle>334.7384</side_angle>
	</sample_002>
	<sample_003>
		<time>06:03:10.000000</time>
		<date>2009-05-26</date>
		<X>4025.9967</X>
		<Y>4489.5021</Y>
		<Z>3924.0654</Z>
		<X1>3.6728</X1>
		<Y1>2.0807</Y1>
		<Z1>-6.1329</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2570</Ya>
		<side_angle>334.7389</side_angle>
	</sample_003>
	<sample_004>
		<time>06:03:10.125000</time>
		<date>2009-05-26</date>
		<X>4026.4558</X>
		<Y>4489.7622</Y>
		<Z>3923.2987</Z>
		<X1>3.6723</X1>
		<Y1>2.0801</Y1>
		<Z1>-6.1335</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2572</Ya>
		<side_angle>334.7394</side_angle>
	</sample_004>
	<sample_005>
		<time>06:03:10.250000</time>
		<date>2009-05-26</date>
		<X>4026.9148</X>
		<Y>4490.0222</Y>
		<Z>3922.5320</Z>
		<X1>3.6717</X1>
		<Y1>2.0795</Y1>
		<Z1>-6.1340</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2575</Ya>
		<side_angle>334.7400</side_angle>
	</sample_005>
	<sample_006>
		<time>06:03:10.375000</time>
		<date>2009-05-26</date>
		<X>4027.3737</X>
		<Y>4490.2821</Y>
		<Z>3921.7652</Z>
		<X1>3.6712</X1>
		<Y1>2.0789</Y1>
		<Z1>-6.1345</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2578</Ya>
		<side_angle>334.7405</side_angle>
	</sample_006>
	<sample_007>
		<time>06:03:10.500000</time>
		<date>2009-05-26</date>
		<X>4027.8326</X>
		<Y>4490.5419</Y>
		<Z>3920.9984</Z>
		<X1>3.6707</X1>
		<Y1>2.0783</Y1>
		<Z1>-6.1350</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2581</Ya>
		<side_angle>334.7410</side_angle>
	</sample_007>
	<sample_008>
		<time>06:03:10.625000</time>
		<date>2009-05-26</date>
		<X>4028.2914</X>
		<Y>4490.8017</Y>
		<Z>3920.2314</Z>
		<X1>3.6701</X1>
		<Y1>2.0777</Y1>
		<Z1>-6.1356</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2583</Ya>
		<side_angle>334.7415</side_angle>
	</sample_008>
	<sample_009>
		<time>06:03:10.750000</time>
		<date>2009-05-26</date>
		<X>4028.7502</X>
		<Y>4491.0614</Y>
		<Z>3919.4645</Z>
		<X1>3.6696</X1>
		<Y1>2.0771</Y1>
		<Z1>-6.1361</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2586</Ya>
		<side_angle>334.7420</side_angle>
	</sample_009>
	<sample_010>
		<time>06:03:10.875000</time>
		<date>2009-05-26</date>
		<X>4029.2088</X>
		<Y>4491.3210</Y>
		<Z>3918.6974</Z>
		<X1>3.6690</X1>
		<Y1>2.0765</Y1>
		<Z1>-6.1366</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2589</Ya>
		<side_angle>334.7426</side_angle>
	</sample_010>
</Lineage>
My another XML file:- TP1.XML
Code:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="try.xsl" type="text/xsl"?>
<def>
	<Lineage>3</Lineage>
</def>
<Lineage>
	<sample_001>
		<time>06:03:09.750000</time>
		<date>2009/05/26</date>
		<X>4025.0784</X>
		<Y>4488.9818</Y>
		<Z>3925.5985</Z>
		<X1>3.6739</X1>
		<Y1>2.0819</Y1>
		<Z1>+6.1319</Z1>
		<R>0.0015</R>
		<P>+0.0035</P>
		<Ya>3.2564</Ya>
		<side_angle>334.7379</side_angle>
	</sample_001>
	<sample_002>
		<time>06:03:09.875000</time>
		<date>2009-05-26</date>
		<X>4025.5376</X>
		<Y>4489.2420</Y>
		<Z>3924.8320</Z>
		<X1>3.6734</X1>
		<Y1>2.0813</Y1>
		<Z1>-6.1324</Z1>
		<R>0.0015</R>
		<P>-0.0035</P>
		<Ya>3.2567</Ya>
		<side_angle>334.7384</side_angle>
	</sample_002>
	<sample_003>
		<time>06:03:10.000000</time>
		<date>2009-05-26</date>
		<X>4025.9967</X>
		<Y>4489.5021</Y>
		<Z>3924.0654</Z>
		<X1>3.6728</X1>
		<Y1>2.0807</Y1>
		<Z1>-6.1329</Z1>
		<R>0.0015</R>
		<P>-0.0034</P>
		<Ya>3.2570</Ya>
		<side_angle>334.7389</side_angle>
	</sample_003>
</Lineage>
Here is my XSLT file:- try.xsl
Code:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"
	xmlns="http://www.w3.org/TR/REC-html40">
<xsl:template match = "/">

<html>
	<head>
		<style type="text/css">
		.entete { color: #fff; font-style: italic; font-weight: bolder; font-size: 13px; font-family: Georgia, "Times New Roman" }
		.new { font-size: 8px; font-family: Verdana, Arial; }
		</style>
	</head>

	<body bgcolor="#dddddd">

	<div>
	<xsl:if test="//Lineage">
	<table border="3" bordercolor="#A9AB87" cellpadding="0" cellspacing="0" width="80%" bgcolor="#eeeeee">
		<tr>
			<td valign="middle" align="center"><br/>
				<table border="3" cellpadding="0" cellspacing="0" width="95%">
					<tr>
						<td valign="top">
						<table border="0" cellpadding="0" cellspacing="2" width="100%" bgcolor="#A9AB87">
						<tr>
							<td>
								<p><span class="entete">Lineage</span></p>
							</td>
						</tr>
						</table>
						<br/>
						<table border="0" cellpadding="0" cellspacing="0" bgcolor="#A9AB99"> 
						<tr>
							<td align="left" width="2">
								<p><span class="entete">No.</span></p>
							</td>
							<td align="center" width="200">
								<p><span class="entete">Time</span></p>
							</td>
							<td align="center" width="200">
								<p><span class="entete">Date</span></p>
							</td>
							<td align="center" width="200">
								<p><span class="entete">X</span></p>
							</td>
							<td align="center" width="200">
								<p><span class="entete">Y</span></p>
							</td>
							<td align="center" width="200">
								<p><span class="entete">Z</span></p>
							</td>
							<td align="center" width="200">
								<p><span class="entete">X'</span></p>
							</td>
							<td align="center" width="200">
								<p><span class="entete">Y'</span></p>
							</td>
							<td align="center" width="200">
								<p><span class="entete">Z'</span></p>
							</td>
							<td align="center" width="200">
								<p><span class="entete">Raw</span></p>
							</td>
							<td align="center" width="200">
								<p><span class="entete">Pitch</span></p>
							</td>
							<td align="center" widhth="200">
								<p><span class="entete">Yaw</span></p>
							</td>
							<td align="right" width="150">
								<p><span class="entete">SiderealAngle</span></p>
							</td>
						</tr>
						</table>
						<div style="height:200px; overflow:auto;">
						<table border="0" cellpadding="0" cellspacing="0">
						<xsl:if test="//Lineage/sample_001">
						<tr>
							<td valign="top">
								<p class="intitule">1</p>
							</td>
							<td  width="200">
								<dir class="new"><xsl:value-of select="//Lineage/sample_001/time"/></dir>	
							</td>
							<td width="200">
								<dir class="new"> <xsl:value-of select="//Lineage/sample_001/date"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_001/X"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_001/Y"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_001/Z"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_001/X1"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_001/Y1"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_001/Z1"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_001/R"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_001/P"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_001/Ya"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_001/side_angle"/></dir>
							</td>
						</tr>
						</xsl:if>
						<xsl:if test="//Lineage/sample_002">
						<tr>
							<td valign="top">
								<p class="intitule">2</p>
							</td>
							<td  width="200">
								<dir class="new"> <xsl:value-of select="//Lineage/sample_002/time"/></dir>
							</td>
							<td width="200">
								<dir class="new"> <xsl:value-of select="//Lineage/sample_002/date"/></dir>
							</td>
							<td >
								<dir class="new"> <xsl:value-of select="//Lineage/sample_002/X"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_002/Y"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_002/Z"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_002/X1"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_002/Y1"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_002/Z1"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_002/R"/></dir>
							</td>
							<td>
								<dir class="new"> <xsl:value-of select="//Lineage/sample_002/P"/></dir>
							</td>
							<td>
								<dir cLass="new"> <xsl:value-of select="//Lineage/sample_002/Ya"/></dir>
							</td>
							<td>
								<dir cLass="new"><xsl:value-of select="//Lineage/sample_002/side_angle"/></dir>
							</td>
						</tr>
						</xsl:if>
						</table>
						</div>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	</xsl:if>
	</div>

	</body>
</html>

</xsl:template>
</xsl:stylesheet>
sir,whenever you run the xml file, you can see a table with values. I want to use this XSLT file for both TP.xml and TP1.xml which have different Lineage value. How can I solve this problem and also how can I use FOR LOOP to display all the values of sample in tabular form.

Thanks,
Dhrumil





Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT recursive Additions raafishaafi XSLT 2 January 13th, 2009 11:41 AM
XSLT Loop? kwilliams XSLT 1 June 16th, 2008 06:04 PM
FOR LOOP IN XSLT im_himanshu2004 XSLT 0 October 10th, 2007 02:27 PM
transform in a loop vs recursive template ramarc XSLT 3 April 10th, 2006 04:40 PM
recursive XSLT Help boates XSLT 2 January 11th, 2006 03:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.