Closed Bug 305248 Opened 19 years ago Closed 19 years ago

XSL transforms are stripping out markup

Categories

(Core :: XSLT, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: sean, Assigned: peterv)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050729
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050729

XSL transforms are removing all html (and possibly other) markup from the result.

Reproducible: Always

Steps to Reproduce:
1.Perform an xsl transform that generates html
2.view results

Actual Results:  
no html markup

Expected Results:  
should be the complete html document, including markup.
Assignee: nobody → peterv
Component: General → XSLT
Product: Firefox → Core
QA Contact: general → keith
Version: unspecified → Trunk
This is when the transform is done programmatically with xsltProcessor inside a
chrome. The stripping is apparent when you inspect the xsltProcessor.textContent.
You'll need to at least give us a testcase. See
http://www.mozilla.org/projects/xslt/bug-reporting.html for guidelines on how to
create testcases for XSLT.
textContent only returns the textual content. it will never return any tags,
even if they are present in the DOM.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.