OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Namespace issues in 2nd order xslt (e.g. Schematron)

[ Lists Home | Date Index | Thread Index ]
  • To: "Oleg Dulin" <oleg@configurecode.com>
  • Subject: RE: [xml-dev] Namespace issues in 2nd order xslt (e.g. Schematron)
  • From: "Hunsberger, Peter" <Peter.Hunsberger@STJUDE.ORG>
  • Date: Tue, 17 Aug 2004 13:51:44 -0500
  • Cc: <xml-dev@lists.xml.org>
  • Thread-index: AcSEiWBLwESV6cO6SfevGyOVZJzgyAAAG98g
  • Thread-topic: [xml-dev] Namespace issues in 2nd order xslt (e.g. Schematron)

Oleg Dulin <oleg@configurecode.com> writes:
> 
> >
> >Maybe I'm misunderstanding the problem but isn't this what the 
> >Schematron NS tag is for?
> >
> 
> That tag does nothing...
> 
> Consider this:
> 
> <xsl:for-each select="osr:ns | ns">
>                
>                 <xsl:attribute 
> name="{concat(@prefix,':dummy-for-xmlns')}" namespace="{@uri}" />
>             </xsl:for-each>
> 
> is how it is defined in the schematron skeleton transform.
> 
> Now, the output xsl contains something like this at the root : .... 
> xmlns:prf="http://foo"; prf:dummy-for-xmlns="">
> 
> and xalan complains that The prefix "prf" for attribute 
> "prf:dummy-for-xmlns" associated with an element type 
> "axsl:stylesheet" 
> is not bound...
> 
> Any thoughts ?
>

It works for us, but we're running with Saxon (highly recommended).








 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS