> I'm trying to make a custom DSSSL stylesheet to create a BBEdit > Glossary. In BBEdit, you can group similar functions inside a > directory, so I want to create: > > Apache-specific Functions/ > apache-foo > apache-bar > Other Functions/ > ... > > I can get jade to make the correct chunks and place them in the > correct place, but they fail if the directory doesn't already > exist. How do I get jade to automatically create the directory? Or, > how do I get jade to let me tell it to create a directory from within > the DSSSL stylesheet? (Or, how can I get jade to let me call a remote > program, like mkdir?) > > I've searched all over for this, but DSSSL isn't quite in vogue any > more, so documentation is hard to find. > > PS: I'd prefer not to need to create the directories manually, because > then they'll fail if we modify the docs to add or remove new sections.
I don't know DSSSL very much, I am only able to fix a few things if needed. I would recommend you to do your work in XSLT, as it is the future of phpdoc too (and the present and foreseeable future of general XML transformations anyway). The new CHMs are already created using XSLT, and probably all the style sheets are converted to XSLT, we only have problems with the TOCs to fix (which I had no time to look at). If you still stick to DSSSL, I would write a preprocessor PHP script if I would be you, which processes the XML source, and finds out what directories are needed. Then the DSSSL script will find the directories in place. Goba [one [EMAIL PROTECTED]] -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php