XSL to transform XML |
|
| Comments (2) |
|
Bob in Copenhagen, Denmark 63 months ago |
Hi
I have this XML:
and I would like to transform it to the following.
<History>
I have tried a couple of things without any luck. I always end up coming back to the basic xsl. <?xml version="1.0" encoding="UTF-8" ?>
<xsl:template match="@*|node()">
</xsl:stylesheet> /Bob |
|
Betty Harvey in Glen Burnie, Maryland 63 months ago |
This should work for you: <?xml version="1.0" encoding="UTF-8"?>
<xsl:template match="node() | @*">
<xsl:template match="History">
<xsl:template match="HistoryDetail"/> </xsl:stylesheet> |
» Sign in or create an account to comment on this topic.
