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 7584721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:59:23+00:00 2026-05-30T18:59:23+00:00

How do I specify a match for an element whose type attribute is in

  • 0

How do I specify a match for an element whose type attribute is in xsd: namespace? For example:

<enitityID maxOccurs="0" minOccurs="0" type="xsd:string"/>

I tried

<xsl:template match="*[namespace-uri(@type)= 'http://www.w3.org/2001/XMLSchema']">
...
</xsl:template>  

but it doesn’t seem to work. Thanks.

  • 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-30T18:59:24+00:00Added an answer on May 30, 2026 at 6:59 pm

    The xsd: in that attribute value isn’t a namespace declaration; it’s just part of the value of the attribute; you just need @type = 'xsd:string' to match it.

    EDIT: As per comments, to match anything beginning xsd:, you can just use substring-before(@type,':') = 'xsd' or substring(@type,1,4) = 'xsd:'

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

Sidebar

Related Questions

XAML allows you to specify an attribute value using a string that contains curly
Regular expressions allow us to specify some format a string should match, and then
Is there a way to specify regex that would match a string but from
How can I specify to only match the first occurrence of a regular expression
I'd like to specify a Servlet URL pattern to match a URL that ends
I'm trying to match punctuations using regular expressions. Do I have to specify every
Is there an easier way to grab only one element out of a match
I've added a element to my form which is of type 'date', this then
I am confused about XSLT apply-template statement. For example, here in w3school. http://www.w3schools.com/xsl/xsl_apply_templates.asp For
Is there a way to specify a regular expression to match every 2nd occurrence

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.