AnsweredAssumed Answered

simpleContent and attributes in XSD

Question asked by fikus on Jan 7, 2010
Latest reply on Mar 25, 2010 by sethatrothbury
I have an XSD describing documents like

    <T lang="en_US">
        Some text

Notice that the element T has an attribute and text content.  The XSD for this looks like

<xs:schema xmlns:xs="">

    <xs:element name="R">
                <xs:element name="T">
                            <xs:extension base="xs:string">
                                <xs:attribute name="lang" type="xs:normalizedString"/>


My problem is that the generated web form does not have an entry for the lang attribute.  Is there any way to accomplish this without changing the structure of the XML?

I'm using Alfresco 3.1.1.