I want to transform a markup like <root><a><c>CA</c></a></root> to <root juris="CA"><a><c>CA</c></a></root>
I want to transform a markup like <root><a><c>CA</c></a></root> to <root juris=CA><a><c>CA</c></a></root>
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you could specify more about the schema that is allowed, something more specific can be written. With what was given, something like this should work though:
As it stands, I would not be surprised if this led to issues with more complex inputs.