Embarrassingly basic computer stuff that you cannot do

Message Bookmarked
Bookmark Removed
Not all messages are displayed: show all messages (90 of them)

unless your xml actually has a dtd and absolutely needs to be valid, just use a text editor maaaaaaan. one with decent syntax highlighting (editplus!!!) should inform you of most well-formedness errors.

xslt, i normally go to the horses mouth http://www.w3.org/TR/xslt or the xslt faq http://www.dpawson.co.uk/xsl/sect2/sect21.html - might not be so helpful if you're starting from scratch though, i dunno i'm sure o'reilly will have something to help you out.

ledge, Thursday, 9 June 2011 13:10 (thirteen years ago) link

Ah, I didn't know (though maybe I should've) that it was covered on w3.org. That looks helpful, thanks. And if it isn't, at least I'll have more idea of what I need from a book...

(adds EditPlus to the list of text editors to try now that I can't persuade someone else to pay for UltraEdit for me and TextPad keeps crashing)

sambal dalek (a passing spacecadet), Thursday, 9 June 2011 13:22 (thirteen years ago) link

(<oblig vim mention>)

koogs, Thursday, 9 June 2011 14:59 (thirteen years ago) link

if you can't use vim then that should go on this list too

caek, Thursday, 9 June 2011 15:01 (thirteen years ago) link

"i can't use vim"

*awkward*

caek, Thursday, 9 June 2011 15:01 (thirteen years ago) link

(vim is terrible at xml, especially large files with no newlines as the syntax highlighting makes the machine grind to a halt. there is a plugin that adds functionality like auto tag completion but it breaks other vim functionality (iirc the . repeats half of the last tag completion command or the paste buffer gets dirtied, something like that))

koogs, Thursday, 9 June 2011 15:16 (thirteen years ago) link

but yes, xslt is almost fun. and often frustrating, especially if you are anal about whitespace in the output file

koogs, Thursday, 9 June 2011 15:17 (thirteen years ago) link

vim: install snipmate and supertab = sorted.

caek, Thursday, 9 June 2011 16:00 (thirteen years ago) link


You must be logged in to post. Please either login here, or if you are not registered, you may register here.