[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

AW: skip formatting ala <pre>?

Subject: AW: skip formatting ala <pre>?
From: "Huditsch Roman" <Roman.Huditsch@xxxxxxxxxxxxx>
Date: Tue, 30 Nov 2004 12:23:54 +0100
ala formatting
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 "&lt;" and so on in order to accomplish
what
> I want?
>
> Thanks
> Wong

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.