House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  .NET Technical Talk (Net-Talk)

Xml Formatting

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
mira mira
01/10/2007 12:38 PM

I need to develope a web application in c# for formatting the xml. I need to develope an user interface with basic formatting options like Bold,Italic,Underline. I thought I could develope an html editor using javascript and show the xml as the transformed output in a div container using c# and perform the formatting.In another container I can read the xml.Is there any possible way To seach and find the text that has been made bold,italic,underline and make it updated in the xml which will be shown in another div container.I will be very thankful if some one could help me. If this could not be done can any one give me some solution for formatting my xml contents. Actually the xml will be transformed to html and will be shown.I can perform actions like selecting the text and make it bold,etc.I completed this part. My question is how can i update the same in the xml.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
G
01/10/2007 01:00 PM

Couldn't you simply store the various formatting possibilities as attributes in your XML? For instance, if someone italicizes the HTML version of your data, when you convert that back to XML you simply set the italic attribute: <DataItem italics="yes"> </data> Brian ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
mira mira
01/10/2007 01:05 PM

----- Excess quoted text cut - see Original Post for more ----- <DataItem>somecontents</DataItem> when it is italized it should be shown as <DataItem><Emphasis type="Italic">somecontents</Emphasis></DataItem>

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
mira mira
01/10/2007 01:10 PM

how should i convert html to xml. I will transform the xml.so the output will be html. I will perform formatting in html.how should i make this updated in XML.


<< Previous Thread Today's Threads Next Thread >>

Search net-talk

October 26, 2014

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference