You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@PatrickB100 this occurs because of the nested mapping feature. By default dot is the delimiter used to separate the XML element names.
If you have elements with a dot in the name you can override this delimiter (with something that does not appear in the element name) using subscript(key:delimiter:) function of XMLMap like so:
func mapping(map:XMLMap){// use "@" for delimiter
lineName <-map["LINE.NAME", delimiter:"@"]}
Hi Gcharita,
This code is not working, there is a dot in the middle of LINE.NAME
This code is fully working. There is no dot in the middle of LINENAME
thanks in advance,
Patrick
The text was updated successfully, but these errors were encountered: