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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:45:58+00:00 2026-06-11T14:45:58+00:00

I have a problem with XSLT Transformation. I have an XML: <?xml version=1.0 encoding=UTF-8?>

  • 0

I have a problem with XSLT Transformation.

I have an XML:

<?xml version="1.0" encoding="UTF-8"?>
<parser xmlns="http://www.dabgps.nxp">
  <bash>
    <![CDATA[
      # MAIN VARIABLES
     bash
    ]]>
  </bash>

  <bbb>
    <![CDATA[
      # MAIN VARIABLES
      bbb
    ]]>
  </bbb>

  <bash>
    <![CDATA[
      # MAIN VARIABLES
      bash
    ]]>
  </bash>
</parser>

And I have a XSD:

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text" indent="yes"/>

<xsl:template match="parser">

  <xsl:value-of select="bbb"/>

</xsl:template>

</xsl:stylesheet>

The problem I get every time a result:

  # MAIN VARIABLES
  bash





  # MAIN VARIABLES
  bbb





  # MAIN VARIABLES
  bash

What I expect is of course only:

  # MAIN VARIABLES
  bbb

Doesn’t matter which or it is.
The XSLT processor print out all the stuff I have in CDATA Tag, even if it is not in the matched template (seems just to get CDATA out of the document)
What could be here wrong?

  • 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-06-11T14:46:00+00:00Added an answer on June 11, 2026 at 2:46 pm

    I think the issue is here related to namespace http://www.dabgps.nxp defined in your XML file.
    There is a similar thread that is explaining about this here.

    xsl:template match doesn’t find matches

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

Sidebar

Related Questions

I have run into a problem with XSLT transformation. I have input XML as
Taking the XSLT and XML from this page as an example: http://www.w3schools.com/xsl/xsl_transformation.asp I have
<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
I have a chained XSLT 2.0 transformation scenario (using saxon), like this: - I1.xml
I'm stuck to getting data from this xml: <?xml version=1.0 encoding=UTF-8?> <document> <AAA>Header</AAA> <BBB>
I have problem with http://abfoodpolicy.com/ . In IE 8 and 9 the right sidebar
I have a maven project that loads an xslt file and executes the transformation
I have a problem. I get the data from xml then transform it with
I have a problem with my XML that I am trying to display on
I have a problem. I have an XML file that contains information about 100

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.