473,546 Members | 2,205 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with < and >

1 New Member
I am using the attached TKMPOPRINTDT_Te mplate.txt data template.
and the attached xsl (xhtml-to-xslfo.txt)file for formatting.

My data template generating the data like below.

<ARTICLE_TEXT>& lt;ol&gt;&lt;li &gt;No deviation from the specifications and other conditions contained in this Order is permitted without Purchaser&apos; s prior written agreement.&amp; nbsp; Purchaser may at any time by written notice to Seller (i) make any change to this Order, including a change in quantity, specification or drawing, or (ii) cancel this Order as to all or any portion of the goods not transported.&am p;nbsp; Any adjustment to prices and/or delivery resulting from the change or cancellation shall, where possible, be agreed in writing before or at the time the change or cancellation is instituted.&amp ;nbsp; Any such price adjustment may include reasonable direct costs incurred by Seller.&amp;nbs p; Such adjustment in price or delivery must in any event be agreed between Purchaser and Seller within fourteen (14) days from date of Purchaser&apos; s written notice, unless otherwise agreed.&amp;nbs p; Any adjustment or any change or cancellation, as applicable, will be confirmed by amendment in writing to this Order.&amp;nbsp ; No cancellation shall relieve Purchaser or Seller of any of its obligations as to any Goods already delivered.&lt;/li&gt;&lt;/ol&gt;</ARTICLE_TEXT>

bcoz of this formatting has not done.
i want data in the xml file with < and > only.
If i replace it manually the formatting is working fine.
So i have to restrict the decoding of < and > with &lt; and &gt; .
can anyone help me on this.
Or
can any one provide other xsl formatting which handle &lt; and &gt;
Attached Files
File Type: txt TKMPOPRINTDT_Template.txt (56.3 KB, 1411 views)
File Type: txt xhtml-to-xslfo.txt (62.1 KB, 448 views)
Oct 19 '11 #1
0 1749

Sign in to post your reply or Sign up for a free account.

Similar topics

12
9427
by: Sammy | last post by:
Hi, my mind is going crazy. I have tried everything I can think of to no avail. I have tried Disable Output Escaping. I tried to think of a way of enclosing the attribute data in a CDATA element. That did not parse. Here is my question: How can I get attribute values to not get converted from &apos; to '
1
7426
by: John MacIntyre | last post by:
Hi, I am having a problem executing server side javascript. For some reason the script tag is ignored when the runat=server is combined with the src attribute. The code is being used client side also, so embedding it right into the page is not an option. I have also tried the following code without success. <script language=javascript...
3
3119
by: NWhite | last post by:
Hi all, I'm trying to indent <li> items using: li { margin: 0 0 0 50px;} So I expect something like the following to indent 50 pixels from the left margin:
6
1309
by: Andreas Schmitt | last post by:
Hi, I got a problem here that I haven't been able to fix so far since I don't even know what the problem is. I have the following two files (among one other 'Class1.cpp') in my Project in Visual C++ The MainFile.cpp works fine, but as soon as I try to use strings in Class1.hpp the compiler reports an error and claims he doesn't know the...
4
1948
by: Mark Rae | last post by:
Hi, VS.NET 2003 on WinXPPro + all latest service packs etc. I have a totally standard WebForm wherein I need to include one of several HTML files according to various parameters etc. I'm trying to use an <asp:Literal /> control for this, and intend to modify its Text property in the Page_Load event, but it's not working. The code I'm...
2
1166
by: Zbigniew Kawalec | last post by:
Hello I have two external controls (dll) in my project. I try to insert them on my aspx page like this: <OBJECT id="axGr1" style="Z-INDEX: 106; LEFT: 176px; POSITION: absolute; TOP: 16px" height="272" width="384" classid="axGrafEd.dll#axGrafEd.axGr" name="axGr1" VIEWASTEXT> </OBJECT>
1
7687
by: Robert Dodier | last post by:
Hello, Sorry for asking what must be a FAQ, but I wasn't able to find the answer. I have an XML document fragment which I want to store as a text string. I want a function to convert any XML special characters such as < > into the corresponding character entities. I'm working with Java.
11
2960
by: Gerald I. Evenden | last post by:
Working on a Kubuntu 64bit system "c++ (GCC) 4.0.3". The following simple program extracted from p.497 & 499 of N.M.Josurris' "The C++ Standard Library ... " (file t.cpp): 1 #include <string> 2 #include <iostream> 3 #include <algorithm> 4 #include <cctype> 5 using namespace std;
1
5471
by: VaidehiPawar | last post by:
I am a beginner level in xml..my output page does not convert &gt &lt it shows something like this " &lt;b&gt;Location.&lt;/b&gt;&lt;br /&gt; &lt;UL&gt;&lt;LI&gt;Park Central New York " can anyone help? here is my code <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template...
0
7507
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7435
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7698
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7947
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7461
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5080
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3472
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1046
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.