OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Embedding JavaScript into XSL
This page's ID:
11152
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Okay, now lets add a layer of complexity! You see, I am instantiating an XML ActiveX element on the client side. My intention is to load the XML object with: loadXML The XML string I am attempting to load has a CDATA section. So now we have a CDATA section within a CDATA section (we wrapped the jscript's script in a CDATA section) and even though they are of 2 completely seperate instances (in time of parsing) it seems to confuse the XSL parser. Here is the code that I would attempt to insert within the example you have provided that I am having no luck with: dom.loadXML('<TEST><T att="1"/><T att="2"><![CDATA[This is a snippet of <b>marked up</b><i>HTML</i>]]></T></TEST>'); Any ideas on handling this? The error produced is: End tag 'T' does not match the start tag 'script'. Thanks, Karl
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »