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 elements Re: Get untagged text between elementsTo: NULL Date: 2/3/2007 11:04:00 PM
FMAS wrote:
> I am transforming XML files which sometimes have untaged text between
> elements.
>
> It looks like this:
>
> <ut Style="external" DisplayText="bb"><bb "Document Numbering
> Formats"></ut>
> <ut Style="external" DisplayText="bb"><bb "Custom Footnote
> Numbering"></ut>*†‡
> <ut Style="external" DisplayText="bb"><bb "Volume
> 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.
>
> Any suggestion?
a) This looks like rather poor design by someone who really
hasn't grasped the idea of XML properly.
b) It also appears that they are trying to hide data marked in
another language within the XML.
c) Use the text() function to access character data in Mixed Content
(which is what this resembles).
///Peter
--
XML FAQ: http://xml.silmaril.ie/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
