XSLT

XSLT transformation that returns value and inner xml

Question: When transforming XML with XSLT how can I get inner value of tag including inner tags?

Suppose you have this XML:

<Root>SomeValue
  <Name>SomeName</Name>
  <Desc>SomeDesc</Desc>
</Root>

And you want to get the following result:

SomeValue
  <Name>SomeName</Name>
  <Desc>SomeDesc</Desc>

The XSLT transformation could be like this:

Rating: 

.NET: XSLT transformation with formatted XML output (with indents and new lines)

Suppose you need to transform one XML string into another XML string. And output XML must be formatted: with new lines and indents. So you can do it like this:

Rating: 
Subscribe to RSS - XSLT