저는 개발자가 아닙니다.자동 생성 된 GUID 집합을 동적으로 생성 된 도구로 대체하는 도구가 있습니까?
각 GUID가 할당 된 수백 개의 리소스를 복제하려면 XML 파일을 해킹해야합니다. 태그에서 찾은 각 GUID를 동적으로 생성 된 것으로 대체하여 전체 파일을 구문 분석 할 수있는 방법이 있습니까?
기본적으로 모든 UniqueID 태그 (ContentUniqueID 태그 제외)에는 새 GUID가 필요합니다.
<root xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<Name>[redacted]</Name>
<UniqueId>7a136c33-3ea8-4f99-8f99-bbe411972203</UniqueId>
<Enabled>true</Enabled>
<Behavior>EmptyOnly</Behavior>
<Subscriptions />
<ScheduledFormatTemplates>
<ScheduledFormatTemplate>
<Name>[redacted]</Name>
<UniqueId>1cfaba3e-bfd5-4d2f-a1df-14020ad2f7da</UniqueId>
<ContentUniqueId>67c58741-fe1b-4c15-8dc0-8b4c01f6f18f</ContentUniqueId>
<ScheduledContents>
<ScheduledContent xsi:type="SFTR">
<Name>[redacted]</Name>
<UniqueId>b4a60646-b62b-43e7-b2a2-7d37875ab33f</UniqueId>
<ContentUniqueId>ba634a97-9faf-4bfa-a9b4-d8a2475b82e6</ContentUniqueId>
<ScheduledContents>
<ScheduledContent>
<Name>[redacted]</Name>
<UniqueId>6f8e6e6c-1f94-4caa-8730-6859448138eb</UniqueId>
<ContentUniqueId>938b0a24-4043-4a16-bc2d-25dbdb21a659</ContentUniqueId>
</ScheduledContent>
</ScheduledContents>
</ScheduledContent>
</ScheduledContents>
</ScheduledFormatTemplate>
</ScheduledFormatTemplates>
</root>
잘 예, 어떤 도구/언어는 사용하여에이 찾고 있습니까? – brendan