I have xslt2.0 transformation issue with namespace, please help to solve this issue
Few XML have namespace attribute, Few XML don't have Namespace attribute.
File 1:
<root id="BC" xmlns="http://www.example.com/ptktims"><child xmlns="http://www.example.com/times"></child></root>
File 2:
<root id="BC"><child></child></root>
The First file working fine, when i call namespace <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xpath-default-namespace="http://www.example.com/">, but second file doe not working.
The Second file working fine, when i not call namespace <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">, but first file does not working.
Please advice, how to transform both XML form Single XSLT?