Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

XSLT transformation of XML - not working :(

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
Neil Thompson
Asked:
Neil Thompson
  • 2
1 Solution
 
Geert BormansCommented:
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
 
Neil ThompsonSenior Systems DeveloperAuthor Commented:
Excellent, thanks
0
 
Geert BormansCommented:
welcome
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now