Solved

XSLT transformation of XML - not working :(

Posted on 2014-10-08
3
178 Views
Last Modified: 2014-10-08
Hi all

I'm trying to get the attached XML through the XSLT file to create a tabled list of the first set of fields, then run through each individual <Value> nodes and process accordingly.

Either nothing or everything just dumps to the screen.

I'm running our of time so ideally working code (I may be almost there) would be appreciated as well as some help tips (links to how to's are not really helpful at this time)

I've had to rename  the XSLT template to .txt to allow upload

Thanks
CivicaCareHome-send.xml
carehometest.txt
0
Comment
Question by:NeilT
  • 2
3 Comments
 
LVL 60

Accepted Solution

by:
Geert Bormans earned 500 total points
ID: 40368273
the exact string of the namespace must be equal in both the XML and the XSLT

<carehometest xmlns="xmlnscarehometest"> in the XML

 xmlns:t="carehometest"  > in the XSLT

change the XSLT into

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:t="xmlnscarehometest"  >

and it will work
0
 
LVL 3

Author Closing Comment

by:NeilT
ID: 40368846
Excellent, thanks
0
 
LVL 60

Expert Comment

by:Geert Bormans
ID: 40368907
welcome
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unattended XML settings 4 99
Viewing XML as a table on a Mac 3 86
SharePoint 2013 Blog Template 2 31
Post xml via PHP Soap Client 3 37
The Problem How to write an Xquery that works like a SQL outer join, providing placeholders for absent data on the outer side?  I give a bit more background at the end. The situation expressed as relational data Let’s work through this.  I’ve …
Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now