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

Re: TransforMiiX used by anyone?

Subject: Re: TransforMiiX used by anyone?
From: Keith Visco <kvisco@xxxxxxxxxxxx>
Date: Fri, 24 Mar 2000 18:50:48 -0800
xsl param mozilla
Etienne,

I'll look into the seg fault...thanks. Since this is implementation
specific your best bet is to move this discussion to the Mozilla
newsgroup for TransforMiiX
[news://news.mozilla.org/netscape.public.mozilla.layout.xslt].

There are people on that list that are using it outside of Mozilla. 

In any case it could be a number of reasons...there were some platform
specific bugs with string handling that were causing seg faults...these
were recently fixed but there still could be some more. I'll get this
working over the weekend...

So feel free to cause noise on the Mozilla newsgroup 

Thanks,
--Keith


Etienne Posthumus wrote:
> 
> I was quite excited to get TransforMiiX (the XSL processor used in
> Mozilla) compiled this afternoon, I am considering kicking it's tyres and using it in a project that I am working
> on.
> Is anyone else using it outside of Mozilla with any joy?
> 
> Initial looks were great until it segfaulted on the small file I was
> testing it with.
> Specifically the string replace bit from David Carlisle:
> 
> <xsl:stylesheet version="1.0"
>   xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> 
> <xsl:template match="test/blah">
>   <xsl:call-template name="string-replace">
>     <xsl:with-param name="string" select="."/>
>     <xsl:with-param name="from" select="'n'"/>
>     <xsl:with-param name="to" select="_"/>
>   </xsl:call-template>
> </xsl:template>
> 
> <!-- replace all occurences of the character(s) `from'
>      by the string `to' in the string `string'.-->
> <xsl:template name="string-replace" >
>   <xsl:param name="string"/>
>   <xsl:param name="from"/>
>   <xsl:param name="to"/>
>   <xsl:choose>
>     <xsl:when test="contains($string,$from)">
>       <xsl:value-of select="substring-before($string,$from)"/>
>       <xsl:value-of select="$to"/>
>       <xsl:call-template name="string-replace">
>       <xsl:with-param name="string"
> select="substring-after($string,$from)"/>
>       <xsl:with-param name="from" select="$from"/>
>       <xsl:with-param name="to" select="$to"/>
>       </xsl:call-template>
>     </xsl:when>
>     <xsl:otherwise>
>       <xsl:value-of select="$string"/>
>     </xsl:otherwise>
>   </xsl:choose>
> </xsl:template>
> </xsl:stylesheet>
> 
> Regards
> 
> Etienne Posthumus
> - http://www.cs.uu.nl/staff/etienne.html -
> ------------------------------------------------
> Institute for Information and Computing Sciences
> ------------------------------------------------
> 
>  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.