Solved

XSLT transformation of XML - not working :(

Posted on 2014-10-08
3
183 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:Neil Thompson
  • 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:Neil Thompson
ID: 40368846
Excellent, thanks
0
 
LVL 60

Expert Comment

by:Geert Bormans
ID: 40368907
welcome
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

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 …
The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

828 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