xsl-list
[Top] [All Lists]

RE: XMLNS and XSL

2003-02-13 15:39:13
Try adding the "xmlns="http://www.client.com/2001/XMLSchema"; to the root of
your XSLT file.
HTH,
John

-----Original Message-----
From: abdu(_dot_)r(_dot_)el-whidi(_at_)desjardins(_dot_)com
[mailto:abdu(_dot_)r(_dot_)el-whidi(_at_)desjardins(_dot_)com]
Sent: Thursday, February 13, 2003 5:23 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] XMLNS and XSL



Hello.
I am new to this. and have a question to anyone who may help me. Thanks in
advance.

We wrote an XSL that translates an XML to an HTML document.  It worked fine
until the client added default name space like this:

      <doc_root   xmlns="http://www.client.com/2001/XMLSchema"; >

If I replace the xmlns="", it will work as before.  If I keep it.  Non of
the XSLT will be performed.  I know it has to do with name space defaulting,
But I could not get it.

here are the headers from my xsl file:

      <?xml version='1.0' encoding='iso-8859-1' ?>
      <xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; >

Any clues?

Thanks
AEW



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>