How to detect empty element? #22

Open
kruncher opened this Issue Nov 16, 2011 · 0 comments

Projects

None yet

1 participant

@kruncher
Contributor

How can I determine whether I have encountered an empty element?

I am using the onStartElementNS callback but there isn't an attribute like "isEmptyElement".

I need to be able to determine whether an element is written like <b></b> or <br />. How is this achieved with this parser?

Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment