Re: The suitability of XSL

"Jenda Krynicky" <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
From: Michael Ludwig <[email protected]>
> Jenda Krynicky schrieb am 07.12.2009 um 21:53:10 (+0100):
> 
> > This is actually my biggest problem with XSLT. Its design is a direct
> > result of "the only thing I have is a hammer, so everything'd beter
> > look like nails". That is, the only thing I have is a XML parser so
> > everything should be XML.
> 
> By "design", I think, you're referring to the fact (trivial, at the end
> of the day) that XSLT is written in XML syntax. I agree that it's a bit
> more verbose than regular expressions, and not quite as friendly on the
> eyes :-) But well, it also has advantages. Think stuff like:
> 
>   <xsl:copy><Bla><xsl:apply-templates/></Bla></xsl:copy>
> 
> Programming language and literal result elements are nicely integrated.
> You have to admit that it's not that bad at all.

So nicely that you can't tell them apart. Similar things should look 
similar, different things should look different.

> Actually, I think you should make a time investment to find out about
> XML editors, or what VIM and Emacs can do for you. I'm a VIM user and
> with just a tiny bit of customization, editing XSLT works very well.

vi(m) can do only one thing to me. Make me angry. And I do not have 
two years to invest in learning and setting up yet another operating 
system that was originaly supposed to be an editor.

I don't think I'm gonna invest time in either. I can do what I need 
with XML::Rules.

Jenda
===== [email protected] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
	-- Terry Pratchett in Sourcery

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.