xsl-list
[Top] [All Lists]

Re: Accessing node from different xml..

2004-11-24 07:10:14
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[(_at_)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 

--~------------------------------------------------------------------
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>
--~--