REXXTAGS.org :: | Tutorial - 1: What is REXXTAGS? |
Home Tutorial | Next >> |
To make it simple, REXXTAGS is a very easy way to write XML tags in the REXX language.
As a trivial example, let's suppose that you'd like to have an emphasis tag, <sample:em>, which emphasizes text by showing it in bold and italic. You'd like to be able to write XML code like
|
|
1:This is normal text, <sample:em>and this is emphasized 2:text</sample:em>. This is normal again. 3: |
and obtain the following output on your browser:
|
|
|
To achieve this effect, all you have to do is to write a REXX tag:
|
|
1:Parse arg verb 2: 3: If verb == 'START' Then Return '<b><i>' 4: If verb == 'END' Then Return '</i></b>' 5: 6:Return 0 7: |
Next section: What else can I do with REXXTAGS? | View the XML code for this page |
/tutorial/page01.html Last update: 05/12/02 at 18:38 |