|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Newline problems
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








