This repository has been archived by the owner on Jan 17, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse CD and CO parameters from CA (#53)
* Parse CD and CO parameters from CA Some responses don't contain CD and CO parameters, but can be parsed from the CA parameter. Example: <D:AA zdroj="ARES"> <D:IDA>210870551</D:IDA> <D:KS>203</D:KS> <D:NS>Česká republika</D:NS> <D:N>Praha 6</D:N> <D:NCO>Břevnov</D:NCO> <D:NU>U třetí baterie</D:NU> <D:CA>1056/5</D:CA> <D:PSC>16200</D:PSC> <D:AU> </D:AU> </D:AA> * Use null coalescing for CO field * Add MapperTest * Set limit to explode('/', CA) --------- Co-authored-by: Jan Trejbal <jan@trejbal.land>
- Loading branch information