How do I store HTML/XHTML in an XML file and then use XSLT to retrieve it? -
i have xml file containing documentation project of mine. i'm using xslt transform xml file html output in browser.
now thing have entities contain html code. nothing complicated, <br/> tags. don't seem able make work. have tried "disable-output-escape" works in internet explorer.
now i'm trying namespaces. have wrote in root tag.
xmlns:h="http://www.w3.org/1999/xhtml"
and changed
tags <h:br/>, tags don't appear , still don't have line break.
i assume i'm missing something. it's first time i'm working xslt.
found mistake. had use copy-of instead of value-of.
Comments
Post a Comment