Subject: RE: [xsl] <xsl-list@lists.mulberrytech.com> From: "Jon Wynacht" <jwynacht@xxxxxxxxx> Date: Tue, 1 May 2001 09:15:21 -0700 |
Dan, I'm not missing what you are asking I just didn't think you wanted something that detailed. Figured I'd give you simple, get the goods and then get complex on my own ;-) Your example worked just fine for me...what's the xsl that will do that? Thanks, Jon -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Dan Diebolt Sent: Tuesday, May 01, 2001 8:28 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> 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 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] <xsl-list@lists.mulberrytech., Dan Diebolt | Thread | Re: [xsl] ordering and iteration pr, Mark Nahabedian |
RE: [xsl] Recursion Examples, Jon Wynacht | Date | Re: [xsl] Printing an XSL->HTML doc, VZAKON |
Month |