[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Namespace issues in 2nd order xslt (e.g. Schematron)

  • To: "Oleg Dulin" <oleg@c...>
  • Subject: RE: Namespace issues in 2nd order xslt (e.g. Schematron)
  • From: "Hunsberger, Peter" <Peter.Hunsberger@S...>
  • Date: Tue, 17 Aug 2004 13:51:44 -0500
  • Cc: <xml-dev@l...>
  • Thread-index: AcSEiWBLwESV6cO6SfevGyOVZJzgyAAAG98g
  • Thread-topic: Namespace issues in 2nd order xslt (e.g. Schematron)

xsl prf
Oleg Dulin <oleg@c...> 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).





PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.