Functional programming and recursion in XSLT

Post Reply
thibodeaux
Posts: 8121
Joined: Thu May 20, 2004 7:32 pm

Post by thibodeaux »

Man...this is some mind-bending shizzle.
TPRJones
Posts: 13418
Joined: Fri May 21, 2004 2:05 pm
Location: Houston
Contact:

Post by TPRJones »

I love recursion.

What's XSLT?
"ATTENTION: Customers browsing porn must hold magazines with both hands at all times!"
TheCatt
Site Admin
Posts: 58420
Joined: Thu May 20, 2004 11:15 pm
Location: Cary, NC

Post by TheCatt »

Presentation layer for XML rendering. Did some XSLT back in.... 2000/2001...

My mind forgot it.... much like the human brain is trained to forget painful experiences.
It's not me, it's someone else.
thibodeaux
Posts: 8121
Joined: Thu May 20, 2004 7:32 pm

Post by thibodeaux »

XSLT is really a programming language, but it was originally designed for manipulating XML. I am using it in a couple of ways:
1) As a code-generator. I define simple languages, create lexer/parser code for them using compiler-compiler tools (c.f. lex and yacc for the unix world). The output of the parser is an abstract syntax tree represented in XML. I then use XSLT to turn it into whatever target language I want
2) Turns out the target language I want is XSLT. But XSLT riddled with extension object method calls. The reason I'm doing this is I want to create user-customized rules for transforming XML data.

So anyway, that's about it.
TheCatt
Site Admin
Posts: 58420
Joined: Thu May 20, 2004 11:15 pm
Location: Cary, NC

Post by TheCatt »

So... this is a personal, funsies project?
It's not me, it's someone else.
thibodeaux
Posts: 8121
Joined: Thu May 20, 2004 7:32 pm

Post by thibodeaux »

No, this is for work.
Post Reply