[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

<xsl-list@lists.mulberrytech.com>

Subject: <xsl-list@l...>
From: Dan Diebolt <dandiebolt@xxxxxxxxx>
Date: Tue, 1 May 2001 08:28:29 -0700 (PDT)
 <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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.