shappyking
New Member
Probably I'm going to ask the question in a weird way, but I'm not familiar with XML in depth.I wonder, whether there is a way to decrease size of XML document to make it something like:Original XML\[code\]<root><longelementname xmlns="long namespace path">Text content</longelementname><longelementname xmlns="long namespace path">Text content</longelementname><!--................. A lot of elements ...................--><longelementname xmlns="long namespace path">Text content</longelementname></root>\[/code\]Creating shortcut for namespace and referencing elements through it:\[code\]<root xmlns:x="long namespace path"><x:longelementname>Text content</x:longelementname><x:longelementname>Text content</x:longelementname><!--................. A lot of elements ...................--><x:longelementname>Text content</x:longelementname></root>\[/code\]Can I create shortcut "s" for "<x:longelementname>" to make it something like:\[code\]<root><s>TextContent</s><s>TextContent</s><!--................. A lot of elements ...................--><s>TextContent</s></root>\[/code\]