HTML bold text, imported from XML problem.

I have HTML content defined in an external XML file:
quote:
<textBody><p>First line of text containing some
<b>bold words</b>. More text with some <b>bold
words</b> and then two line breaks.<br /><br
/>Here's some more text with <b>some more bold
words</b> in the middle of it. Don't you think there's
something strange about the spacing around these <b>bold
words</b>? It seems to get worse with each extra appearance
of a <b>bold word</b>. Thank you <b>for
reading</b> my text.</p></textBody>
Here,
you can see a screenchot of the text rendered on screen from the
HTML above.
Many thanks for any help from anybody.

We think we've got the source of the problem - because the
textfield displaying the HTML is in a component. We believe the
letter spacing issue comes about from the component being resized.
The solution, as far as we can see is to simply use dynamic
textfields instead of components - OK for future development, but
what we've done already will need to be fixed by extra spaces in
various places.
Thanks for your suggestion Pal_w_g - guess it was your input
that provided the seed that led to the idea about the component.

Similar Messages

  • Tsql import from xml to table - sql server 2012 = (o row(s) affected)

    Hello,
    here is my XML header and footer:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <streetAndCities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <record>
    <rowIndex></rowIndex>
    <cityCode></cityCode>
    <cityName></cityName>
    <streetCode></streetCode>
    <streetName></streetName>
    </record>
    </streetAndCities>
    with a bunch of <record></record> tags with data inside....
    I'm trying to import data from my XML file to my new and empty table with the following code:
    DECLARE @xml XML
    SELECT @xml = x.y
    FROM OPENROWSET( BULK 'c:\st.xml', SINGLE_CLOB ) x(y)
    INSERT INTO tblCitiesStreets(rowIndex, cityCode, cityName, streetCode, streetName)
    SELECT
    x.y.value('(Column[@Name="rowIndex"]/text())[1]', 'INT') rowIndex,
    x.y.value('(Column[@Name="cityCode"]/text())[1]', 'NVARCHAR(255)') cityCode,
    x.y.value('(Column[@Name="cityName"]/text())[1]', 'NVARCHAR(255)') cityName,
    x.y.value('(Column[@Name="streetCode"]/text())[1]', 'NVARCHAR(255)') streetCode,
    x.y.value('(Column[@Name="streetName"]/text())[1]', 'NVARCHAR(255)') streetName
    FROM @xml.nodes('Root/DataRow') AS x(y)
    but the output I get is 
    (0 row(s) affected)
    and of course when I select * from tblCitiesStreets, the table is empty.
    what is wrong with the code?
    regards

    Nothing's wrong with your code. You're working with the wrong file OR - I guess - you have copied those XPath expressions without further looking at them..
    This works with your XML:
    DECLARE @xml XML = N'
    <streetAndCities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <record>
    <rowIndex>1</rowIndex>
    <cityCode>2</cityCode>
    <cityName>3</cityName>
    <streetCode>4</streetCode>
    <streetName>5</streetName>
    </record>
    </streetAndCities>';
    SELECT Record.value('rowIndex[1]', 'INT') rowIndex ,
    Record.value('cityCode[1]', 'NVARCHAR(255)') cityCode ,
    Record.value('cityName[1]', 'NVARCHAR(255)') cityName ,
    Record.value('streetCode[1]', 'NVARCHAR(255)') streetCode ,
    Record.value('streetName[1]', 'NVARCHAR(255)') streetName
    FROM @xml.nodes('streetAndCities/record') AS StreetsAndCities ( Record );

  • Import from catalog problems

    Cannot import from catalog, LR quits and I get about 2 or 3 photos imported.
    Adobe was no help, they had no idea why.
    Have tried to "import from Cat" twice. Moving two different catalogs into my main desktop catalog. Both did not work.
    All three catalogs ( two from laptop and my main LR cat) work fine and I can import photos no problem.
    Would like to import all the changes of photos that I have made with these two catalogs that I did on my laptop. (Both cats are on an external hard drive).
    Thoughts anyone?
    I am having some issues with my video card. Screen right now is a bit pink. This would be the fourth video card I will need on this Mac Pro. Would this be the cause?
    Thanks.

    flyboys911 wrote:
    Do I need to export the laptop cats if thy are already on a separate hard drive?
    It might help. Exporting a catalog sometimes cures corruption in the original catalog. Try exporting into a new catalog and then importing the new one on your desktop.
    Never heard of the last thing you mentioned. Can you describe more?
    Lightroom has a preferences file, which sometimes gets corrupt and can cause all kinds of weard behaviour. You can delete (or rename away) the preferences file, and LR will build a fresh one when started. If you rename it, you will still have it if you decide you want it back.
    To rename the preferences file, rename the file
    "[username]/Library/Preferences/com.adobe.Lightroom3.plist"
    to something like
    "[username]/Library/Preferences/com.adobe.Lightroom3.plist.old"
    while LR is closed and restart LR.
    Beat

  • How to place multiple column tables in InDesign Layout by importing from XML

    Hi,
    I've an XML file that I need to import into InDesign Document. All the cell elements from Table tag  turn out be a "single column Table"..! How do I place a 2x2 or 3x2 tables in InDesign document while importing from an XML?
    Please help..!
    Thanks,
    Basav

    I might note that I am using InDesign CS 5, and importing from a document stored in docx format.

  • Data Import from XML Format file

    I want to import data  from XML file format.Can i do it ? If yes then please give me more details in the step.

    Pl read the below link.
    It will be helpful.
    SAP Business One Application
    Jeyakanthan

  • MAC import from CF problems

    *have tried a search for this so apologies if this is covered elsewhere. I find these User to User forums very un-user friendly.*
    Having used all 4 Beta versions without problems, I am now finding problems with v1. Granted, what Im now doing with v1 I didnt try with the Betas because the functionality wasnt there.
    Plug in CF card and reader. Import dialogue comes up. Select "copy and import" so that files are copied to my HD and imported into LR's DB renaming as it does so according to my naming convention. Applying preset development options, metadate presets and keywords all at the same time. What a time saver. Fantastic. Just what I have always wanted!
    Except it hangs every time. It usually gets to around half way through and LR just stops responding. I'm using a 1GB sandisk CF card so I'm talking arund 600 jpegs max per import.
    I'm running MAC OSX 10.4 on a G5.
    For the moment I'm back to using Bridge for renaming, then doing a separate import from the HD to LR.
    Any clues?

    Hi - I came to this forum specifically because of this issue to see if others were seeing it.
    I am using some kind of generic usb 2.0 card reader, and a lexar 4GB cf card. I'm importing 1ds Mkii files. I've been using this reader and this card for a long long time (more than 1 year, maybe 2) with no problems before. The card reader is connected to it's own USB port. The firewire drive is the only thing connected via firewire. The other USB port has my kb/mouse. I'm using a DVI widescreen external monitor - which I just started using (I can't remember if I had this issue when I was using just the MB screen), with a res of something like 1650x1050.
    At least five times (in 5 days) during import I've had lightroom lock up completely. The program won't force-quit. My computer won't even shut-down properly! I have to power-off and back on. I'm on a 1st gen macbook (core duo, not c2d), with 2GB ram, >40GB free on internal drive, and exporting to a 500GB external FW drive with lots of space. It's very unnerving to say the least.
    The last time it happened (last night) I was only importing 28 files, so I don't think it has anything to do with the total number of files being imported. I have noticed, however, that if I start the import and then HIDE the application, or at least don't play with it in ANY WAY, it's seems reliable. I've imported > 175 images at once from this same card/reader with no issues that way. But if I'm impatient and I start scrolling around during the import (looking at the "most recent import" thumbs) it seems to happen more consistently.
    Terrible! I'm in evaluation mode here, and generally lightroom feels 2x more responsive than aperture. I have aperture, and I'm trying to decide if I should convert to lightroom. This is a killer for me. It's not just having the force-quit the app - it's having to manually power-down the whole machine!

  • Import from DVD problem gone in LR 2.0 beta

    One problem I have had with LR 1.3 was not being able to File>Import from disk, and select more than one file from a DVD or CD and import. It would see them as read only files. I had to open another window, and drag them into Library.
    This glitch is GONE in 2.0 beta. THANKS Adobe.

    It's a bug, which is already the subject of thread only a few below yours. See -
    http://www.adobeforums.com/webx/.59b5f7c6/21

  • Import From Camera problem

    I thought I'd try out the "Import From Camera" script as the first part of my workflow. I had a card with about 30 images on it taken with my Canon 1DMkII. I typically rename my files "YYMMDD_hhmmss", and although there is no explicit way to do this (EXIF Capture Date) with IFC it appeared that using the "modified date" option gave the same results.
    I ran the script and immediately encountered several errors - the script said that "One or more of the downloaded image filenames match filenames in the specified destination folder ..." I knew this wasn't the case since all images were taken at different times.
    Is there another way to use the EXIF date within IFC? Is this a script I can modify myself in some way?
    It does almost everything I want, but the renaming part is the deal-killer.
    Any thoughts would be appreciated.
    Thanks,
    Jeff

    Try using a card reader.  That way you can open the memory card as it were an external volume, select and drag the files in small groups to a folder on the Desktop. That way you can isolate those files that are causing the problem.
    If there are only a few files that won't cooperate you may have to sacrifice them so you can reformat the memory card using the camera and then test it with some test photos and videos.
    Is it just videos that won't copy?  See if you can determine which files are causing the problem.
    OT

  • Import from memory problem

    Dear experts:
        When I am using 'import mi[] from memory ID Z_memory.', I don't know how many times can I import from the same memory ID. For example, I want to export once and need to import many times.
        My code is like this:
    export mi[] to memory ID Z_memory.
    import mi[] from memory ID Z_memory.
    import mi[] from memory ID Z_memory.
       Could the second import successful?
       Thanks in advance.
    regards,
    tyrolu

    hi tyrolu,
    you can import from the memory for more time also....
    why do you want to import same content many times in one program ? instead you can import it at once and you can  use it many times right......
    sastry

  • Importing from XML to Excel - need to know how to append to existing Excel file

    Hello,
    I have several XML files that I will need to import into one Excel spreadsheet. I have been able to figure out how to import an XML file to an Excel file but when I import a second XML file, the contents of the second XML overwrite the Excel spreadsheet.
    I am looking for an option to append. Thanks in advance
    private void XmlToExcel(string xmlFilePath, string excelFilePath)
    object misValue = System.Reflection.Missing.Value;
    DataSet Trans_ds = new System.Data.DataSet();
    Trans_ds.ReadXml(xmlFilePath);
    Excel.Application excel = new Excel.Application();
    excel.Application.Workbooks.Add(true);
    System.Data.DataTable table = Trans_ds.Tables[0];
    Worksheet worksheet = (Worksheet)excel.ActiveSheet;
    Range excelRange = (Excel.Range)worksheet.get_Range("A" + worksheet.Rows.Count, Type.Missing);
    int lastRow = excelRange.get_End(XlDirection.xlUp).Row;
    int ColumnIndex = 0;
    int rowIndex = lastRow++;
    foreach (System.Data.DataColumn col in table.Columns)
    ColumnIndex++;
    excel.Cells[lastRow, ColumnIndex] = col.ColumnName;
    foreach (DataRow row in table.Rows)
    rowIndex++;
    ColumnIndex = 0;
    foreach (DataColumn col in table.Columns)
    ColumnIndex++;
    excel.Cells[rowIndex + 1, ColumnIndex] = row[col.ColumnName];
    worksheet.StandardWidth = 20.0;
    worksheet.SaveAs(excelFilePath, misValue, misValue, misValue, misValue, misValue, misValue, misValue, misValue, misValue);
    excel.Quit();
    releaseObject(worksheet);
    releaseObject(excel);

    See if this helps.  I opened the old excel file and added the new rows into the existing workbook.
    private void XmlToExcel(string xmlFilePath, string excelFilePath, Boolean append)
    object misValue = System.Reflection.Missing.Value;
    DataSet Trans_ds = new System.Data.DataSet();
    Trans_ds.ReadXml(xmlFilePath);
    Excel.Application excel = new Excel.Application();
    Excel.Workbook Bk = excel.Workbooks.Add(true);
    System.Data.DataTable table = Trans_ds.Tables[0];
    Excel.Worksheet worksheet = (Excel.Worksheet)excel.Worksheets[1];
    Excel.Range excelRange = (Excel.Range)worksheet.get_Range("A" + worksheet.Rows.Count, Type.Missing);
    int lastRow = excelRange.get_End(Excel.XlDirection.xlUp).Row;
    int ColumnIndex = 0;
    int rowIndex = lastRow++;
    foreach (System.Data.DataColumn col in table.Columns)
    ColumnIndex++;
    excel.Cells[lastRow, ColumnIndex] = col.ColumnName;
    foreach (DataRow row in table.Rows)
    rowIndex++;
    ColumnIndex = 0;
    foreach (DataColumn col in table.Columns)
    ColumnIndex++;
    excel.Cells[rowIndex + 1, ColumnIndex] = row[col.ColumnName];
    worksheet.StandardWidth = 20.0;
    if (append == false)
    worksheet.SaveAs(excelFilePath, misValue, misValue, misValue, misValue, misValue, misValue, misValue, misValue, misValue);
    else
    //open old workbook
    Excel.Workbook oldworkbook = (Excel.Workbook)excel.Workbooks._Open(
    excelFilePath,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing);
    //get first sheet in workbook
    Excel.Worksheet oldxlSht = (Excel.Worksheet)oldworkbook.Worksheets[1];
    //get column A of old worksheet to find last row in sheet
    Excel.Range xlRange = (Excel.Range)oldxlSht.get_Range(
    "A" + oldxlSht.Rows.Count, Type.Missing);
    int LastRow = xlRange.get_End(Microsoft.Office.Interop.Excel.XlDirection.xlUp).Row;
    int newrow = LastRow + 1;
    //get last row of new worksheet
    xlRange = (Excel.Range)worksheet.get_Range(
    "A" + oldxlSht.Rows.Count, Type.Missing);
    LastRow = xlRange.get_End(Microsoft.Office.Interop.Excel.XlDirection.xlUp).Row;
    // copy rows of new worksheet to old worksheet
    xlRange = (Excel.Range)worksheet.Rows["1:" + LastRow, Type.Missing];
    xlRange.Copy(oldxlSht.Rows[newrow, Type.Missing]);
    oldworkbook.Save();
    excel.Quit();
    releaseObject(oldxlSht);
    releaseObject(worksheet);
    releaseObject(excel);
    jdweng

  • Importing from Eudora problems - html messages being displayed in plain text and problems with attachments

    Hello,
    I hope you can help me. I've imported all my emails from Eudora into Outlook 2010 but I have a couple of problems.
    All emails that I've imported which had attachments with them have a notice on them saying the attachment has been blocked. I can always browse to the folder whereb my old attachments are stored, but this is still inconvenient.
    Secondly, all my messages that I've sent in the past (html) are being displayed in plain text, which is making them difficult to read because of all the html tags being displayed.
    Also with emails that I've sent in the past- there is no record of any attachments being sent with messages which I know had attachments with them.
    Any ideas? I've trawled google and had no luck except finding programs that cost $70 that can import everything properly.
    David

    David:
    I know this is a very old thread, but did you every figure out a way to fix the formatting of imported Eudora mail?
    I just "upgraded" from Eudora to Outlook 2010 ...
    and have 10 years worth of HTML formatted e-mail that now shows up as plain text with embedded html formatting ...
    apparently it is a long-running problem that has roots in the way Eudora formats messages ...
    Outlook and other e-mail clients all seems to have issues with importing and do not properly recognize HTML-formatted messages from Eudora ... very sad that I can no longer really "read" my old e-mail at this point ...  :-(
    See closing paragraphs here:   http://its.uiowa.edu/support/article/2800
    Same problem over at Mozilla going back 10+ years ... not sure if they fixed it..........
    https://bugzilla.mozilla.org/show_bug.cgi?id=3157

  • I'm having some problem with Text imported from Motion into FCPro

    Hey Everyone.
    I've got an animation that I created in Motion.
    The format for the timeline in Motion is NTSC DV 4:3
    Final Cut has the same attributes to the sequence.
    I have text on my graphic.... Some of it looks great. Some of it does not.
    You can see it here.
    http://www.drewwfilms.com/Temp/McClure/Graphic.html
    The word "Show" looks terrible, where as the other text looks great.
    I do have a filter on the word show... actually it's not even a filter it's just one of the style parameters which is Outline and Face. The outline attribute has a bit of a blur on it.
    Still i would think this would copy over into final cut without and issue but for some reason it looks really bad.
    Anyone have any ideas on this?
    Thanks.
    -Fraky

    Your problem stems from the bright red on a dark background. It is particularly noticable on text because it is a uniform color.
    You might have other elements in your movies that use this exact shade and it wiil happen there, but it is less noticable because that element consists of multiple tones and is probably moving.
    Very saturated, bright reds always cause problems in video. It is a limitation of the medium.
    If you want to learn more about this facinating subject, the keywords are *Chroma Rise Time*.
    The solution: desaturate and/or lighten the red, change the color completely or live with it.
    Once I render. I get the pixelation.
    Your Motion clip is being rendered to your NTSC DV Sequence setting which is 1:5 compression.
    The problem with the red is only made worse due to this.
    Message was edited to answer newer information from Fraky.

  • Importing images XML Problem

    Hey I have an XML file that has images in it.  I am wanting to import the images into flash into arrays then I want place them on the stage. I have it importing corretly I think.  Has anyone done this before and give me any hints at placing the images?  I figure I will have to set a variable to too the function what array to use.  Thanks.
    XML CODE
    <gallery>
              <image id="image01" category = "Registration" url="DSCN2217.JPG" />
              <image id="image02" category = "Registration" url="DSCN2218.JPG" />
              <image id="image03" category = "Registration" url="DSCN2219.JPG" />
              <image id="image04" category = "Registration" url="DSCN2220.JPG" />
              <image id="image05" category = "Registration" url="DSCN2221.JPG" />
              <image id="image01" category = "Banquet" url="DSCN2222.JPG" />
              <image id="image02" category = "Banquet" url="DSCN2223.JPG" />
              <image id="image03" category = "Banquet" url="DSCN2224.JPG" />
              <image id="image04" category = "Banquet" url="DSCN2225.JPG" />
              <image id="image05" category = "Banquet" url="DSCN2226.JPG" />
    </gallery>
    AS3 SCRIPT
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.load("images.xml");
    //xmlData.onLoad =loadXML;
    xmlData.onLoad = function(success:Boolean)
              if (success)
                        if (xmlData.status == 0)
                                  regArray = new Array();
                                  banArray = new Array();
                                  var xmlDataToXMLString:String = new String();// initializes a new string variable
                                  xmlDataToXMLString = xmlData.toString();// converts dots XML object to a string and stores it in dotsToXMLString.
                                  var xmlDataXML:XML = new XML(xmlDatadotsToXMLString);// creates new XML object with the string contents from above.
                                  xmlDataXML.parseXML(xmlDataToXMLString);// parses the string from above.
                                  var xmlDataNodes:Object = xmlDataXML.firstChild;// Saves the firstChild (in this case, the outermost element) as an object
                                  var xmlDataNodesChildren:Object = xmlDataNodes.childNodes;// Saves the childNodes of firstChild as an object
                                  for (i = 0; i < xmlDataNodesChildren.length; i++)
                                            switch (xmlDataNodes.childNodes[i].attributes.category)
                                                      case "Registration" :
                                                                xmlNodeID = xmlDataNodes.childNodes[i].attributes.ID;
                                                                xmlNodeURL = xmlDataNodes.childNodes[i].attributes.url;
                                                                //regArray = new Array();
                                                                regArray.push({id:xmlNodeID, url:xmlNodeURL});
                                                                //trace(xmlDataNodes.childNodes[i]);
                                                                break;
                                                      case "Banquet" :
                                                                xmlNodeID = xmlDataNodes.childNodes[i].attributes.ID;
                                                                xmlNodeURL = xmlDataNodes.childNodes[i].attributes.url;
                                                                //regArray = new Array();
                                                                banArray.push({id:xmlNodeID, url:xmlNodeURL});
                                                                break;
                                            //trace(xmlDataNodes.childNodes[i].attributes.category);
                                  trace(regArray);
                                  trace(banArray);
                        else
                                  trace("Problem parsing XML.");
              else
                        trace("Could not load XML");
    function placeImages() {

    To load images using AS2 you can use the loadMovie function.  So what you need to do is loop thru your array and target the image name in itas part of the argument of the loadMovie() function call. 
    Here is a link to the help documentation for the loadMovie() function that you should read thru to gain an understanding of how it is used.
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00000573.html

  • HT3345 Importing from xls problems with the date format (mixed european format)

    Hi.
    I made some spreadsheets with Neo Office and saved them in xls format. So I can import them in numbers, doing so in OpenOffice, LibreOffice or even the worst in Mircosoft Office on a PC works just fine. But importing them with Numbers 2.0.4 it just don't work.
    I have Mac OSX 10.5.8 and a PowerPC G4 1,67 GHz.
    The date format in all other programs is " 21.05.2011" and numbers creates "21/05/2011" out of it. Although my international setting is set to 23.05.2012. It defines the cells as my own format and takes than the totally wrong format.
    Does anyone know how to solve this problem, or how to change all the weird own formats in my international setting, which would be correct.
    Best regards.

    Hi Franklin,
    I used to have similar problem with date too. To make my forms and reports work for all date, I used to send the parameter from forms to the report in text format. In the report, I grab that parameter as "Text Format" (I mean the parameter created in Oracle Reports was really as Character in datatype property) then I manipulate them in my SQL to convert that "date" into real date using TO_DATE function. Usually I use DD-MM-YYYY as my date format.
    Hope this help.
    Regards,
    Franko Lioe
    Hello friends at www.oracle.com,
    when I sent some informations to Reports, one of these informations was a date field. Here, the format mask may vary from one computer to another - some computers here are using american date format; however, my computer was using brazilian date format.
    The fact is that I was sending date information to Reports using the mask dd/mm/yyyy, and Reports (in the computer that uses american date format) couldn't recognize it, stating that I was sending an invalid month. So I had to change my date information to dd-mon-yyyy and Reports could run in the other computer, but doesn't run here anymore - fact that obligated me to change my date format to american format.
    Is there any way for me to use a date format mask that's valid to all computers here? If other computers - with other format masks - meet the same problem, the use of this program may become something very complicated.
    Thanks for all answers,
    Franklin Gongalves Jr.
    [email protected]

  • Help needed badly Insert text data from xml files into tables

    Hi all, I have asked to do insertion of text from a xml file into tables upon receiving using pro*c. i've done quite an amount of research on xml parser in c but there wasn't much information for mi to use for implementation...
    Guys don't mind helping me to clarify few doubts of mine...
    1. Where can i get the oracle xml parser libs? Is it included when i installed oracle 8i?
    2. Is there any tutorials or help files for xml parser libs where i can read up?
    I need the xml parser to recognise the tags, followed by recognising the text after the tags.
    eg. xml format
    <studentID> 0012 </studentID>
    <student> john </student>
    <studentID> 0013 </studentID>
    <student> mary </student>
    text willl be inserted into tables like this:
    studentID | student
    0012 | john
    0013 | mary
    by the way i'm using oracle 8i on HP-UX. Thanks in advance.

    I can answer one of of your questions at least
    1. Where can i get the oracle xml parser libs? Is it included when i installed oracle 8i?You need the XML XDK. You can use http://www.oracle.com/technology/tech/xml/xdkhome.html as your starting point. I believe the 9i version works for 8i.
    I have no pro*c experience so I can't offer any other suggestions regarding how to do this in pro*c.

Maybe you are looking for