Xml to wml enconding question

Hi,
I have an XSL that outputs a wml document, when I set the output encoding to ISO-8859-1 all spanish chars are viewed correctly, but when I set the output encondig to "UTF-8", this special chars are illegible in a mobile browser or when I print them using System.out.println() but they are ok if I display them in a text editor (like Notepad). I want the output to be encoded in UTF-8.
am I doing something wrong??
Thanks

As far as I can see the only thing that's wrong here is that the "mobile browser" doesn't understand XML properly. I don't know whether it should understand XML or not, because I know nothing about it. As for System.out.println(), don't waste your time on that. It certainly doesn't understand UTF-8.

Similar Messages

  • Conversion from XML to WML

    Hi! I am Nauman. Are there any java APIs or interfaces which can convert XML into WML. What is the simplist way ? Thankyou for telling !!!

    Use [url http://www.w3.org/TR/xslt]XSLT to convert the XML to WML. This transformation can be facilitated in a number of different ways, including but not limited to an application written in java.
    There are a number of good tutorials out there (try searching on Google). Also, a search of this forum may produce some useful information.
    ∞ brewman ∞

  • Converting from PDF directly to Java Objects/XML (and PDF format questions)

    Hi,
    I posted this originally in the Acrobat Windows forums but was told I might have more luck here, so here goes:
    I am desperately trying to find a tool (preferably open source but commercial is fine also) that will sit on top of a PDF and allow me to query it's text for content and formatting (I don't care about images). I have found some tools that get me part of the way there, but nothing that seems to provide an end-to-end solution but is quite lightweight. My main question is WHY are there so many tools that go from PDF to RTF, and many tools that go from RTF to XML, but NONE that I can find that go PDF to XML.
    To clarify, by formatting I simply mean whether a line/block of text is bold/italic, and its font size. I am not concerned with exact position on the page. The background is that I will be searching PDFs and assigning importance to whether text is a heading/bodytext etc. We already have a search tool in place so implementing a pure PDF search engine is not an option. I need a lightweight tool that simply allows me to either make calls directly to the PDF OR converts to XML which I can parse.
    Some tools I have tried:
    1) PDFBox (Java Library) - Allows the extraction of text content easily, but doesn't seem to have good support for formatting.
    2) JPedal (Java Library) - Allows extraction of text content easily, and supports formatting IF XML structured data is in the PDF (not the case for my data).
    3)  Nitro PDF (Tool) + RTF to XML (script) - This works quite nicely and shows that PDF to XML is possible, but why do I have to use 2 tools? Also, these are not libraries I can integrate into my app.
    4) iText (Java Library) - Seems great at creating PDFs but poor at extracting content.
    I don't really expect someone to give me a perfect solution (although that would be nice!).
    Instead, what I'd like to know is WHY tools support PDF to RTF/Word/whatever retaining formatting, and other tools support RTF to XML with the formatting information retained. What is it about PDF and RTF/Word that makes it feasible to convert that way, but not to XML. Also, as I found in 3) above, it is perfectly feasible to end up as XML from PDF, so why do no tools support this reliably!
    Many thanks for any advice from PDF gurus.

    XML doesn't mean anything - it's just a generic concept for structuring
    information.  You need a specific GRAMMAR of XML to mean anything.  So what
    grammar would you use?  Something standard?  Make up your own?
    However, there are a number of commercial and open source products that can
    convert PDF to various XML grammars - SVG, ABW, and various custom grammars.
    But the other thing you need to understand is that most PDF files do not
    have any structure associated with them (as you saw when using JPEDAL).  As
    such, any concepts of paragraphs/sections/tables/etc. Are WILD GUESSES by
    the software in question.

  • Converting XML in WML using XSL Processor from XMLParser v2

    When trying to concert an XML doc into WML, it seems like the XSL Processor is removing some WML tags. Below are the XML doc and XSL doc I am using :
    The XML DOC
    <?xml version="1.0"?>
    <ROWSET>
    <ROW id="1">
    <NAME>RestaurantName</NAME>
    <ADDRESS>RestaurantAddress</ADDRESS>
    <PHONE_TYPE>Fixed</PHONE_TYPE>
    <PHONE>0112345678</PHONE>
    <PRICE>60</PRICE>
    <MENU>Salad, Pizza</MENU>
    <DESCRIPTION>Very good restaurant</DESCRIPTION>
    </ROW>
    <ROW id="2">
    <NAME>SecondRestaurantName</NAME>
    <ADDRESS>SecondRestaurantAddress</ADDRESS>
    <PHONE_TYPE>Fixed</PHONE_TYPE>
    <PHONE>0187654321</PHONE>
    <PRICE>60</PRICE>
    <MENU>Salad, Fish</MENU>
    <DESCRIPTION>Godd restaurant</DESCRIPTION>
    </ROW>
    </ROWSET>
    The XSL DOC
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
    <WML>
    <CARD>
    <xsl:apply-templates/>
    </CARD>
    </WML>
    </xsl:template>
    <xsl:template match="ROWSET">
    <xsl:for-each select="ROW">
    <xsl:value-of select="NAME"/>
    <xsl:value-of select="ADDRESS"/>
    Phone : <xsl:value-of select="PHONE"/>
    Price of the menu : <xsl:value-of select="PRICE"/>
    You can order : <xsl:value-of select="MENU"/>
    <xsl:value-of select="DESCRIPTION"/>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    The
    tag are removed by the XSL Processor ; In fact it seems that any tag contained within <xsl:template match="ROWSET"> and </template> is removed. This does not occurs with other XSL processor (such as lotusxsl).
    Is there something I'm doing wrong ??

    Your examples works correctly for me using the XSLT engine that comes with release 2.0.2.6 of the Oracle XML Parser "v2" for Java.
    Are you working with this latest release?

  • Flash Lite XML Driven Gallery Simple Question

    Hello Flash Lite Gurus',
    Someone Named "Mr. Samir K. Dash;" did a wonderful tutorial regarding Flash Lite XML driven Photo Gallery, and I have just a small question:
    1> I changed the attributes schema of the xml as attached and noticed that it is not working, and I wonder what could be the reason (please see the attached XML new attribute schema, I didn't change fields names, I just changed the way the attributes' schema looks like).
    The link to the tutorial is the following:
    http://www.adobe.com/devnet/devices/articles/xml_photo_gallery.html
    Looking forward to your help
    best regards
    Talal

    As I look at your modified XML file, you need to make major changes in the script.
    You have changed the attributes to become child nodes. So, you will need to use firstChild.nodeValue or childNodes[i].nodeValue everywhere.
    Regards,
    Hemanth Sharma
    http://www.flashlitehub.com/blog

  • XML/Feed Code Content Question....

    Hello all,
    I have successfully created an XML file containing all the code I need to generate an RSS feed. Here's my question....there is a line in the code that points to the media file for the podcast...
    <enclosure url="http://mywebsite.com/podcasts/firstshow.m4a" length="8727310" type="audio/x-m4a" />
    ...in the above code there is the "length="8727310" section. I understand that this section is the file size in MB multiplied by 1000.
    Is this section of code necessary? Do I have to specify the file size? What happens if I don't specify the file size? As far as I can see, iTunes doesn't disply the file size, but I assume it uses it when downloading?
    Can anyone shed any light on this? Thanks in advance for any help you can provide:)

    The size is actually the exact number of bytes of your enclosure. Simply click on the file and get the file size. (Apple, file menu, Get Info; Windows: right click, file properties). You want the exact size, not the approximate number. So for example, 3.6MB is useless. 3712512 is what you're looking for. Don't include commas! I think the size is used to let the podcatcher software know how much of the file has been downloaded. Mike
    My podcast on theatre in the Washington DC area: http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=81448992

  • SAP XML Schema's - 2 questions

    Hi All,
    1. Difference between ifr.sap.com & XI
    The schema's defined in ifr.sap.com and the schema's retrieved via the RFC adapter are different!  The XSD's in ifr.sap.com use mixed case for the elements.  The XSD/WSDL extracted contain element names that are all uppercase!  Does seems like an error.  Or am I missing something?  Or is this on purpose?
    2. elemenfFormDefault="unqualified"
    The schema's defined in ifr.sap.com and used by SAP XI do not set elementFormDefault="qualified".  This is not an error, but unusual.  Non-global elements therefore do not belong to the target namespace but to an unnamed global namespace.  What would be the reason for doing so?
    Kind regards, Guy Crets (Apogado)

    Hi Guy,
    1. in ifr.sap.com you find three kinds of objects, namely IDocs, RFCs, and Business Objects.
    XI has an IDoc-adapter (which uses the same XML as published at ifr.sap.com) and an RFC-adapter (which uses the same XML as published at ifr.sap.com).
    As far as I know XI has no Business Object adapter. The reason might be, that for each method of a Business Object there is an RFC doing exactly the same work. So you can use the RFC adapter, but then clearly have to stick to the RFC-XML which differs from the Business Object XML. Normally, this RFC XML is not published at ifr.sap.com, because the Business Object is already published. Hence, you have to take the XSD from the Integration Repository in this case.
    2. I think XML namespaces were introduced to avoid naming conflicts when XML documents are put together from different organizations. This purpose is served by both modelling styles.
    So, in my opinion it remains a matter of taste.
    I'm not so familiar with XSLT, but I cannot imagine that this is really a problem. In contrast to elements attributes most of the time are taken unqualified, and you can also deal with this, I think.
    Moreover, 'unqualified' is the default according to the XSD spec. Hence, there are obviously several people, who believed this style to be the default.
    Greetings
              Stephan

  • Oracle Report vs JSP efficiency and Excel XML in Web Source Questions

    I have used Oracle Reports in the past 6i, but haven't used them in about 4 years. We are now using 9.0.4 reports and I am trying to generate Excel XML from an Oracle report by manipulating the web source of the report. Basically copying and pasting the Excel XML into the web source of the Oracle Report instead of html as suggested by this Metalink Doc ID 240819.1. I do have a JSP working example that generates Excel XML created in JDeveloper and successfully spawns off a very nice looking Excel spreadsheet.
    However, a statement was made here by our app sever guy that an Oracle Report is more efficient at getting data from the database than a JSP. The app sever section does not want anyone using JSPs to generate a report of any kind. I guess small web pages are OK since our java guys use them all the time. This rule for a Reports only environment seems a little restrictive to me. Is there any truth to the statement that Oracle Reports bulk collects data in one chunk as opposed to a JSP making multiple trips to the database from the middle tier?
    Secondly, if an Oracle Report is more efficient in the way that it collects large record sets from the db, and if I save an Oracle Report as a JSP not an rdf, and use the reports_tld.jar with the rw tags instead of the typical jsp jstl tags, will I still get the same improvement from using an Oracle report? I guess the improvement is in the library used correct?
    Thirdly, although not part of this forum, I also am assuming that if we have single sign on that when I call a JSP from an Oracle Form I will not have to log in again correct?
    Thanks...
    Message was edited by:
    Mark Reichman

    It could be the configuration issue. Reconfigure the engine.

  • XML Forms & Document Lifetime question?

    Hi All
    I am creating an xml form and want to use the 'ValidTo' property for document lifetime. I have created the browser and can get the date picker, however the 'ValidTo' requires date and time.
    How on the xml for can you user a dateTime Picker or is there another way to do this?
    Thanks for your help!

    Hi Phil,
    If the time is not required, you can specify a default time. See http://help.sap.com/saphelp_nw04/helpdata/en/b4/fd2c407586ea01e10000000a155106/frameset.htm for more details.
    Unfortunatelly, a comfortable time picker is not available which means that a user needs to enter the time manually if not the default time should be taken.
    Kind regards,
    Roland

  • Storing XML Document as Data question...

    Hi,
    I read the document from http://technet.oracle.com/tech/xml/info/htdocs/otnwp/about_oracle_xml_products.htm and
    this document mention that can store XML Document as Data.
    How does it work? and is there any example code tha I can try?
    Thanks for you kindly help!
    Good day.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Kelly:
    I read the document about XSU and where I can download the XSU for testing?<HR></BLOCKQUOTE>
    Go to http://technet.oracle.com/tech/xml/oracle_xsu/
    That's the same URL where you found the XSU document.
    Then click the Software tab at the top of the main frame.
    If you don't see the Software tab, you may need to enable JavaScript. If you can't (or don't want to) enable JavaScript, try this URL: http://technet.oracle.com/software/tech/xml/oracle_xsu/htdocs/listing.htm
    Thanks,
    -rh
    null

  • XML publishing/content tools question

    Hi, All,
    In my appliaction, large number of XML files(conformed to given schema) to be created from Java objects and subsequently any of these XML files may be retrieved and parsed back into java objects. Along the way it would be nice to have tools to manage these xml files, such as version control, presentation tier rendering etc.
    I googled a little and found these:
    - Apache XMLBeans is a smiple way to parse XML to Java object
    - Apache Velocity/Anakia for XML file publishing(JDOM based)
    - Sonic XML content server
    - MarkLogic XML content server
    Anyone has comments on the tool listed here or some other tools I should use to do
    XML<-->Java transformation and large number of XML files management?
    Your help is greatly appreciated!
    -Herbert

    JAXB or XMLBeans may be used for XML to Java objact mapping.

  • Xml to indesign workflow question - the best xml editor or doc creator

    My department is considering the switch from our team members working directly in InDesign to a process where their work is imported to InDesign as xml content, then formatted automatically.
    Does anyone with relevant experience have ideas as to the best programs to create the xml documents in? Framemaker seems like a canidate, however, I am wondering about open source or other options.
    Thank you

    You probably want to look at InDesign's Data Merge feature.
    Unfortunately it won't accept XML directly, so you'll have to convert your XML to CSV or TSV. But that's pretty easy to do.

  • XML/RTF Data Template Question : Linking

    Ok, I have my data template here however when I try to print it, BIP makes no attempt to link the queries. I am using the Bind Method here with an XML Data Template.
    Data template is:
    <dataTemplate name="Orders_Dataset" description="List of Orders with Details" dataSourceRef="COE" defaultPackage="results_report">
    <parameters>
    <parameter name="TERM" dataType="character"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="People_Query">
    <![CDATA[SELECT DISTINCT PERSON Personp, RECTYPE RECTYPEP, SEC SECP, TERM TERMP, (SELECT TERMNAME FROM TERM b WHERE b.BANNER_CODE = TERM ) termnamep, PERSON || ' ' || SEC PERSEC FROM COE_DATA]]>
    </sqlStatement>
    <sqlStatement name="General_Questions_Query">
    <![CDATA[select DISTINCT d.PERSON PERSON, d.SEC SEC, q.Q_Number Q_Number, q.Q_ID Q_ID, TRIM(q.TEXT) text, TRIM(q.A1) A1, TRIM(q.A2) A2, TRIM(q.A3) A3, TRIM(q.A4) A4, TRIM(q.A5) A5, TRIM(A6) A6 from  COE_DATA d, coe_questions q WHERE q.Q_Number = d.Q_ID and Q_Number < 6 and d.Person = :Personp order by Q_Number]]>
    </sqlStatement>
    <sqlStatement name="Department_Questions_Query">
    <![CDATA[select DISTINCT d.PERSON PERSON, d.SEC SEC, q.Q_Number Q_Number, q.Q_ID Q_ID, TRIM(q.TEXT) text, TRIM(q.A1) A1, TRIM(q.A2) A2, TRIM(q.A3) A3, TRIM(q.A4) A4, TRIM(q.A5) A5, TRIM(A6) A6 from  COE_DATA d, coe_questions q WHERE q.Q_Number = d.Q_ID and d.Person = :Personp order by Q_Number]]>
    </sqlStatement>
    <sqlStatement name="Results_Query">
    <![CDATA[SELECT DISTINCT a.person person, a.rectype rectype, a.sec sec, a.term term, a.Q_ID q_id,
    NVL((SELECT b.PERCENTVALUE FROM coe_data b where a.person = b.person and a.rectype = b.RECTYPE and a.sec = b.sec and a.term = b.term and a.Q_ID = b.Q_ID and b.AD_ID = 1 ), '0 |  0.00%') A1,
    NVL((SELECT c.PERCENTVALUE FROM coe_data c where a.person = c.person and a.rectype = c.RECTYPE and a.sec = c.sec and a.term = c.term and a.Q_ID = c.Q_ID and c.AD_ID = 2 ), '0 |  0.00%') A2,
    NVL((SELECT d.PERCENTVALUE FROM coe_data d where a.person = d.person and a.rectype = d.RECTYPE and a.sec = d.sec and a.term = d.term and a.Q_ID = d.Q_ID and d.AD_ID = 3 ), '0 |  0.00%') A3,
    NVL((SELECT f.PERCENTVALUE FROM coe_data f where a.person = f.person and a.rectype = f.RECTYPE and a.sec = f.sec and a.term = f.term and a.Q_ID = f.Q_ID and f.AD_ID = 4 ), '0 |  0.00%') A4,
    NVL((SELECT g.PERCENTVALUE FROM coe_data g where a.person = g.person and a.rectype = g.RECTYPE and a.sec = g.sec and a.term = g.term and a.Q_ID = g.Q_ID and g.AD_ID = 5 ), '0 |  0.00%') A5,
    NVL((SELECT h.PERCENTVALUE FROM coe_data h where a.person = h.person and a.rectype = h.RECTYPE and a.sec = h.sec and a.term = h.term and a.Q_ID = h.Q_ID and h.AD_ID = 6 ), '0 |  0.00%') A6, 1 o_id
      FROM coe_data a where term = :termp and a.Q_ID = :Q_Number and a.sec = 'COE' and a.person = 'COE'
    UNION
    SELECT DISTINCT a.person person, a.rectype rectype, a.sec sec, a.term term, a.Q_ID q_id,
    NVL((SELECT b.PERCENTVALUE FROM coe_data b where a.person = b.person and a.rectype = b.RECTYPE and a.sec = b.sec and a.term = b.term and a.Q_ID = b.Q_ID and b.AD_ID = 1 ), '0 |  0.00%') A1,
    NVL((SELECT c.PERCENTVALUE FROM coe_data c where a.person = c.person and a.rectype = c.RECTYPE and a.sec = c.sec and a.term = c.term and a.Q_ID = c.Q_ID and c.AD_ID = 2 ), '0 |  0.00%') A2,
    NVL((SELECT d.PERCENTVALUE FROM coe_data d where a.person = d.person and a.rectype = d.RECTYPE and a.sec = d.sec and a.term = d.term and a.Q_ID = d.Q_ID and d.AD_ID = 3 ), '0 |  0.00%') A3,
    NVL((SELECT f.PERCENTVALUE FROM coe_data f where a.person = f.person and a.rectype = f.RECTYPE and a.sec = f.sec and a.term = f.term and a.Q_ID = f.Q_ID and f.AD_ID = 4 ), '0 |  0.00%') A4,
    NVL((SELECT g.PERCENTVALUE FROM coe_data g where a.person = g.person and a.rectype = g.RECTYPE and a.sec = g.sec and a.term = g.term and a.Q_ID = g.Q_ID and g.AD_ID = 5 ), '0 |  0.00%') A5,
    NVL((SELECT h.PERCENTVALUE FROM coe_data h where a.person = h.person and a.rectype = h.RECTYPE and a.sec = h.sec and a.term = h.term and a.Q_ID = h.Q_ID and h.AD_ID = 6 ), '0 |  0.00%') A6, 2 o_id
      FROM coe_data a where term = :termp and a.Q_ID = :Q_Number and a.sec = :secp and a.person = :secp
    UNION
    SELECT DISTINCT a.person person, a.rectype rectype, a.sec sec, a.term term, a.Q_ID q_id,
    NVL((SELECT b.PERCENTVALUE FROM coe_data b where a.person = b.person and a.rectype = b.RECTYPE and a.sec = b.sec and a.term = b.term and a.Q_ID = b.Q_ID and b.AD_ID = 1 ), '0 |  0.00%') A1,
    NVL((SELECT c.PERCENTVALUE FROM coe_data c where a.person = c.person and a.rectype = c.RECTYPE and a.sec = c.sec and a.term = c.term and a.Q_ID = c.Q_ID and c.AD_ID = 2 ), '0 |  0.00%') A2,
    NVL((SELECT d.PERCENTVALUE FROM coe_data d where a.person = d.person and a.rectype = d.RECTYPE and a.sec = d.sec and a.term = d.term and a.Q_ID = d.Q_ID and d.AD_ID = 3 ), '0 |  0.00%') A3,
    NVL((SELECT f.PERCENTVALUE FROM coe_data f where a.person = f.person and a.rectype = f.RECTYPE and a.sec = f.sec and a.term = f.term and a.Q_ID = f.Q_ID and f.AD_ID = 4 ), '0 |  0.00%') A4,
    NVL((SELECT g.PERCENTVALUE FROM coe_data g where a.person = g.person and a.rectype = g.RECTYPE and a.sec = g.sec and a.term = g.term and a.Q_ID = g.Q_ID and g.AD_ID = 5 ), '0 |  0.00%') A5,
    NVL((SELECT h.PERCENTVALUE FROM coe_data h where a.person = h.person and a.rectype = h.RECTYPE and a.sec = h.sec and a.term = h.term and a.Q_ID = h.Q_ID and h.AD_ID = 6 ), '0 |  0.00%') A6, 3 o_id
      FROM coe_data a where term = :TERMP and a.Q_ID = :Q_NUMBER and a.sec = :SECP and a.person = :PERSONP order by o_id, rectype]]>
    </sqlStatement>
    </dataQuery>
    <!--dataTrigger name="beforeReport" source="results_report.beforeReportTrigger"/-->
    <dataStructure>
    <group name="G_People" source="People_Query">
    <element name="Person" value="personp"/>
    <element name="Section" value="secp"/>
    <element name="Course_Number" value="RECTYPEP"/>
    <element name="Term" value="TERMP"/>
    <element name="PERSEC" value="PERSEC"/>
    <group name="G_GENERAL_QUESTIONS" source="Department_Questions_Query">
    <element name="GQuestion_Text" value="text"/>
    <element name="GQuestion_Number" value="Q_Number"/>
    <element name="GQ1" value="A1"/>
    <element name="GQ2" value="A2"/>
    <element name="GQ3" value="A3"/>
    <element name="GQ4" value="A4"/>
    <element name="GQ5" value="A5"/>
    <element name="GQ6" value="A6"/>
    <group name="G_GENERAL_ANSWERS" source="Results_Query">
    <element name="GAPerson" value="person"/>
    <element name="GArec" value="rectype"/>
    <element name="GAsec" value="sec"/>
    <element name="GARQ_ID" value="Q_ID"/>
    <element name="GA1" value="A1"/>
    <element name="GA2" value="A2"/>
    <element name="GA3" value="A3"/>
    <element name="GA4" value="A4"/>
    <element name="GA5" value="A5"/>
    <element name="GA6" value="A6"/>
    </group>
    </group>
    <group name="G_DEPARTMENT_QUESTIONS" source="Department_Questions_Query">
    <element name="DQuestion_Text" value="text"/>
    <element name="DQuestion_Number" value="Q_Number"/>
    <element name="DQ1" value="A1"/>
    <element name="DQ2" value="A2"/>
    <element name="DQ3" value="A3"/>
    <element name="DQ4" value="A4"/>
    <element name="DQ5" value="A5"/>
    <element name="DQ6" value="A6"/>
    <group name="G_DEPARTMENT_ANSWERS" source="Results_Query">
    <element name="DAPerson" value="person"/>
    <element name="DArec" value="rectype"/>
    <element name="DAsec" value="sec"/>
    <element name="DARQ_ID" value="Q_ID"/>
    <element name="DA1" value="A1"/>
    <element name="DA2" value="A2"/>
    <element name="DA3" value="A3"/>
    <element name="DA4" value="A4"/>
    <element name="DA5" value="A5"/>
    <element name="DA6" value="A6"/>
    </group>
    </group>
    </group>
    </dataStructure>
    </dataTemplate>
    I am trying to establish all my linking in this data template. However I noticed a discrepancy between the expected output and what I received. For some reason at the 3rd level of the dataStructure (the answer level), it restarts at Q_ID = 1 instead of whatever the Q_Number is from the level above. In my case all of the answers are in the same table regardless of category. Can someone offer up any help with fixing my template?
    I did notice something odd, for G_DEPARTMENT_ANSWERS it is working correct but does not work for G_GENERAL_ANSWERS.

    Warren,
    You need to select data source type as DataTemplate and then cut and paste your DataTemplate in the text editor window.
    Make sure you define the dataSourceRef in dataTemplate Header. The dataSourceRef is the DataSource (JDBC Connection) you define through Administartion.
    <dataTemplate name="Employee" description="Template description" dataSourceRef="demo">
    -Ashish

  • Spry XML Dataset Video Gallery Question

    Hi there,
    We are trying to create a video gallery using a Spry XML Dataset.
    It's currently working in FF and Safari, but not working in IE6-7 or Opera.
    Here is a link... http://www.rightsidedesign.com.au/test/tv.html
    IE seems to display the content for a second, but it doesn't load the videos or text, but then it disappears.
    The elements being fed via the dataset are the video, video description (at bottom right of video) and thumbnails
    Can anyone give us a hint as to what we might be doing wrong??
    We followed the tutorial at...   http://www.coremediadesign.co.uk/web_design_tutorials/dreamweaver_tutorials/spry_image_gal lery_adobe.html
    and replaced the image with an FLV player.
    Thanks for your help in advance!

    Hi there,
    We are trying to create a video gallery using a Spry XML Dataset.
    It's currently working in FF and Safari, but not working in IE6-7 or Opera.
    Here is a link... http://www.rightsidedesign.com.au/test/tv.html
    IE seems to display the content for a second, but it doesn't load the videos or text, but then it disappears.
    The elements being fed via the dataset are the video, video description (at bottom right of video) and thumbnails
    Can anyone give us a hint as to what we might be doing wrong??
    We followed the tutorial at...   http://www.coremediadesign.co.uk/web_design_tutorials/dreamweaver_tutorials/spry_image_gal lery_adobe.html
    and replaced the image with an FLV player.
    Thanks for your help in advance!

  • Weblogic-ejb-jar.xml generation and editing question with JEE5 / EJB3

    Since EJBGen only works with EJB 2.1, is there a way to auto-generate weblogic-ejb-jar.xml when using a JEE5 ejb module?
    In the tooling like OEPE 11g, an EJB3 project will generate an empty deployment descriptor weblogic-ejb-jar.xml file if you mark it that way in the wizard, but it doesn't populate it with any values.
    Is the weblogic-ejb-jar.xml file is created/edited by hand, do the settings like this example still work or even make sense given the changes in the spec between 2.1 and 3.0?
    <weblogic-enterprise-bean>
    <ejb-name>HelloUser</ejb-name>
    <stateless-session-descriptor>
    <pool>
    <max-beans-in-free-pool>50</max-beans-in-free-pool>
    <initial-beans-in-free-pool>10</initial-beans-in-free-pool>
    </pool>
    <stateless-clustering>
    <home-is-clusterable>True</home-is-clusterable>
    <home-load-algorithm>round-robin</home-load-algorithm>
    <stateless-bean-is-clusterable>True</stateless-bean-is-clusterable>
    <stateless-bean-load-algorithm>round-robin</stateless-bean-load-algorithm>
    </stateless-clustering>
    </stateless-session-descriptor>
    <enable-call-by-reference>true</enable-call-by-reference>
    </weblogic-enterprise-bean>
    ........

    Hi,
    For a JEE5 EJB module, rather than using EJBGen, you can use WLS specific annotations for configuring common settings. If you follow the link below, you can see a list of supported EJB annotations. Disregard the fact that the documentation section title is WebLogic Kodo Annotations. That is incorrect and I've filed a bug for it.
    http://edocs.bea.com/wls/docs103/ejb30/annotations.html#wp1438036.
    Unfortunately, we don't yet support setting all weblogic-ejb-jar.xml configuration values via annoations so in some cases a weblogic-ejb-jar.xml is still required.
    You can hand edit your weblogic-ejb-jar.xml and the example you posted below should work fine.
    - Matt

Maybe you are looking for