PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: <?=RexxExpression>[Next]: <?_>
\ -> Standard Definitions -> <?/>

<?/>

This variable contains the value established by the /XSLASH switch. This allows you to vary the format of generated output, creating the XML/XHTML syntax if you prefer.


This is a Standard Definition which always exists (you don't need to #define it). Note that you can create your own variations or completely new ones (see the examples).

Example

The following is one way that this symbol can be used. In the example, the "HR" macro will generate either "<hr>" or "<hr />".

NOTE: XHTML code has other syntactic requirements, but since these are compatable with HTML there is nothing stopping you from doing most of this now.

;--- Define some HTML tags which vary from "HTML" to "XHTML" ---
#define HR  <hr<?/>>

;--- More complex macro ---
#define /P                                                    \
        ;--- I don't wish to generate TAG unless XHTML ---   -\
        #if ['<?/>' <> '']                                   -\
            </p>                                             -\
        #endif

;--- User the "HR" & "/P" tags ---
<$hr>
<p>Hi ya<$/p>


email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: <?=RexxExpression>[Next]: <?_>


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Saturday May 28 2022 at 2:55pm