XSLT를 처음 사용했습니다. XSLT를 사용하여 기존 자식 노드의 부모 노드를 추가하고 싶습니다.XSLT를 사용하여 부모 노드를 추가하는 방법
변환하기 전에
<Library>
.
.//There is more nodes here
.
<CD>
<Title> adgasdg ag</Title>
.
.//There is more nodes here
.
</CD>
.
.//There is more nodes here
.
<CLASS1>
<CD>
<Title> adgasdg ag</Title>
.
.//There is more nodes here
.
</CD>
</CLASS1>
</Library>
변환 후
<Library>
<Catalog>
<CD>
<Title> adgasdg ag</Title>
</CD>
</Catalog>
<Class1>
<Catalog>
<CD>
<Title> adgasdg ag</Title>
</CD>
</Catalog>
</Class1>
</Library>