Re: [xsl] Accessing node from different xml..

Subject: Re: [xsl] Accessing node from different xml..
From: Arulraj <p_arulraj@xxxxxxxxx>
Date: Wed, 24 Nov 2004 06:10:14 -0800 (PST)
Hello,

I am using two xml and with one xsl generating FO
output.
I got the following problem.

In my Second XML file, I have following elements
?xml version="1.0" encoding="UTF-8"?>
<AnnotationData version="1.0">
<Rot angle="90" pN="0">
<PElems>
<H
pID="C94BD93562BD7EFDB3D96A01346FF83A0409031036150001"
/>
</Rot>
 
In XSLT, I have using document() to load that file
<xsl:variable name="StampTextInfo"
select="document($strstampFileName)"/>

So, I am using following way to access that <H>
<xsl:apply-templates
select="$StampTextInfo/AnnotationData/Rot/PElems/H[@pID=$TiffIdTmp]"/>

I got a problem, In some case I dont get <Rot> element
in the second xml file is dynamic one.

How to access H in that case ?

thanks
regards,
Arul



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 

Current Thread