I'm looking at using pyxb for providing an extension mechanism and could 
do with some guidance.

Say I have a.xsd which provides a namespace containing the head of a 
substitution group, and b.xsd which provides a separate namespace
and contains elements which can be substituted.

I can generate module a and module b, and I can successfully parse an 
xml file using b.CreateFromDOM but not a.CreateFromDOM.

My problem is that b.xsd (and later c.xsd) will be introduced long after 
a.xsd. So once I've added c.xsd (module c), how do
I process a file which contains substitutions from both b and c?

I don't think this is specific to substitution groups at all. More 
generally, if I have an XML file containing multiple namespaces; how do 
I parse
it?

Jon

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
pyxb-users mailing list
pyxb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyxb-users

Reply via email to