written parsers for a variety of languages using C and Java. Further, there
are a good number of open source parser generators available for C/C++ and
Java. However, you aren't going to be able to easily make use of them
without things being inefficient. Normally, you would use the visitor
pattern and register call back methods as different elements are parsed. You
couldn't do this with a Java-based parser and CFML since the call backs
would need to hit CFCs. Blackstone would allow you to do this since you will
be able to call CFCs from Java.
If you want to go the inefficient route, you could have a Java-based parser
create a parse tree and then you could traverse the parse tree from CFML. If
you are interested in going that route I can point you in the right
direction.
-Matt
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Micha Schopman
> Sent: Tuesday, August 24, 2004 4:55 PM
> To: CF-Talk
> Subject: Re: CF-Smarty
>
> Yes, XSLT is unfortunately very limited. It is a fine transformation
> language for simple or intermediate level templates, but I have
> experienced several situations where XSLT lacks functionality. It is just
> not powerfull enough.
>
> What I am interested in are more or less proof of concepts, little code
> pieces which help me to:
>
> 1: split a page into an array of tags (including the content)
> This is difficult, because a page is not always xml formatted (like xhtml
> strict)
>
> 2: run thread safe code, which is able to be nested within other code
> blocks (this already works)
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

