On Fri, 2003-05-02 at 21:08, Vishwajit Pantvaidya wrote:
I made changes to apply normalize-space to text nodes as suggested but
output again has no data. Do you see any obvious mistakes? Simplified src
xml and xsl are as shown below:
are you trying to do this?
...
<xsl:element name = "PO_NUMBER">
<xsl:value-of
select="attr/atomicValue[normalize-space(../name)='ponumber']"/>
</xsl:element>
...
normalize-space is kind of like what most languages call trim(). In
other words '[LF]ponumber' != 'ponumber' (I guess those really aren't
words)
--
_/ _/_/ _/_/_/
_/_/ _/ _/ _/
_/ _/
_/ _/
_/ _/_/_/_/
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list