Hi all..I am new to the forum hoping for some help.
I have an xml to be parsed using a schema defined in xsl. I am using Streaming API for XML (StAX). Using a transfomer I am feeding the xsl I defined and xml to be parsed. But some home when XML contains the reference elements the engine is not parsing the xml properly and hence not giving desired output.
If i give the above xml is and I want to get data from c node it is not parsing and not giving me the data I requested.
Instead If I give xml like this
Well, I notice that the XML you posted isn't well-formed. Perhaps that's your problem. But we can only guess because we don't have a good description of your problem. In fact I would go so far as to say we don't have any description of your problem -- I don't see how what you wrote in your original post relates to what you just posted.
So how about a description of your problem? You know... error messages, what happened and what was supposed to happen, that sort of thing?