String function ( XmlSchemaAttribute arg0 , boolean arg1 ) { if ( arg1 ) { String loc0 = getPrefix ( arg0 . getQName ( ) . getNamespaceURI ( ) ) ; collect ( loc0 , arg0 . getQName ( ) . getNamespaceURI ( ) ) ; return loc0 + "srini_string" + arg0 . getName ( ) ; } return arg0 . getName ( ) ; }
obtain a suitable name for use in javascript for an attribute . this function is purely a tribute to the awful modularity of xmlschema . concode_field_sep SchemaCollection schemaCollection concode_elem_sep Set<String> prefixes concode_elem_sep Map<String,String> fallbackNamespacePrefixMap concode_elem_sep int nsCounter concode_elem_sep StringBuilder attributes concode_field_sep String getAttributes concode_elem_sep String getPrefix concode_elem_sep String xmlElementString concode_elem_sep String xmlElementString concode_elem_sep void collect