Subject: RE: [xsl] Implementing a (fairly) complex business rule From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 30 Sep 2008 12:10:36 -0400 |
A special case is what one might call "abnormal mixed content", where the structure is that of mixed content but the semantics are unorthodox: for example
<date>2008-09-30 <source>estimated</source> <calendar>Gregorian</calendar> </date>
(It would be more usual to use attributes here rather than child elements; but one also sees comments used.) In such a case you may need to find the text node (or all the text nodes) explicitly using path expressions.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Implementing a (fairly) c, Bradley, Peter | Thread | Re: [xsl] Implementing a (fairly) c, Wendell Piez |
RE: [xsl] Implementing a (fairly) c, Michael Kay | Date | RE: [xsl] Implementing a (fairly) c, Bradley, Peter |
Month |