xsl-list
[Top] [All Lists]

Re: XMLNS and XSL

2003-02-13 15:55:12




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

OK, for the second time today:

   http://www.dpawson.co.uk/xsl/xslfaq.html

more specifically:

   http://www.dpawson.co.uk/xsl/sect2/N5536.html#d4932e970

The FAQ is your friend...

Dave


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



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