Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keeping the order of a mixed sequence #83

Closed
tstumm opened this issue Jan 25, 2019 · 1 comment
Closed

Keeping the order of a mixed sequence #83

tstumm opened this issue Jan 25, 2019 · 1 comment

Comments

@tstumm
Copy link

tstumm commented Jan 25, 2019

Hi,

I'm currently working on a project where a complex type may contain a sequence of mixed types, i.e.

<choice maxOccurs="unbounded">
    <element name="label" type="ns:labelType"/>
    <element name="text" type="ns:textType"/>
    <element name="select" type="ns:selectType"/>
    <element name="checkbox" type="ns:checkboxType"/>
 </choice>

The generated classes nicely group them into different attributes BUT I really need to keep track of the actual order of those in the XML I'm parsing. Is there any way to do this using xsd2php?

@tstumm
Copy link
Author

tstumm commented Jan 25, 2019

Moved here goetas-webservices/xsd-reader#41

@tstumm tstumm closed this as completed Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant