An element name consists of two parts: the namespace name and the local
name. Asking to ignore the namespace is the same as asking to ignore the
local name. You can ignore both by using *. You can ignore the local name by
using prefix:*. In 2.0 you can ignore the namespace using *:local. This
isn't available in 1.0, on the theory that a local-name is meaningless
unless you know what namespace it is in.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: jaya vardhani [mailto:jayavardhani(_at_)yahoo(_dot_)co(_dot_)in]
Sent: 28 September 2005 07:32
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Ignore Namespace while transformation
Hi
My XML goes like this:
<?xml version="1.0"?>
<SubmitRequestResponse xmlns="urn:Cserv.CWS">
<SubmitRequestResult>
<CAPI xmlns="http://integration.api.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
xsi:schemaLocation="http://integration.api.com
DocumentInquiry.xsd">
<CHeader Version="2.0">
..............
</CHeader>
</CAPI>
</SubmitRequestResult>
</SubmitRequestResponse>
In my xsl i am not able to match with any element
pattern from the XMl. When i remove the xmlns from
<SubmitRequestResponse> and <CAPI> elements its
working fine. Is there any way that i can transform
the XML without taking these namespaces into
consideration? Please give a solution.
Thanks&Regards,
Jaya M.
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to
http://yahoo.shaadi.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--