I have a source xml file and dtd. I am writing Xslt code to transform xml to HTML.
I stuck with CDATA which is in my xml file. my xslt shows CDATA in HTML.
I do not want to show CDATA of xml into HTML.
my xml is like this:
name: name1
Server: 0.0.0.10
Version: 1.0.2
]]>
.....
....
....
my xslt:
">
">
]>
version="4.0"
encoding="utf-8"
doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN"
indent="yes"
omit-xml-declaration="yes"
cdata-section-elements="xml_file" />
but it is not working. How can i achieve this.
Advance thanks,
Darma
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Priyaranjan K SPosted Oct 7, 2015, 5:18 AM