|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Issues with output of IMG, LINK (css) tags and
I came across a lot of issues in passing the IMG and CSS tags across from my XSL to the output HTML When I used the standard way to output them the XSL would break or the output will not contain them. So I looked online and found the following ways of putting these tags across. <xsl:element name="LINK"> <xsl:attribute name="REL">stylesheet</xsl:attribute> <xsl:attribute name="Type">text/css</xsl:attribute> <xsl:attribute name="HREF">mycss.css</xsl:attribute> </xsl:element> <link rel="stylesheet" type="text/css" href= "mycss.css"></link> <link rel="stylesheet" type="text/css" href= "mycss.css"/> <img> <xsl:attribute name="src"><xsl:value-of select="@ImageURI"/></xsl:attribute> </img> <xsl:attribute name="width"> <xsl:value-of select="@ImageURI" /> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="ImageURI" /> </xsl:attribute> But whichever way I send it out it eliminates the "closing tag" </...> or the "/" in the single close tag <..../> WHY DOES IT DO THAT ? This is done by XMLSpy (internal XSLT engine) and MSXSL parser 4.0 Since all my XML and XSLs are wellformed I would like my HTML to be as well. So that I can "pretty print" the same in XMLSpy. Also MSXSL 4.0 and System.Xml both have issues with any in the literal code or in any <xsl:text> tags. Someone kindly tell me whats going on here ? Abhishek Sanwal HP - Houston Campus abhishek.sanwal@xxxxxx 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
|

Cart








