[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Possibly Newbie questions...
Adam Haberlach wrote: > > I'm looking for an example of how to create the .xml/.xsl > for an outline-style document. Right now I'm using a lot of <t1> > tags which get converted to <H1> tags by the .xsl, but I would > rather have something that handles the nesting on the fly so > I can demote/promote items more easily. This is actually a little bit tricky in pure XSL. Back along a bit, I put together an outliner package to experiment with XSL processing of recursive lists of elements of various kinds. I got it working, by hook or by crook... In case it's of interest, I attach a zipped file which includes the DTD, a demo which is also documentation, the XSL script and a CSS file which all put together make a pretty functional XML/XSL outliner (I call it XO in case it matters). I hope I'll have time to go back to it one day and add a GUI, but it's not high on my list. Perhaps next summer. > I'm also interested in generating the numbers for headings > on the fly. You can do this with xsl:number. You can generate numbers for list items with xsl:number as well, but in the attached outliner I do it with CSS for no better reason than that I was experimenting with CSS back then. > And I'm also looking for a way to break a document into > small pieces (so different team members can work with them) and > have them integrated into one document on the fly. You can easily integrate documents either by using the XML SYSTEM entity method or by using XSL's document() function. Steve "I miss PC-Outline" Tinney Attachment:
xo.zip
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|