[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Namespace Problem

Subject: Re: Namespace Problem
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Wed, 28 Sep 2005 09:28:22 +0200
xslt ignore namespace
Hi,

Difficult to tell because you do not supply the template name="header" and do not show the header of the xsl file that contains that template. But I suspect that the xsl that contains that "header" template defines the namespace for the fiHeader element differently than the xsl that you show below or not at all...

HTH,
Geert

jaya vardhani wrote:

Hi,
Could anyone help me out by giving a solution for the
following problem?
I am using XSLT to transform to a xml document. The
following is my xsl code snippet:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform" xmlns=" http://integration.api.com" xmlns:xenc="
http://www.w3.org/2001/04/xmlenc#" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
exclude-result-prefixes="fiHeader">
<xsl:import href="../Header.xsl"/>
<xsl:template match="selectrequest">
<xsl:element name="fiAPI">
<xsl:attribute
name="xsi:schemaLocation"> http://integration.api.com
DocumentInquiry.xsd</xsl:attribute>
<!-- fiHeader -->
<xsl:call-template name="header"/>
<!-- Request --> <xsl:element name="Request">
<xsl:call-template
name="DateClassType"/>
<xsl:call-template name="select"/>
<xsl:call-template
name="buildReqMetaData"/> </xsl:element>
</xsl:element>
</xsl:template> </xsl:template>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.