[xsd-users] Change Id and all IdRef's

Ellinger (EXT), Klaus ellinger.klaus.ext at siemens.com
Mon Sep 23 09:54:57 EDT 2013


Hello Boris,

I have a requirement and I am not sure how to solve it, hopefully you can give me an hint if and how it's possible. I have an xsd schema defined with ID and IDREF types. In some cases I have to replace some Id's after processing so  I need to update all IDREF's too to get a valid XML file out. I studied the code of ID and IDREF as far I could and mentioned that both classes are subtypes of "xsd::string" and the id value will not be updated on change. Do you see a solution to update all IDREFS if an ID changes?

Best regards

Klaus

-----------------
Siemens Industry Software GmbH; Sitz der Gesellschaft: Wolfgang-Pauli-Strasse 2, A-4020 Linz, ?sterreich
Firmenbuchnummer: FN 214676 a; Firmenbuchgericht: Handelsgericht Linz


More information about the xsd-users mailing list