Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Cleaning up a string so I can output it

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 7/24/2009 12:28:00 PM
Dylan wrote:

> That looks like what I need, thank you very much! However, I'm not
> sure how to implement your solution in my code. I have the potential
> for up to maybe a dozen <failure></failure> tags, each within separate
> <testcase></testcase> tags, and I want it to be possible to click on
> one failure case and have some text elsewhere on the page change to
> have the failure text written there. I only want the information from
> one failure at a time to be written. I've tried adding your code into
> my stylesheet but I can't seem to get the failure code to show up, and
> it writes one "Click here" line per failure tag (which makes sense,
> thats what its supposed to do). Any ideas? Thanks again, I really
> appreciate the help!

If you show us a small XML input sample and the corresponding output you 
want to create then we can suggest an XSLT solution. My sample 
stylesheet has a template matching failure elements which can be easily 
adapted and inserted in other stylesheet so I am afraid I don't 
understand what problems you face. If you want to adapt your stylesheet 
and fail then you need to show us at least the part you want to adapt 
and show us the output you want to create but fail to create.

-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent