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

Re: XMLNS problem

Subject: Re: XMLNS problem
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Feb 2013 16:40:40 -0500
Re:  XMLNS problem
At 2013-02-12 14:35 -0700, Eric Harbeson wrote:
This is close, but it doesn't include the xmlns line, which appears to be needed for it to validate correctly. The XSLT I have below seems like it should do what I want, but it produces an error in the xsl:namespace declaration.

You don't say what error you are getting, but I see the following:


        <xsl:element name="ead">
            <xsl:namespace name="">urn:isbn:1-931666-22-9</xsl:namespace>

The element you are creating is in the default namespace and the namespace node you are creating is in the default namespace.


I suspect you want name="input".

I hope this helps.

. . . . . . . Ken


-- Public XSLT, XSL-FO, UBL and code list classes in Europe -- Apr 2013 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |

Current Thread

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
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.