Solved

XSLT transformation of XML - not working :(

Posted on 2014-10-08
3
187 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 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