Subject: RE: [xsl] How to extract data from an element and not from its children From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 08 Dec 2006 13:25:07 -0500 |
If it's textual content, I agree.. We certainly want to continue with <p>Hello, <b>World!</b></p>
But if it's data, and since you're using xml, you obviuosly intend to imitate a real world hierarchy/structure, wouldn't the following seem strange: <hardware> <screws> This is the description of screws <screw> One </screw> </screws><screws> This is a specification of screws <screw> Two </screw> </screws></hardware>
By orphaning that text without a node, you take away the (meta-)meaning of the text. Doesn't that defeat the purpose of using xml to describe data so it can be used by other readers, human and machine?
Cheers, Wendell
To me, it gives me the same uncomfortable feeling as someone doing the following in html: <table> <tr><td>Hello</td></tr>whoa whats this text doin here,..just don't belong! <tr><td>World</td></tr> </table>
Rgds
(btw I'm a newbie here, I like this list, and if such debates are considered spam, please don't reply and let it die :) )
====================================================================== 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] How to extract data from , Dhunta, Vikram \(GE, | Thread | [xsl] XSL Formatter V4.1 Release In, Keiko Hiraide |
RE: [xsl] avoiding assignment state, Michael Kay | Date | RE: [xsl] How to extract data from , Dhunta, Vikram \(GE, |
Month |