ALSB 3.0 - Problem adding CDATA Tags using XSLT

Hi all,
I am having a problem using ALSB to insert CDATA tags into some XML.
Here's a simple example of the stylesheet I am using:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="[http://www.w3.org/1999/XSL/Transform]" version="1.0">
<xsl:template match="/">
<a>
<xsl:value-of disable-output-escaping="no" select="'<![CDATA['"/>
<b/>
<xsl:value-of disable-output-escaping="no" select="']]>'"/>
</a>
</xsl:template>
</xsl:stylesheet>
In XMLSpy, this produces the following output:
<a>
<![CDATA[
<b />
]]>
</a>
Which is correct.
However, when running the same transformation as an XSLT in ALSB, I get the following output:
<a>
<?javax.xml.transform.disable-output-escaping?>
& lt ;
<?javax.xml.transform.enable-output-escaping?>
![CDATA[
<b />
<?javax.xml.transform.disable-output-escaping?>
& gt ;
<?javax.xml.transform.enable-output-escaping?>
</a>
From some digging about online, I've found that the
"<?javax.xml.transform.enable-output-escaping?>" elements are
processing instructions.
Has anyone else had similar issues?
Or more importantly, has anyone fixed this?
Cheers,
Dave
Edited by: DaveFeeder on 10-Dec-2008 12:36

I've found a solution to this now.
I've used the fn-bea:serialize XQuery function to serialized the data, having the same effect as manually trying to insert the CDATA,and if anything, is a neater solution.
Cheers
Dave

Similar Messages

  • Parsing errors with CDATA tags using oracle xml parser v2

    I'm using the oracle.xml.parser.v2 parser to combine a
    generated xml document from a database with a static
    xsl file to produce html. Within the xml document, there
    are fairly large CDATA sections (500 lines) which happen
    to contain javaScript.
    Occasionally, I'm getting xml tags in the final html
    document! It seems that the oracle parser pukes
    on a certain type of data within a CDATA tag, and then
    replaces an angle bracket (<) of a tag with a #60. This
    can cause html tags being viewed in the document. At
    first, I thought the amount of JavaScript within the
    CDATA tag was too large for the parser to handle,
    because when I split it up into 2 or more parts the errors
    went away. But, re-arranging the JavaScript (String in the CDATA tag)
    can make the errors disappear. And, if I
    use the Saxon parser to manually combine the xsl with
    the xml, the output is fine. If anyone knows that this is
    a confirmed bug by Oracle, or any other relevant info on
    this, please let me know.

    Hi,
    Your lucky, i've just finished a project that used the oracle parser extensively.
    I think the problem may stem from your xsl. Although your cdata tags may be well formed, in the xsl you might need to escape the text again, this may mean that the xsl needs to print a further cdata tag around the data. This is because the parser (well the version I was using) strips the cdata tags before the transformation happens.
    This is the probably the cause of the nasty html output.

  • How to remoce CDATA tag from XSLT mapping

    Hi Sharma,
    Please remove all CDATA elements from your code and execute so that you will get expected output. Because CDATA term we will use while writing
    DTD for your source xml, so this is not required in XSL Program.  check below code....
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
         <xsl:template match="/">
              <DlrDiscItemWise>
                   <DlrDiscItemWiseXML>
                        <xsl:text disable-output-escaping="yes"></xsl:text>
                        <xsl:copy-of select="."/>
                        <xsl:text disable-output-escaping="yes"></xsl:text>
                        <xsl:text disable-output-escaping="yes"></xsl:text>
                   </DlrDiscItemWiseXML>
              </DlrDiscItemWise>
         </xsl:template>
    </xsl:stylesheet>
    thanks,
    madhu

    Thanks Madhusudan, but i doubt it wil work by removing all CDATA tags. I removed and this is the response. Please check
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
         <xsl:template match="/">
              <DlrDiscItemWise>
                   <DlrDiscItemWiseXML>
                        <xsl:text disable-output-escaping="yes"></xsl:text>
                        <xsl:copy-of select="."/>
                        <xsl:text disable-output-escaping="yes"></xsl:text>
                        <xsl:text disable-output-escaping="yes"></xsl:text>
                   </DlrDiscItemWiseXML>
              </DlrDiscItemWise>
         </xsl:template>
    </xsl:stylesheet>
    result
    <?xml version="1.0" encoding="UTF-8"?><DlrDiscItemWise><DlrDiscItemWiseXML><ns0:MT_DlrDis_Sender xmlns:ns0="http://MTSINDIA/TC/DealerDiscount"><ITEM><nDlrAddEdit>1</nDlrAddEdit><nItemCode>1001000080</nItemCode><nItemDisc>15</nItemDisc><dtDiscFromdt>11/May/2010</dtDiscFromdt><dtDiscToDt>31/Dec/2010</dtDiscToDt><nItemAddDisc/><dtAddDiscFromDt/><dtAddDiscToDt/><nDlrTypeCode/><nItemDisQtyMulti/><nItemDiscQtyFree/><sItemDiscPerAmt/><sItemDiscType/><nDlrCode>1001</nDlrCode><nCircleCode>4</nCircleCode></ITEM></ns0:MT_DlrDis_Sender></DlrDiscItemWiseXML></DlrDiscItemWise>
    But in target structure I am not able to see it as single string.
    Please suggest

  • Problem with custom tag using TagExtraInfo

              Hi,
              I have a tag that create a Java variable using TEI. The scope of this
              variable is driving me crazy. The problem is hard to describe, so the
              email is a bit long - stay with me...
              <pre:setvar id="foo" value="test" /> create a Java variable
              named "foo", which has String value "test". I can use "foo" like this in
              the page later: <%= foo %>.
              Now, if I call setvar twice with same id:
              <pre:setvar id="foo" value="test" />
              <pre:setvar id="foo" value="another-test" />
              This is still ok. By checking the compiled Java file, the first call
              declare the var, the second call just use it without creating it again:
                   //first call
                   String foo=null;
                   foo="test";
                   //second call
                   foo="another test";
              Now the problem comes when the frist call is in "if" statement (code is not
              useful, only for demostration):
              <% if (1>0) { %>
                   <pre:setvar id="foo" value="test" />
              <% } %>
              <pre:setvar id="foo" value="another-test" />
              The compiled code looks like:
                   if (1>0) {
                        //first call
                        String foo=null;
                        foo="test";
                   //second call
                   foo="another test";
              Variable foo is out of scope at the second call! (BTW, I can workaround this by
              adding another <pre:setvar id="foo" value="" /> before the "if".)
              Is it a fault in JSP specification? Or a problem when WebLogic implements TEI?
              Any idea?
              Thanks,
              -- Jin
              

    I encountered the same problem in our environment. I did the same thing as
              James. Simply re-initialize all variables in the do end tag.
              Also, with the nested tags you use you may also need to implement cloneable
              in the inner tag if the outer tag keeps references to all the inner tag
              instances.
              For instance if the outer tag kept a vector of references to the inner tag,
              then you would need to use clone() on the inner tag before adding it to the
              vector.
              "James Lynn" <[email protected]> wrote in message
              news:3af05d29$[email protected]..
              > > But
              > > with WL 6.0, the cell tag handler reuse the same instance each time the
              > cell tag
              > > is called and the member field is not reset
              >
              > I had the same problem. As a work around, I reinitialize everything in my
              > doEndTag() method and it works.
              >
              >
              > --
              > James Lynn - Lead Software Architect
              > Oakscape - Java Powered eBusiness Solutions <http://www.oakscape.com/>
              >
              >
              

  • Problem to pre tag use in jeditorpane

    hi all,
    i am using JEditroPane with HTMLEditorKit. I am using <pre> tag to set the Tab space. But problem is that, when i write continuously, its can't line break also when i print the editor contents, it will not print the exact contents.
    If i remove <pre> tag it prints the contents but formatting( Tab space) has remove.
    Please help me, how can i get rid of this situation..
    Thank you

    Thanks to your reply. Its nice..
    I am trying to line break explicitly. but can't find any way. Is there any way to get the cursor position (Location) that when the cursor exced the location i expliditly line break that positon .. or any other way...
    Please help me..
    Thank you

  • Problem in SELECT TAG using variables

    Hi all,
    I have a JSP page which updates the record for a user.Now there is a HTML select tag and when the user queries its data this SELECT tag will automaticaly select the user stored item in database automatically. It means the select tag will have a variable to select the options. Now how can i use variables in SELECT TAG. Please help needed.

    I'm not exactly sure what you are asking, but here goes.
    First, are you able to populate the select box with all the names... this is what it sounds like to me.
    Or are you not able to populate it nor select it.
    I use JSTL for all my jsps... so for me I would store a collection on the form and then iterate through it. (arrayList being my preference)
    look into using <c:forEach> or you could try <logic:iterate> which I've used before but it has been several years.
    here is an example block of code.
    Sorry this is going to be a bit convoluted because of what I'm doing with it..
    but I have an ArrayList that contains string arrays... position 0 being the value I want returned (like 1 through 10) and position 1 being the text representation..
    so it comes out like
    1 - Option 1
    2 - Option 2
    You will notice the if statement where I check to see if the localList[0] is equal to the view field. view would be your selected value.
    <SELECT name="view" size="7"
         multiple="multiple" class='OmniDlgLabel'>     
                   <c:if test="${sessionScope.PHI2Form.localList!=null}">
                        <c:forEach var="localList"
                             items="${sessionScope.PHI2Form.localList}" varStatus="status">
                             <OPTION value='<c:out value="${localList[0]}"/>'
                                       <c:if test="${sessionScope.PHI2Form.view==localList[0]}">SELECTED</c:if>>
                             <c:out value="${localList[0]}"/>-<c:out value="${localList[1]}" /></OPTION>
                        </c:forEach>
                   </c:if>          
    </SELECT></TD>There is an extra > that I cannot get rid of.. should be there after the
    <OPTION value='<c:out value="${localList[0]}"/>'

  • EXIF tag used as 'Description'

    What EXIF tag does iPhoto 09 use as description when I import JPGs? With iPhoto 08 it worked when I set the 'Object Name' before importing but since I upgraded to 09 that does no longer work
    I can still see the description for photos I imported when I still had 08, all that I imported with 09 have no description set.
    Any ideas?

    Added the tags using exiftool, below are all the tags set on my test.jpg file:
    ExifTool Version Number : 7.44
    File Name : test.jpg
    Directory : .
    File Size : 382 kB
    File Modification Date/Time : 2009:02:19 19:48:14-08:00
    File Type : JPEG
    MIME Type : image/jpeg
    JFIF Version : 1.01
    Coded Character Set : UTF8
    Application Record Version : 2
    Object Name : Flagpole on the Coney Island beach
    Country-Primary Location Name : United States
    Province-State : New York
    City : Brooklyn
    Caption-Abstract : Flagpole on the Coney Island beach
    Profile CMM Type : Lino
    Profile Version : 2.1.0
    Profile Class : Display Device Profile
    Color Space Data : RGB
    Profile Connection Space : XYZ
    Profile Date Time : 1998:02:09 06:49:00
    Profile File Signature : acsp
    Primary Platform : Microsoft Corporation
    CMM Flags : Not Embedded, Independent
    Device Manufacturer : IEC
    Device Model : sRGB
    Device Attributes : Reflective, Glossy, Positive, Color
    Rendering Intent : Media-Relative Colorimetric
    Connection Space Illuminant : 0.9642 1 0.82491
    Profile Creator : HP
    Profile ID : 0
    Profile Copyright : Copyright (c) 1998 Hewlett-Packard Company
    Profile Description : sRGB IEC61966-2.1
    Media White Point : 0.95045 1 1.08905
    Media Black Point : 0 0 0
    Red Matrix Column : 0.43607 0.22249 0.01392
    Green Matrix Column : 0.38515 0.71687 0.09708
    Blue Matrix Column : 0.14307 0.06061 0.7141
    Device Mfg Desc : IEC http://www.iec.ch
    Device Model Desc : IEC 61966-2.1 Default RGB colour space - sRGB
    Viewing Cond Desc : Reference Viewing Condition in IEC61966-2.1
    Viewing Cond Illuminant : 19.6445 20.3718 16.8089
    Viewing Cond Surround : 3.92889 4.07439 3.36179
    Viewing Cond Illuminant Type : D50
    Luminance : 76.03647 80 87.12462
    Measurement Observer : CIE 1931
    Measurement Backing : 0 0 0
    Measurement Geometry : Unknown (0)
    Measurement Flare : 0.999%
    Measurement Illuminant : D65
    Technology : Cathode Ray Tube Display
    Red Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract)
    Green Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract)
    Blue Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract)
    Exif Byte Order : Big-endian (Motorola, MM)
    Photometric Interpretation : BlackIsZero
    Image Description : OLYMPUS DIGITAL CAMERA
    Make : OLYMPUS IMAGING CORP.
    Camera Model Name : E-510
    Orientation : Horizontal (normal)
    X Resolution : 72
    Y Resolution : 72
    Resolution Unit : inches
    Software : Version 1.3
    Modify Date : 2008:10:18 13:00:33
    Exposure Time : 1/250
    F Number : 10.0
    Exposure Program : Creative (Slow speed)
    ISO : 100
    Exif Version : 0221
    Date/Time Original : 2008:10:18 13:00:33
    Create Date : 2008:10:18 13:00:33
    Exposure Compensation : 0
    Max Aperture Value : 3.5
    Metering Mode : Multi-segment
    Light Source : Unknown
    Flash : Auto, Did not fire
    Focal Length : 17.0 mm
    Flashpix Version : 0100
    Color Space : sRGB
    Exif Image Width : 2243
    Exif Image Height : 2995
    Custom Rendered : Normal
    Exposure Mode : Auto
    White Balance : Auto
    Digital Zoom Ratio : 1
    Scene Capture Type : Standard
    Gain Control : None
    Contrast : Normal
    Saturation : Normal
    Sharpness : Normal
    GPS Version ID : 2.2.0.0
    GPS Latitude Ref : North
    GPS Longitude Ref : West
    GPS Altitude Ref : Above Sea Level
    GPS Time Stamp : 17:00:35
    GPS Map Datum : WGS-84
    Image Width : 2243
    Image Height : 2995
    Encoding Process : Baseline DCT, Huffman coding
    Bits Per Sample : 8
    Color Components : 3
    Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
    Aperture : 10.0
    GPS Altitude : 5 m Above Sea Level
    GPS Latitude : 40 deg 34' 22.20" N
    GPS Longitude : 73 deg 58' 50.40" W
    GPS Position : 40 deg 34' 22.20" N, 73 deg 58' 50.40" W
    Image Size : 2243x2995
    Shutter Speed : 1/250
    Focal Length : 17.0 mm
    Light Value : 14.6
    Preview recognizes the tag correctly, only iPhoto does no longer do.
    What are your import settings? Do you copy items into the iPhoto library?

  • Create XML element without closing tag using Visual C++

    I know how to create xml element with closing tag (using WriteStartElement and WriteEndElement methods)
    <tag id="1234">
    </tag>
    but is there a way in Visual C++ to produce xml element like this
    <tag id="1234"/>
    i.e. without closing tag?

    Hi adamay,
    Please refer to this thread.
    http://stackoverflow.com/questions/8182245/create-xml-element-without-closing-tag-using-xslt
    I think you could try the way of write your own class derived from XmlWriter.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • ALSB automatically wrapping data in a CDATA tag

    I'm trying to route SOAP messages through ALSB. These messages work like this:
    1) Proxy service listens for incoming SOAP request
    2) Request is logged and routed to a business service (set up as "Any SOAP Service"), which queries the web service
    3) Web service response is logged and passed back to Proxy service and to caller.
    The problem we're having is that ALSB encodes one of the elements of the response XML in a CDATA tag. Without ALSB, there is no CDATA tag in the response.
    Our calling application cannot process the message with the CDATA tag. Why does ALSB do this, and how can I prevent it from doing so without doing an expensive (and annoying to write) XQuery transform that removes the CDATA tag manually?
    Thanks.

    Thanks for the response.
    Both the proxy service and the business service are set up as "Any Soap".
    Here is an example response from the service, as captured by TCPMonitor (before ALSB gets ahold of it):
    <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><findAccountsResponse xmlns="http://service.account.test.com"><findAccountsReturn><?xml version="1.0" encoding="UTF-8"?>
    <lt:Message xmlns:lt="http://xml.test.com/2006/01/common/Message"><lt:Header><lt:CallingApplicationId>AccountService1</lt:CallingApplicationId><lt:CallingApplicationName>Account Service</lt:CallingApplicationName><lt:CallingUser>SYSTEM</lt:CallingUser><lt:MessageId>58C4B701-1AD0-EF69-6A15-001D4D107AA9</lt:MessageId></lt:Header><lt:Body><qr:QueryResponse xmlns:qr="http://xml.test.com/2006/04/common/QueryResponse"><qr:MetaData><qr:ReturnedResults>1</qr:ReturnedResults><qr:MoreResultsExist>false</qr:MoreResultsExist></qr:MetaData><qr:Results><ac:Accounts xmlns:ac="http://xml.test.com/2006/04/Account"><ac:Account><ac:testId>111111</ac:testId><ac:Name>Test School</ac:Name><ac:Address><ac:Line1>Test Road</ac:Line1><ac:City>Hartland Cors</ac:City><ac:StateOrProvinceCode>VT</ac:StateOrProvinceCode><ac:PostalCode>05049 </ac:PostalCode><ac:Country>USA </ac:Country></ac:Address><ac:Programs><ac:Program><ac:Code>1</ac:Code><ac:Description>Test </ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>2</ac:Code><ac:Description>Test </ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>5</ac:Code><ac:Description>Test </ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>6</ac:Code><ac:Description>Test </ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>7</ac:Code><ac:Description>Test </ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>8</ac:Code><ac:Description>Test </ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>9</ac:Code><ac:Description>Other - Unclassified </ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>10</ac:Code><ac:Description> </ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program></ac:Programs></ac:Account></ac:Accounts></qr:Results></qr:QueryResponse></lt:Body></lt:Message></findAccountsReturn></findAccountsResponse></soapenv:Body></soapenv:Envelope>
    Here's the contents of $body just after the business service receives the response:
    <
    soapenv:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="ht
    tp://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/e
    nvelope/">
    <findAccountsResponse xmlns="http://service.account.test.com">
    <findAccountsReturn><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
    <lt:Message xmlns:lt="http://xml.test.com/2006/01/common/Message"><lt:Header><lt:CallingApplicationId>AccountService1</lt:CallingApplicationId><lt:CallingApplicationName>Account Service</lt:CallingApplicationName><lt:CallingUser>SYSTEM</lt:CallingUser><lt:MessageId>58C4B701-1AD0-EF69-6A15-001D4D107AA9</lt:MessageId></lt:Header><lt:Body><qr:QueryResponse xmlns:qr="http://xml.test.com/2006/04/common/QueryResponse"><qr:MetaData><qr:ReturnedResults>1</qr:ReturnedResults><qr:MoreResultsExist>false</qr:MoreResultsExist></qr:MetaData><qr:Results><ac:A
    ccounts xmlns:ac="http://xml.test.com/2006/04/Account"><ac:Account><ac:Life
    touchId>111111</ac:testId><ac:Name>Test</ac:Name><ac:Address>
    <ac:Line1>Test</ac:Line1><ac:City>Hartland Cors</ac:City><ac:Stat
    eOrProvinceCode>VT</ac:StateOrProvinceCode><ac:PostalCode>05049     </ac:PostalC
    ode><ac:Country>USA  </ac:Country></ac:Address><ac:Programs><ac:Program><ac:Code
    1</ac:Code><ac:Description>Test</ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>2</ac:Code><ac:Description>Test</ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>5</ac:Code><ac:Description>Test</ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>6</ac:Code><ac:Description>Test</ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>7</ac:Code><ac:Description>Test</ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>8</ac:Code><ac:Description>Test</ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>9</ac:Code><ac:Description>Test             </ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program><ac:Program><ac:Code>10</ac:Code><ac:Description>Test</ac:Description><ac:Assignment>VJ</ac:Assignment></ac:Program></ac:Programs></ac:Account></ac:Accounts></qr:Results></qr:QueryResponse></lt:Body></lt:Message>]></findAccountsReturn></findAccountsResponse>
    </soapenv:Body>
    As you can see, ALSB is adding the CDATA tag. Our calling service can't translate the data inside of the CDATA tag.
    I sincerely appreciate your help!

  • Using CDATA tags in XML program and parsing to J2ME

    Hi,
    Can anybody tell me how to use CDATA tag in a xml file and parse it to my J2ME code. is there any sample code available for this? I want to use this CDATA tag for sending Binary data. plzzzzzzz Help....!

    I think what you want is to parse a CDATA text from a xml file and let this text to execute.
    Very innovative idea!
    If I am right, I think you might mix some concept.
    Java code need to be changed to ByteCode before pased to the JVM. Furthermore, Java ME code must be verified before downloading to your machine.
    I figure that your attempt is impossible.

  • Problem in Adding Accessibility Tag to PDF file.

    While adding accessibility tag to the pdf file some extra text content (@) added to the pdf file,  the sample pdf file's are in following link please find the problem.
    Before Add Tags to Document:
    http://uploadingit.com/file/avecc8bshs4s792h/Test2_Before_Add%20Tags%20to%20Document%20in% 20Acrobat%209%20Pro.pdf
    After Add Tag to Document:
    http://uploadingit.com/file/5w09yp78zyc39g7e/Test2_After_Add%20Tags%20to%20Document%20in%2 0Acrobat%209%20Pro.pdf

    Hi,
        while writing report at top-of-page event
        write sy-pagno this will be printed on spool
        and also PDF will have page count .
         report ztest
               line-count 65.
    *after 65 lines top-of-page is triggered and pageno is
    incremented
        top-of-page.
         write sy-pagno.
    Regards
    amole

  • Firefox 4 displays closing CDATA tag ]] on the screen for object tag

    With the recent Firefox 4 version. I am facing following problems with the website I am developing:
    1. For svg objects inside html page with Firefox 4 it now displays closing CDATA tag on the screen.
    It only displays ]]> on the screen.
    I have object specified using
    <pre><nowiki><object class="svgobj batteryGraphObj" type="image/svg+xml">
    <![CDATA[
    <?xml version="1.0" encoding="UTF-8"?>
    ]]>......
    </object></nowiki></pre>
    2. When the svg is added using div tags it doesn't display on the screen if the width is more than browser width. It was working on Firefox 3.6 but have stopped working with 4. We had a overflow specified with scrolling effect on the screen if user wants to view next section.

    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=25

  • Adding meta tags to published web site

    I have created my website using iWeb and subsequently downloaded the RAVE SEO tool and used it to add for meta tags to my sites (description and keywords).
    I followed this procedure:
    1) I published my site from iWeb to a local folder on my iMac
    2) I added the meta tags using the RAVE SEO tool
    3) I tried to publish the site to my webhotel with tags added using the ftp tool in the RAVE SEO tool.
    PROBLEM:
    when I publish from the SEO tool, it is the old sites which are published. In my local folder where I started out publishing the web site to, I can see that the tags from description and keywords have been added. But the site which is published does not contain the tags.
    I have a feeling that the SEO tool is looking in a wrong foder, but I cannot change the folder using the "FTP Details" funktion in the SEO tool.
    Do anyone have a suggestion for what to do?
    Thanks,
    Klaus

    I have a feeling that the SEO tool is looking in a wrong foder, but I cannot change the folder using the "FTP Details" funktion in the SEO tool.
    When you click publish and choose FTP you can create a new setup or use an existing one.
    And if you do not know which folder to publish to, click browse. You decide.
    !http://www.wyodor.net/_Discussions/SEOToolFTP.png!
    Message was edited by: Wyodor

  • Adding Multiple Tag Prefixes in an XML in XI

    I have a problem on one of the messages we are trying to send to trading partners. The customers' system only accepts the message if it has a tag prefix of sh, orders... and so on in the particular message we are sending (Standard Business Document). The problem is that XI does not use the tag prefixes the trading partners are expecting. Another problem is that we do not have the orginal and current XSD of the Standard Business Document so we created the message in XI and it cannot adapt the multiple namespaces scheme that we are suppose to send.
    The messages are sent via HTTP adapter so what we plan is after mapping the data to the output XML, we are going to send it or store it in a directory which a configure File Adapter polls and use the Java Anonymizer Bean to do the trick of adding the tag prefixes and then use Enhanced Receiver Determination to actually send the data via HTTPS (since the receiving system's information is stored in a database which we query in XI using a UDF).
    Are there any other approach that we could explore than the one I mentioned above? And could XI actually handle multiple namespaces of an XML?
    Thanks and Best Regards,
    Rommel

    Hi Prateek,
    Thanks for the reply. Just another question though, would XI recognize the multiple namespaces and the tag prefixes associated with it during the mapping?
    Thanks again!
    Regards,
    Rommel

  • How to insert a new line character inside CDATA tag in the source xml data file?

    values for form fields in the xml data file is contained inside CDATA tags which is an Unparsed Format.
    Eg: [CDATA[IBM-01 ~ DSHFSJDSJ ~ FGFGFJ, ~ VA 665665]] delimited by "~" char
    Actual o/p:-
    IBM-01 ~ DSHFSJDSJ ~ FGFGFJ, ~ VA 665665
    Expected o/p is like :-
    IBM-01
    DSHFSJDSJ
    FGFGFJ,
    VA 665665
    live cycle product does not interpret ~ as a newline character. Please suggest which character should be used instead inside CDATA section or if there is any other way to fix this?

    I do not have any problem while using IE's XML parser
    for XML+XSLT merging.That is because IE's parser does not implement XML correctly.
    But when I use JAXP's Transformer object, it does not
    preserve the new lines inside attribute values and
    converts those into white spaces.That is exactly what the XML specifications say should happen.
    >
    ----If you have text that contains newlines, you
    should put it in an element, not in
    ----an attribute.
    That would be my last solution. But I'd really hate
    to change my logic just 'coz JAXP is not capable of
    handling new lines inside attribute values. I may be
    wrong... but If IE can keep those then there has to
    be a way to do the same from server side merging....Sure. Write your own parser with the same bug in it. But you don't have any right to demand that other people supply you with parsers that work incorrectly.

Maybe you are looking for

  • Editing in tiff

    Hi there. I prefer opening my RAW files i Canon DPP. From here I export them to PSE 8. Now, I wonder if there is any benefits in exporting, and doing futher editing in tiff, or coueld I as well use jpeg? I always save the end result as jpeg anyway. J

  • Solaris on x86 Dell Laptop - keyboard driver!

    Hello, As some of you may have a Dell Laptop I am asking if anyone has had any success installing Solaris 8 for Intel. If you have please drop me a line. So far I have worked my way past the hangs during the install's configuration of /dev. I had to

  • How to create a company contact entry

    As opposed to creating a private entry For example I want to create a company contact On the desktop version you click the company box IOS doesn't have that option

  • Taglib problem in JSP

    I'm using JFreeChart to display the chart and I define the following taglib in my JSP. <%@ taglib uri="/WEB-INF/chartlib.tld" prefix="chartlib" %> It works in Tomcat and WebLogic, but not webtogo, got this exception. java.lang.NoClassDefFoundError: I

  • CS6 Help Is Pitiful

    Hi, First, why has the help system for CS6 been re-written? The existing system was far better than the junk we have been given now. Secondly, the new system only gives the options of downloading stupid pdf files for offline docs. Why isn't the html