[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XML to html
actually J.Pietschmann, I hit the wrong list with this (I am on an XML, xsl, java, and asp/asp.net list) I meant to hit my XML not XSL list. it is an issue with the parsing of the xml, even though I have the html in a CData, it takes the < and > tags and turns them into < and >. Sorry to waste everyone's time on the wrong list. Regards, Travis D. Falls SR. Software Engineer The Hartford (CASD) 860.547.4070 travis.falls@xxxxxxxxxxxxxxx <mailto:travis.falls@xxxxxxxxxxxxxxx> http://www.thehartford.com -----Original Message----- From: J.Pietschmann [mailto:j3322ptm@xxxxxxxx] Sent: Thursday, August 01, 2002 3:38 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: XML to html Mridula Mahadevan wrote: > But i put in the default org namespace into the xml file, i dont > get any data into the html. This is a FAQ. You probably have something like <foo xmlns="my:org.namespace">... in you XML and <xsl:template match="foo"> in your XSLT. In your XML, the "foo" element is in the namespace. In the XSLT, the "foo" in the match attribute is in *no* namespace, even if you declare your namespace somewhere in the XSLT file. You have to declare a prefix and use it explicitely: <xsl:stylesheet version=... xmlns:xsl=... xmlns:org="my:org.namespace"> <xsl:template match="org:foo"> ... J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|