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: XMTP XML file breaks Saxon and XT


> For some reason, both Saxon and XT don't process the document 
> correctly,

Want a fight? You'll lose.

I thought I'd already answered this. The MIME element in the source document
has a non-null namespace URI, in the stylesheet it therefore needs to be
qualified with a namespace prefix that maps to the same namespace URI.

Mike Kay

> Here's a sample of the document (from the above Web site)
> 
> <MIME xmlns:mime="http://www.grovelogic.com/xmtp"
> xmlns="http://www.grovelogic.com/xmtp">

> This stylesheet fails:
> 
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>   version="1.0" >
> 
> <xsl:template match="MIME" >
>  <xsl:apply-templates />
> </xsl:template>
> 
> 


 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]