Subject: RE: (dsssl) Including chunks of HTML code (newbie) From: Ian Castle <ian.castle@xxxxxxxxxxxxxxxxxxx> Date: 10 Jul 2002 22:43:52 +0100 |
You want a "processing-instruction" for example: <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN"> <style-sheet> <style-specification> <style-specification-body> (declare-flow-object-class processing-instruction "UNREGISTERED::James Clark//Flow Object Class::processing-instruction") (element book (make processing-instruction data: "php myphpstatement") ) </style-specification-body> </style-specification> </style-sheet> Would generate <?php myphpstatement?> On Wed, 2002-07-10 at 22:07, Antun Karlovac wrote: > Hey Ian > > > -----Original Message----- > > From: owner-dssslist@xxxxxxxxxxxxxxxxxxxxxx > > > > But for now, just stick your own definitions in, if you like, > > "custom.dsl" and do "openjade -d custom.dsl ...." > > It turns out I had the driver file all along, and had tried it, but with no > luck. I actually run: > > "make html" > > which seems to run: > > "openjade -i wdoclinks -V woutdoclinks=ignore -d 'laszlo.dsl#html' -t > xml index.sgml" > > laszlo.dsl being the driver file. Is this the same thing? > > > > > > I'm not quite sure what you mean here. dbhtml.dsl makes extensive use of > > jade's very own transformation facilities - "make element" is used to > > create an SGML/XML element with all the necessary angle brackets... so > > What I'm trying to output is not HTML tags, but PHP code, surrounded by > "<?php" and "?>". Only don't think of it as tags. Just thing of it as a bit > of text that has to go at the top/bottom of each page, IN PLACE OF the usual > "<html><head><title......<body>" and "</body></html>". > > Does that make sense? > > Take care, > > Antun > > > DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: (dsssl) Including chunks of HTM, Antun Karlovac | Thread | (dsssl) Center elements inside my t, Jose Waldemar |
Re: (dsssl) Including chunks of HTM, Brandon Ibach | Date | (dsssl) Center elements inside my t, Jose Waldemar |
Month |