xsl question

baytownsbest4

Usenet Archive
Joined
Dec 22, 2004
Messages
2
Reaction score
0
Hello,
I am working on a project that sends an XML document to an API call and the API call returns an XML document. If the API call was successful, it sends back an XML document with a certain group of XML tags. If the API call was a failure, it sends back a different group of XML tags. I want to use an XSL document to see which group of tags was returned. I tried using 2 "xsl:template match" statements in one XSL document but it did not work. Is there a way to use 2 different "xsl:template match" function within one XSL document or do I have to call 2 different XSL documents? Thanks!
 

baytownsbest4

Usenet Archive
Joined
Dec 22, 2004
Messages
2
Reaction score
0
The way that the program functions is that the API call is either going to be successful or fail. I know what successful and fail tags are returned when the XML document is returned. I was hoping to use 2 "xsl:template match" statements to see which set of tags was returned but it didn't work. I hope this clears things a little! Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,802
Members
249,594
Latest member
henrywalsh

Latest Threads

Top