xerces-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denit thomas <denit_tho...@yahoo.co.in>
Subject Re: IE does not comprehend default namespace in XML
Date Wed, 26 Aug 2009 08:10:23 GMT
Oops! Thanks Mukul...


--- On Wed, 26/8/09, Mukul Gandhi <gandhi.mukul@gmail.com> wrote:

From: Mukul Gandhi <gandhi.mukul@gmail.com>
Subject: Re: IE does not comprehend default namespace in XML
To: j-users@xerces.apache.org
Date: Wednesday, 26 August, 2009, 1:06 PM

Hi Denit,
  This question seems, off-topic for this list, as it doesn't involve Xerces-J.

I think, following forum would be more appropriate to ask this question:


On Wed, Aug 26, 2009 at 12:46 PM, denit thomas<denit_thomas@yahoo.co.in> wrote:
> Hi All,
> I am using an XSLT to parse an XML to produce a text file. The issue is that
> if I use the Internet Explorer to open this xml, it does not render anything
> except the hardcoded text that I have in the XSLT, when I have the
> xmlns="www.ncr.com/ocz" attribute in the root node of the xml. As soon as I
> remove this attibute, it works fine and the xslt gets applied. I need to
> keep this attribute in the xml as I have an XSD for this xml and thus need
> this default namespace in xml.
> So for developing/writing the xml, I need to keep the xmlns attribute in the
> xml, while trying to render it using an xslt (defined in xml as
> <?xml-stylesheet type="text/xsl" href="PIDRepresentation.xslt"?>), I have to
> remove it from the xml.
> Can anyone suggest what I am missing here and how to make IE render the xml
> even with the presence of xmlns attribute?
> Here is the piece from the XML.
> <?xml version="1.0" encoding="utf-8"?>
> <?xml-stylesheet type="text/xsl" href="PIDRepresentation.xslt"?>
> <model xmlns="www.ncr.com/ocz"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     xsi:schemaLocation="www.ncr.com/ocz PIDSchema.xsd"
>     name="SAHI-EasyPoint 3XXX Series (5020 UEPP Upgrade)"
>     createMode="both" notes="">
> ///// all other child tags
> </model>
> I am using IE 6.0
> Thanks & Regards,
> Denit

Mukul Gandhi

To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org

      Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com
View raw message