[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: <xsl-script>

Subject: Re: <xsl-script>
From: David LeBlanc <whisper@xxxxxxxxxxxxx>
Date: Tue, 11 May 1999 19:39:41 -0700
xsl underline
Hardly fair since MiniMark is a specialist transformation language!
Expensive one too!

Dave LeBlanc

At 04:56 PM 5/11/99 -0700, you wrote:
>>
>> <xsl:template match="P">
>>   <paragraph><xsl:apply-templates></paragraph>
>> </xsl:template>
>>
>> <xsl:template match="INS">
>>   <underline><xsl:apply-templates></underline>
>> </xsl:template>
>>
>> <xsl:template match="INS[@author='john']">
>>   <underline><bold><xsl:apply-templates></bold></underline>
>> </xsl:template>
>>
>> <xsl:template match="DEL">
>>   <strike><xsl:apply-templates></strike>
>> </xsl:template>
>>
>> Here's where you can prove me wrong. Show me how this would look in your
>> favorite programming language with an appropriate function library.
>
>A sample in my favorite language, without a function library :-)
>
>    down-translate    ;    start OmniMark program
>
>    element P
>        output "<paragraph>%c</paragraph>%n"
>
>    element INS when not attribute author matches (value-start  'john'
value-end)
>
>        output "<underline>%c</underline>%n"
>
>    element INS when attribute author matches (value-start  'john' value-end)
>        output "<underline>%c</underline>%n"
>
>    element DEL
>        output "<strike>%c</strike>%n"
>
>Rick Geimer
>National Semiconductor
>rick.geimer@xxxxxxx
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.