cxml icon indicating copy to clipboard operation
cxml copied to clipboard

Missing .content property?

Open ghent360 opened this issue 8 years ago • 0 comments

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; }

ghent360 avatar Apr 10 '17 08:04 ghent360