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]

<xsl-list@lists.mulberrytech.com>


Jon, I think you are missing what I am asking you. There are various
ways to get the effect of indention in html. For example:

1) nested use of <dl> and <dt>
2) invisible images of desired width
3) series of non-breaking spaces &nbsp;
4) empty cells in table to force appearance of left padding
5) use of <pre>
6) probably others

The markup you sent just places space (shown with @s) in the html 
which would be *removed* on rendering:

@@@Module1<input type="checkbox" name="ParentModuleID" value="1"/><br/>
@@@@@@Module4<input type="checkbox" name="ParentModuleID" value="4"/><br/>

So what I am asking is how do you want to synthesize your html to
show indention? This is a bit of a loaded question as I think all
of the methods have their shortcomings. I am enclosing a fragment 
showing #1 above, but someone knowledgable might need to check this 
out because I have a suspicion this old technique may be illegal 
for HTML4 DTD (I don't have time to check it (but it still might
work thanks to the forgiving nature of browsers)).

Regards,

Dan
----------------------------
<html>
<body>
<dl>Root Module
 <dt>Module1<input type="checkbox" name="ParentModuleID" value="1"/>
  <dl>
  <dt>Module4<input type="checkbox" name="ParentModuleID" value="4"/></dt>
  <dt>Module5<input type="checkbox" name="ParentModuleID" value="5"/></dt>
  <dt>Module5<input type="checkbox" name="ParentModuleID" value="5"/></dt>
  </dl>
 </dt>
 <dt>Module2<input type="checkbox" name="ParentModuleID" value="1"/>
  <dl>
  <dt>Module7<input type="checkbox" name="ParentModuleID" value="4"/></dt>
  <dt>Module8<input type="checkbox" name="ParentModuleID" value="5"/></dt>
  <dt>Module9<input type="checkbox" name="ParentModuleID" value="6"/></dt>
  </dl>
 </dt>
</dl>
</body>
</html>

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

 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]