Hi. Thanks for the example! For future reference, though, a couple requests:
Please wrap any code you add in one of the following two tags (or an equivalent template):
<syntaxhighlight lang="foo">...</syntaxhighlight> (without the nowiki tags I used in this comment), for code written in a language named "foo" ("xml" here); or
<pre>...</pre>, if you either don't know what lang attribute to use, or there is no support for the real language, or it's pseudocode, or...
This is more minor, but also: please add new comments on talk pages directly below any comments you may be responding to (or in a new section at the bottom if not responding to anyone), not above them as you did here.
As I'm sure you saw if you previewed before saving (also not a bad idea, btw), the way you put the code without any special markup looked awful. (But again, thank you anyway! Awful-looking is often much easier to fix than non-existent! And I know not everyone's an expert on wiki markup; honestly, it took some digging for me to find the docs on syntax highlighting and the formatting for this comment too. So in case it needs to be said, don't feel bad about any of this, I'm just trying to help too. :) BlueGuy213 (talk) 21:12, 26 November 2016 (UTC)
Oh, and one other thing: as you can see, I added an "Example" section header above the code too, which would be a good idea too (unless it's already in an Examples section). BlueGuy213 (talk) 21:24, 26 November 2016 (UTC)
A sample snippet of code would be incredibly illuminating. -- Beland (talk) 18:29, 2 December 2010 (UTC)