|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: NodeTest text()
> Dear all, > > I am trying to use the text() nodetest to extract the text > only value of > a string. Kay (2nd ed.) defines the function of text() as "selects all > text nodes on the relevant axis". So, I would expect the > text() content > of the abbr element in: > > <abbr>Will<expan>elmus</expan>s</abbr> > > to be 'Wills' It would be helpful to see what the XSL code is that you used for this. If you just used a value of, it would only get the first node. There are 2 text nodes in the xml string you gave us, so chances are you would need to use a for-each or apply-templates or something. I don't know if we will be able to tell you unless we can see what you are doing. Chris Strolia-Davis Database Specialist Contractor - CDO Technologies Inc. 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








