This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: newbie problem - writing XSL for an XML with namespaces.


> I've been unable to find the reason why this is happening. Other than the 
> namespace, the two documents were identical, and The XSLT doesn't reference 
> any namespaces (other than it's own), so why does it choke when there's a 
> namespace in the file.

Because then the elements in your input XML belong to a different namespace
which aren't matched in your stylesheet.

This is a FAQ. Have a look at http://www.dpawson.co.uk/xsl/sect2/N5536.html
particularly http://www.dpawson.co.uk/xsl/sect2/N5536.html#d161e534

(Please don't bookmark these links, because they may change unforeseeable)

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

Following this link at the bottom of every mail you will find the FAQ 
(and their answers).

Cheers,
Oliver


/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@informatik.hu-berlin.de             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]