|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] AW: skip formatting ala <pre>?
If I have understood you correctly <xsl:template match="MyPre"> <xsl:copy-of select="."/> </xsl:template> should do it (assuming that no namespaces are used) wbr, Roman _______________________________________ Roman Huditsch IT and Electronic Publishing LexisNexis ARD Orac Marxergasse 25 1030 Vienna Austria ph: +43-1-534 52-1514 f: +43-1-534 52-140 e-mail roman.huditsch@xxxxxxxxxxxxx www.lexisnexis.at > -----Urspr|ngliche Nachricht----- > Von: Wong Chin Shin [mailto:publicbbs@xxxxxxxxxxxxxxxx] > Gesendet: Dienstag, 30. November 2004 12:11 > An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Betreff: skip formatting ala <pre>? > > Hi, > > Let's say for example an XML file contains the following element: > > <MyPre><p>Hello<br />this is a <a href="http://www.google.com" > alt="nothing">test</a></p></MyPre> > > Is there a way for me to output the contents of <MyPre> "as-is" including > the tags contained within? > > Do I need to convert all "<" to "<" and so on in order to accomplish what > I want? > > Thanks > Wong
|
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








