|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xml to html paragraphing
It is bit complicate: in your xsl file just write something like: <xsl:template match="p"> <xsl:copy><xsl:value-of select="."></xsl:copy> </xsl:template> all content include <p> should be copied to your html final. -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of David Carlisle Sent: Thursday, March 29, 2001 11:10 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: xml to html paragraphing > when i generate an html the tags are show as <p> You've posted 1001 messages saying that this happens to you, but it would be clearer if you'd posted a single message with a three line input file, your XSL and what you want to get out. You almost certainly have that in the source rather than a p element node. That is I guess your source has <p> hello </p> or equivalently <![CDATA[<p> hello </p>]]> (these will produce the same input to an XML parser) whereas your source should have <p> hello </p> which markup would cause the XML parser to report an element node for p. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre. For further information visit http://www.star.net.uk/stats.asp XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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








