This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: following-sibling


 Carole E. Mah 

<body>
 <p>this is ok</p>
 <hr>
 This is <b>bad</b>, naked CDATA, that even <i>Tidy</i> does 
not rectify.
 <hr>
 <p>this is also ok</p>
</body>


I had just the same experience with the open e-book DTD.
pcdata within a container.

Drawing pretty pictures of children and siblings
made me understand it.
With *here* as body
  child p   this is ok
  child hr
  child text() this is
  child b bad
  child text() naked...

etc. 

Viewed this way its far clearer to see which are siblings
of the current node.

Yet another design pattern??

Regards DaveP


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]