Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: What's Your Mental Image of XSLT?

by Cody Pendant (Prior)
on Oct 11, 2003 at 05:15 UTC ( [id://298484]=note: print w/replies, xml ) Need Help??


in reply to Re: What's Your Mental Image of XSLT?
in thread What's Your Mental Image of XSLT?

Some interesting responses there, for which I thank you.

I'm not sure I quite understand yours, pg. It's the kind of abstract stuff that makes my head hurt.

Does anyone have a mental mapping that they use with Perl/SQL code, (he said, widening the discussion a little)?

Do you for instance think of

<xsl:apply-templates select="item">
as
SELECT * FROM xml_document WHERE element_name = 'item'
and
<xsl:template match="item"> <p> <xsl:value-of select="." /> </p> </xsl:template>
as
while(fetchrow-hashref){ print '<p>' . $value . '<p>'; }
that kind of thing?


($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print

Replies are listed 'Best First'.
Re: Re: Re: What's Your Mental Image of XSLT?
by pg (Canon) on Oct 11, 2003 at 05:34 UTC

    Interesting... you know what, I actually had the same thought to compare XML with database and XSLT with SQL...

    Actually there was (is) a XML query language defined, although I don't think it gained any serious attention.

    More than SQL, which is just a set of command to manipulate the data in storage, XSLT is actully more similar to PL/SQL in terms of role.

    To be quite frank, comparing with database, i am not in favor of XML at all, and have the feeling that XML will go away after a while (of course everything goes away eventually, but XML is not a very big success, in terms of technology).

    Although XML is something new, but I can see lots of stuffs in it simply goes backwards.

    Performance and bandwidth are two biggest problems with XML, and I strongly believe they are XML built-in. (Well one can always call something XML, even after it being foundamentaly modified *enhanced*, but to me that does not count)

    What's your thought?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://298484]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-23 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found