Click here to Skip to main content
15,073,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good Day Everyone

I would like to transform an xml file by adding an identifier attribute.

(BusinessObject Name="Incident") (FieldList) (Field Name="IncidentNumber")1234(/Field)
(/FieldList) (/BusinessObject)

Desired output:

(BusinessObject Name="Incident") (FieldList) (Field Name="IncidentNumber" identifier = "true")1608281(/Field)
(/FieldList) (/BusinessObject)

How Can I structure my xslt file?

Thank you for your help.
Updated 21-Feb-14 10:37am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900