Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6669675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:10:43+00:00 2026-05-26T03:10:43+00:00

I have stylesheets and schemas that uses namespaces e.g. <xsl:stylesheet version = ‘1.0’ xmlns:xsl=’http://www.w3.org/1999/XSL/Transform’

  • 0

I have stylesheets and schemas that uses namespaces

e.g.

<xsl:stylesheet version = '1.0' 
     xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:abc="http://development.com">

But when placing them onto the production server I have to change the URL for the namespaces. Is there an easier way so I do not need to go through them and change the URLs? (i.e. just have one file that works both on the development and production platforms)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:10:43+00:00Added an answer on May 26, 2026 at 3:10 am

    Namespaces use URLs as a convention to help ensure uniqueness (e.g. so that two different people designing XML languages to describe events end up with http://example.com/event and http://example.net/event instead of event and event).

    There is a convention to put a document relating to the namespace (such as a schema, or a human readable specification) at that URL, but that is just a convention.

    You should not have to change the identifier you use in the xmlns attribute between development and production. An XML application is an XML application as far as namespaces are concerned, they pay no heed to development and production. (e.g. All XHTML uses the same namespace, it doesn’t matter if it is XHTML 1, XHTML 1.1, the XML serialisation of HTML 5 or something else).

    So, in short:

    Is there an easier way so I do not need to go through them and change the URLs?

    Only ever use the production one. Don’t have a development namespace in the first place.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this XSLT document : <xsl:stylesheet version=1.0 xmlns:mstns=http://www.w3.org/2001/XMLSchema xmlns=http://www.w3.org/2001/XMLSchema xmlns:xs=http://www.w3.org/2001/XMLSchema xmlns:msdata=urn:schemas-microsoft-com:xml-msdata xmlns:xsl=http://www.w3.org/1999/XSL/Transform> <xsl:output
<xsl:stylesheet xmlns=http://www.w3.org/1999/xhtml version=1.0 xmlns:ms=urn:schemas-microsoft-com:xslt xmlns:infoRequest=ControlSkin3 xmlns:xsl=http://www.w3.org/1999/XSL/Transform exclude-result-prefixes=xmlns> <xsl:output omit-xml-declaration=yes method=xml encoding=utf-8 /> I've got
<soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/> <soapenv:Body> <tns:send xmlns:tns=http://www.test.com/Service/v3> <NS2:Message release=006 version=010 xmlns:NS2=http://www.ncpdp.org/schema/SCRIPT> <NS2:Body> <NS2:New> <NS2:Pharmacy> <NS2:Identification> <NS2:ID>
I have a series of XSL 2.0 stylesheets that feed into each other, i.e.
I have an XSL stylesheet (A) that imports another one (B). A overrides a
I have few XSLT files, index stylesheet imports layout using xsl:import. VS says that
I have a simple WebView in my layout, with the following setup <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android
I noticed that some stylesheets have something like this: body { font-size: 62.5%/1.2em; }
I have about 100 stylesheets that apply the same style to one document, exactly
I have stylesheet block in base layout: {% stylesheets filter='cssrewrite' 'bundles/static/css/main.css' %} <link rel=stylesheet

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.