Solved

XSLT transformation of XML - not working :(

Posted on 2014-10-08
3
181 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

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…
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, …
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

786 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