Perl: the Markov chain saw | |
PerlMonks |
Re: XML::Parser can't create empty tags?by gube (Parson) |
on May 06, 2005 at 06:09 UTC ( [id://454612]=note: print w/replies, xml ) | Need Help?? |
It is a valid closing tag. It omit's the self-closed tag and then it converted into proper required expected format. If you give the input: <tag attr="xyz"/> We getting output: <tag attr="xyz"></tag> So, what is the problem will occur it will parse and only putting the same valid tag. Anyway, it may not affect your xml code. It's correct for parsing. If you use the stream function in style it automatically provide the endtag based on the starttag.
In Section
Seekers of Perl Wisdom
|
|