View Single Post
  #3 (permalink)  
Old December 4th, 2019, 09:29 AM
Neal Neal is offline
Friend of Wrox
Points: 718, Level: 10
Points: 718, Level: 10 Points: 718, Level: 10 Points: 718, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jan 2006
Location: Ennis, Clare, Ireland.
Posts: 131
Thanks: 10
Thanked 0 Times in 0 Posts

Thanks Michael,
I'm using XMLSpy 2017 Professional. I hope I understand your reply. Here is the xslt code including referenced namespaces.

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="" xsi:schemaLocation="" xmlns:env="" xmlns:mp="" xmlns:ns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.02" xmlns:xsi="" xmlns:date=""
exclude-result-prefixes="xsl env mp ns xsi date">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>

<xsl:template match="/">
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.02" xmlns:xsi="">
The desired output expected is:

<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.02" xmlns:xsi="">

A Northern Soul
Reply With Quote