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

Missing .content property? #7

Open
ghent360 opened this issue Apr 10, 2017 · 0 comments
Open

Missing .content property? #7

ghent360 opened this issue Apr 10, 2017 · 0 comments

Comments

@ghent360
Copy link

ghent360 commented Apr 10, 2017

Hi,

I have the following type in my .xsd file:
<element name='text'> <complexType mixed='true'> <attribute name='x' type='string' use='required'/> <attribute name='y' type='string' use='required'/> </complexType> </element>

Sample xml would be: <text x="3.556" y="-4.318">&gt;NAME</text>

However the generated _TextType interface has no .content property, so I have no way of accessing the value inside the text tag. Here is the generated _TextType interface:

interface _TextType extends BaseType { x: string; y: string; }

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