[Xml-compile] How to read an abstract element with xsi:type attribute?

Mark Overmeer mark at overmeer.net
Sun Dec 20 18:31:31 GMT 2009


* Roman Daniel (roman.daniel at davosro.cz) [091219 16:20]:
> I understand, I don't expect to parse the XML with xsi:type by single reader
> without using hooks.

thanks

> I only wander if there is other possibility to parse a already extracted
> abstract element with xsi:type than:
> - create an artificial schema defining an element for concrete type
> - change the abstract element to concrete one described above

If you are lucky, you can do such ugly trick.  But in most cases, that
is quite hard to achieve. I have no idea for a different work-around.
-- 
               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list