Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename XLinks Upon Object or Document Rename #1

Open
gbroques opened this issue Jul 29, 2021 · 0 comments
Open

Rename XLinks Upon Object or Document Rename #1

gbroques opened this issue Jul 29, 2021 · 0 comments

Comments

@gbroques
Copy link
Owner

There are references to document and object names in XLinks that should be renamed when renaming a reference.

Need to be careful to not to rename an XLink if another reference to that file or object still exists.

In this case we would add an XLink and increment the count and docs attribute.

<XLinks count="1" docs="1">
    <DocMap name="Master" label="Master" index="0"/>
    <XLink file="Master.FCStd" stamp="2021-07-25T18:40:15Z" name="Spreadsheet"/>
</XLinks>
<XLinks count="2" docs="2">
    <DocMap name="Master" label="Master" index="1"/>
    <DocMap name="Cube" label="Cube" index="0"/>
    <XLink file="Cube.FCStd" stamp="2021-07-25T20:03:03Z" name="Box"/>
    <XLink file="Master.FCStd" stamp="2021-07-25T18:40:15Z" name="Spreadsheet"/>
</XLinks>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant