XSLT: Generate ID
Posted: Fri Sep 14, 2018 2:39 pm
Hello,
I am new to XSLT transformation and looking for someone some get me on the way.
I have this (example) XML:
<Loonaangifte xmlns="http://xml.belastingdienst.nl/schemas/L ... te/2018/01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.belastingdienst.nl/schemas/L ... te/2018/01 loonaangifte.xsd" version="2.0">
<AdministratieveEenheid>
<TijdvakAangifte>
<Date>01-01-2018</Date>
</TijdvakAangifte>
<TijdvakAangifte>
<Date>02-01-2018</Date>
</TijdvakAangifte>
<TijdvakAangifte>
<Date>03-01-2018</Date>
</TijdvakAangifte>
</AdministratieveEenheid>
</Loonaangifte>
I want to insert an ID <TijdvakAangifteId> before the <Date> field.
Could anyone please provide me with a proper .xls file to achieve this.
Many thanks!
HuubT
I am new to XSLT transformation and looking for someone some get me on the way.
I have this (example) XML:
<Loonaangifte xmlns="http://xml.belastingdienst.nl/schemas/L ... te/2018/01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.belastingdienst.nl/schemas/L ... te/2018/01 loonaangifte.xsd" version="2.0">
<AdministratieveEenheid>
<TijdvakAangifte>
<Date>01-01-2018</Date>
</TijdvakAangifte>
<TijdvakAangifte>
<Date>02-01-2018</Date>
</TijdvakAangifte>
<TijdvakAangifte>
<Date>03-01-2018</Date>
</TijdvakAangifte>
</AdministratieveEenheid>
</Loonaangifte>
I want to insert an ID <TijdvakAangifteId> before the <Date> field.
Could anyone please provide me with a proper .xls file to achieve this.
Many thanks!
HuubT