![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Get untagged text between elements [Thread Next] Re: Get untagged text between elementsTo: NULL Date: 2/4/2007 1:48:00 PM FMAS wrote: > <ut Style="external" DisplayText="bb"><bb "Custom Footnote > Numbering"></ut>*†‡ > No problem to transform the content of tags. But I do not find a way > to copy untagged text such as "*†‡" in the example above. If you have a template matching ut elements then you could do e.g. <xsl:value-of select="normalize-space(following-sibling::node()[1][self::text()])"/> that looks at the next sibling node, checks whether it is a text node and outputs the normalized string. I put in the normalize-space function call as some of the ut elements in your sample are followed by white space text nodes. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
