Using XML registry FactoryConfigurationError

Hi I have been trying to use the XML registry to parse an XML doc, using weblogic6.0.
I generated a custom parser from the dtd for the said xml doc.
I have attached the config window (reg1) for the registry, the SAX and Document
builder factories are the default.
I have also attached a portion of the code used to the JAXP to call the custom
generated parser class
When I try to run this I get the error specified below.
Running on a windows NT machine.
Any advice or pointers would be greatly appreciated.
Thanks,
Brian
<Apr 17, 2001 4:09:13 PM PDT> <Error> <HTTP> <[WebAppServletContext(5163124,subs
)] Servlet failed with Exception
javax.xml.parsers.FactoryConfigurationError: weblogicx.xml.objects.SubscriberPar
ser
at weblogic.xml.jaxp.RegistryParser.getCustomParser(RegistryParser.java:
247)
at weblogic.xml.jaxp.RegistryParser.getParser(RegistryParser.java:172)
at weblogic.xml.jaxp.RegistryParser.parse(RegistryParser.java:103)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:100)
at JAXPSubscriberParser.<init>(JAXPSubscriberParser.java:40)
at jsp_servlet._jaxpsubscriberparser._jspService(_jaxpsubscriberparser.j
ava:94)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:213)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:1265)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1622)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
[subs.doc]

Hi Rothrock, thanks for your reply...
Flash Version: 8, but the swf was published to be 7+
compatible.
The font is Meta Normal, it is embedded, and it does include
the character.
I am retrieving the xml by using this script in the html
page:
<script type="text/javascript">
// <![CDATA[
var fo = new FlashObject("/templates/flash/index.swf" +
cKiller, "ad-flash", "710", "351", "7", "#FFFFFF");
fo.addVariable("xmlURL", "/flash_content/products.xml");
fo.write("ad");
// ]]>
</script>
I am creating the XML using Macromedia Homesite, with the
encoding declaration <?xml version="1.0" encoding="UTF-8" ?>
The XML is being read fine, only the special characters don't
show up... so it will cut off the word, or just have an empty space
where the character should be.
I am not sure how to specifiy Extended Latin charset in the
document... could you tell me how to do that?
Thanks

Similar Messages

  • Ps query results to xml using xml link function registry

    In People tools version 8.46 we need something like where the ps query result output is in the form of XML so that it can be used for external system. The catch I cannot use webservices. It is something like opening peoplesoft queires form excel using hyperlink but in this case we need xml. I looked at David Vandiver's Excel XML libraries which open the data in excel but is there something where the hyperlink output is xml using xml link function registry. I have capatured the data in rowset and now need to create mime type of xml to write the data
    thanks in advance
    vinn

    If I understand correctly, you want to use something like Microsoft Excel's web queries to get data from a PeopleSoft query in XML format. I have never done this before, but if I were to implement this, here is what I would do in PT 8.46:
    1. Create an unstructured message in app designer.
    2. Create a user that only has access to the queries you want to expose to Excel
    3. Write synchronous message handler PeopleCode to call SwitchUser to switch to a specific query user rather than the generic integration broker user and execute a query, returning the results in XML (see [Query.RunToRowsest|http://download.oracle.com/docs/cd/E13292_01/pt849pbr0/eng/psbooks/tpcr/htm/tpcr31.htm#d0e113933] for an example).
    4. Call the message through IB using the HTTP GET URL format as defined in PeopleBooks: [http://download.oracle.com/docs/cd/E13292_01/pt849pbr0/eng/psbooks/tibr/book.htm?File=tibr/htm/tibr33.htm#H4026|http://download.oracle.com/docs/cd/E13292_01/pt849pbr0/eng/psbooks/tibr/book.htm?File=tibr/htm/tibr33.htm#H4026].

  • "package java.xml.registry does not exist" error in NetBeans

    Hi all
    I'm using netbeans for developing webservices and and have to use JAXR. I have downloaded and installed jwsdp1.5.
    When I view the source code for the JAXR sample java files that accompany the java EE tutorial in the NetBeans IDE Source Editor, I get the error : package java.xml.registry does not exist.
    However, the release note for NetBeans says that it supports JAXR.
    Also, when I compile and run the same files using DOS and the ant command, the files work.
    Can someone please tell me what to do and how to work on JAXR clients in NetBeans because the Help files don't have any documentation on it nor does the NeBeans Field Guide?

    Do you have the jaxrpc-api.jar and jaxprc-ri.jar in your classpath?
    They are in <wspack1.1 installation>/jaxrpc-1.0.2/lib
    Regards,
    Bhakti

  • Adding properties to XML Registry

    I'm using WLS 6.0. I was wondering if it is possible
    to add more properties into the XML Registry on the console.
    The two properties currently there are: DocumentBuilderFactory
    and SaxParserFactory.
    I'd like to add the two system properties: javax.xml.transform.TransformerFactory
    and org.xml.sax.driver.
    I know I can set these from the command line using the
    -D option but I'd much rather have the configuration
    in the console.
    Can I do this? If so, how?
    Thanks!

    Follow-up: Even though it lists 4 missing required properties in the error, when I went back and added only the Value property, the red flags went away....
    Werry Interestink!

  • Weblogic XML Registry and Entity Resolution

    Hi,
    I have configure Weblogic XML Registry as described in
    http://e-docs.bea.com/wls/docs81/ConsoleHelp/xml.html. I have a directory
    where my dtds reside (%WLDOMAIN%/xml/registries/MyRegistry/). I using JAXP
    (the BEA recommended API which should automatically make use of the registry
    for entity resolution). But somehow it seems that it is looking in the root
    of the weblogic domain for the entities and not in the registry entities
    directory.
    A sample doctype in one of my doc looks like <!DOCTYPE substance_id PUBLIC
    "-//CAS//DTD substance_id//EN" "substance_id.dtd">
    The registry is configured as follows
    Public ID System ID
    Entity URI When To Cache Cache Timeout Interval
    ============================================================================
    ===============
    -//CAS//ENTITY CMD Defined Entities//EN CMSents.dtd CMSents.dtd
    defer-to-registry-setting -1
    -//CAS//DTD control//EN control.dtd
    control.dtd defer-to-registry-setting -1
    -//CAS//DTD substance_id//EN substance_id.dtd
    substance_id.dtd defer-to-registry-setting -1
    Below is the exception from the server log. Any help would be greatly
    appreaciated.
    ####<Dec 12, 2003 11:09:32 AM EST> <Debug> <org.cas.felix.util.XML>
    <PC81227> <myserver> <ExecuteThread: '13' for queue:
    'weblogic.kernel.Default'> <<anonymous>> <BEA1-0009897C74118C32D0F4>
    <000000> <exception parsing document <?xml version="1.0"?>
    <!DOCTYPE substance_id PUBLIC "-//CAS//DTD substance_id//EN"
    "substance_id.dt ... (4869)
    java.io.FileNotFoundException: D:\wls_domains\felix\substance_id.dtd (The
    system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:103)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at
    sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:6
    9)
    at
    sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection
    .java:156)
    at java.net.URL.openStream(URL.java:960)
    at
    weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.ja
    va:836)
    at
    weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager
    .java:796)
    at
    weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerIm
    pl.java:275)
    at
    weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XM
    LDocumentScannerImpl.java:841)
    at
    weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
    ocumentFragmentScannerImpl.java:329)
    at
    weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
    525)
    at
    weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
    581)
    at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    at
    weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
    a:1175)
    at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
    at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
    at org.cas.felix.util.XML.validate(XML.java:88)
    at org.cas.felix.util.XML.validate(XML.java:69)
    at org.cas.felix.si.master.MasterDocument.<init>(MasterDocument.java:94)
    at org.cas.felix.si.master.MasterDocument.<init>(MasterDocument.java:139)
    at
    org.cas.felix.si.j2ee.processing.FelixSIProcessorBean.processRecord(Unknown
    Source)
    at org.cas.felix.si.j2ee.processing.FelixSIProcessorBean.onMessage(Unknown
    Source)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:374)
    at
    weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:30
    8)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:273)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2550)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2470)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

    Hi Brian,
    In your config.xml, in the <XMLRegistry> section, what does the
    EntityURI look like? I believe it should be a relative entry, something
    like %WLDOMAIN%/xml/registries/MyRegistry
    If this is not the issue, I would encourage you to provide this
    information with your config.xml to our outstanding support team to
    resolve this issue.
    Thanks,
    Bruce
    Brian Sam-Bodden wrote:
    >
    Hi,
    I have configure Weblogic XML Registry as described in
    http://e-docs.bea.com/wls/docs81/ConsoleHelp/xml.html. I have a directory
    where my dtds reside (%WLDOMAIN%/xml/registries/MyRegistry/). I using JAXP
    (the BEA recommended API which should automatically make use of the registry
    for entity resolution). But somehow it seems that it is looking in the root
    of the weblogic domain for the entities and not in the registry entities
    directory.
    A sample doctype in one of my doc looks like <!DOCTYPE substance_id PUBLIC
    "-//CAS//DTD substance_id//EN" "substance_id.dtd">
    The registry is configured as follows
    Public ID System ID
    Entity URI When To Cache Cache Timeout Interval
    ============================================================================
    ===============
    -//CAS//ENTITY CMD Defined Entities//EN CMSents.dtd CMSents.dtd
    defer-to-registry-setting -1
    -//CAS//DTD control//EN control.dtd
    control.dtd defer-to-registry-setting -1
    -//CAS//DTD substance_id//EN substance_id.dtd
    substance_id.dtd defer-to-registry-setting -1
    Below is the exception from the server log. Any help would be greatly
    appreaciated.
    ####<Dec 12, 2003 11:09:32 AM EST> <Debug> <org.cas.felix.util.XML>
    <PC81227> <myserver> <ExecuteThread: '13' for queue:
    'weblogic.kernel.Default'> <<anonymous>> <BEA1-0009897C74118C32D0F4>
    <000000> <exception parsing document <?xml version="1.0"?>
    <!DOCTYPE substance_id PUBLIC "-//CAS//DTD substance_id//EN"
    "substance_id.dt ... (4869)
    java.io.FileNotFoundException: D:\wls_domains\felix\substance_id.dtd (The
    system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:103)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at
    sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:6
    9)
    at
    sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection
    .java:156)
    at java.net.URL.openStream(URL.java:960)
    at
    weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.ja
    va:836)
    at
    weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager
    .java:796)
    at
    weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerIm
    pl.java:275)
    at
    weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XM
    LDocumentScannerImpl.java:841)
    at
    weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
    ocumentFragmentScannerImpl.java:329)
    at
    weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
    525)
    at
    weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
    581)
    at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    at
    weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
    a:1175)
    at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
    at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
    at org.cas.felix.util.XML.validate(XML.java:88)
    at org.cas.felix.util.XML.validate(XML.java:69)
    at org.cas.felix.si.master.MasterDocument.<init>(MasterDocument.java:94)
    at org.cas.felix.si.master.MasterDocument.<init>(MasterDocument.java:139)
    at
    org.cas.felix.si.j2ee.processing.FelixSIProcessorBean.processRecord(Unknown
    Source)
    at org.cas.felix.si.j2ee.processing.FelixSIProcessorBean.onMessage(Unknown
    Source)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:374)
    at
    weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:30
    8)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:273)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2550)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2470)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

  • XML Registry problem in WLS 7.0

    Hi,
    I have created an XML Registry with SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
    because i want to use the latest saxparser in my webapplication. But when i invoke
    this line of code in my webapplication: -
    SAXParserFactory spf = SAXParserFactory.newInstance();
    i get weblogic.xml.jaxp.RegistrySAXParserFactory instead of org.apache.xerces.jaxp.SAXParserFactoryImpl
    I also get system property javax.xml.parsers.SAXParserFactory=weblogic.xml.jaxp.RegistrySAXParserFactory
    in the WLS log file.
    I have tried putting xercesImpl.jar in the classpath before weblogic.jar. I also
    tried changing the system property in startWLS.cmd also, ..but all in vain.
    Can someone help me out in figuring out who is setting this system property to
    WLS's default SAXfactory and how can i use my parser work in a webapplication?
    Any help would be greatly appreciated!!
    thanks -
    Manoj

    First thing, most of BEA's forums are terrible as people rarely reply. I noticed your post through google searching for the same fix. You have likely done the same things as me and have learned that your Oracle JDBC Client driver has some bugs interacting with certain version of Oracle Server. For us, this problem occured when we migrated from Solaris to AIX. We were able to fix this by downloading the latest version of ojdbc14.zip from oracle's site. You can either replace the current ojdbc14 file in the bea installation or make sure it is visible in the classpath for WLS before the old version.
    Here is a good link which describes the problem, good luck.
    http://www.dbtalk.net/comp-databases-oracle-server/java-sql-sqlexception-bigger-type-289015.html

  • XML Registry

    I'm still trying to run Xalan from the server side...
    I tried to set up an XML Registry to use the org.apache.xerces.jaxp
    classes. Though it is selected by the server on the XML Services tab,
    and it is the only registry I have, I print out the factory and parser
    classes that get created, and they are still
    weblogic.xml.jaxp.RegistryBlahblahblah classes. The config.xml has the
    right class names as shown on the console. Why aren't they used?
    The other question I have is that since the Xerces classes that I want
    to use have the same names as the ones included but are a different
    version, how do I get the server to use the new classes and not the ones
    bundled with WebLogic?
    Any help would be greatly appreciated!
    Michelle

    Try to define XML Registry Entry for your specific DTD.
    WL compares PublicId, SystemId and RootElement between XML and DTD to find
    specific Parser class name for your XML. In this case you must create
    xml/registry directory in your domain directory and put there your DTD file.
    If it still not working - write this code:
    public SAXParser getParser() {
    // Return the parser we already created (if any)
    if(parser!=null) {
    return (parser);
    // Create and return a new parser
    try {
    SAXParserFactory factory= new
    org.apache.xerces.jaxp.SAXParserFactoryImpl();
    factory.setNamespaceAware(false);
    factory.setValidating(false);
    parser=factory.newSAXParser();
    return (parser);
    } catch(Exception e) {
    System.out.println("getParser: "+e.getMessage());
    return (null);
    "Michelle Baxter" <[email protected]> wrote in message
    news:[email protected]...
    Ok, thanks. I suspected it might be wrapping it, but I wasn't sure how
    to tell. I have not figured out how to get the server to run as a
    JBuilder run configuration to debug it. It's looking for ".\config",
    even though I've given it weblogic.system.home. So I can't look at the
    stack trace, at least not that way.
    Whatever parser it's getting, it's still the wrong one because I still
    get the AbstractMethodError. I don't see how it's possible to have the
    wrong version with xmlx.jar out of the way. But I have to keep looking.
    Thanks for all your help.
    Sandeep Shrivastava wrote:
    The parser is weblogic.xml.jaxp.RegistrySAXParser, but it wraps the
    org.apache.xerces.parser.SAXParser. the actual parse will be done by the
    xerces parser ( whatever is configured in the xml registry )
    look at the stack trace in one of your sax callback methods to verify
    this.
    >>
    sandeep
    Michelle Baxter wrote in message <[email protected]>...
    If that is true, then why when I print out the class name of a parser
    that I created do I get weblogic.xml.jaxp.RegistrySAXParser instead of
    org.apache.xerces.parsers.SAXParser, which is what is configured in the
    config.xml file?
    Sandeep Shrivastava wrote:
    the weblogic.xml.jaxp package contains classes which implement JAXP
    inside
    weblogic server. The parser configured in the registry will be invoked
    by
    the server's jaxp implementation. You can verify this by examining thestack
    trace inside one of your sax handler callback methods.
    Michelle Baxter wrote in message <[email protected]>...
    I'm trying to use Xalan 2J D05. The config.xml is attached.
    Xalan is the first thing in my classpath when I run the server.
    Xerces
    is the second. I tried renaming xmlx.jar to something else, but it
    doesn't make a difference.
    Sandeep Shrivastava wrote:
    Which version of Xalan are you trying to use?
    Can you post the config.xml?
    The weblogic 6.0 install contains Xerces 1.2 in
    weblogic.apache.xerces.parsers package and Xalan 1.2 in the
    weblogic.apache.xalan.xslt package ( These are the built-in sax and
    dom
    parser and xslt engine, bundled in weblogic.jar )
    The install also includes Xerces 1.2 in theorg.apache.xerces.parsers
    package and Xalan 1.2 in the org.apache.xalan.xslt package ( Theseare
    >>>>>
    the
    XML module's parser and xslt engine, bundled in xmlx.jar )
    If you want to use another version of xalan rename the xmlx.jar to
    xmlx.jar.bak in the lib directory of the install. You may lose on
    the
    >>>>>
    other
    goodies that come with the XML module, i.e. the parser generator and
    the
    jsp
    tag library though.
    thanks
    Sandeep
    "Michelle Baxter" <[email protected]> wrote in message
    news:[email protected]...
    I'm still trying to run Xalan from the server side...
    I tried to set up an XML Registry to use the org.apache.xerces.jaxp
    classes. Though it is selected by the server on the XML Services
    tab,
    and it is the only registry I have, I print out the factory andparser
    classes that get created, and they are still
    weblogic.xml.jaxp.RegistryBlahblahblah classes. The config.xml hasthe
    right class names as shown on the console. Why aren't they used?
    The other question I have is that since the Xerces classes that Iwant
    to use have the same names as the ones included but are a different
    version, how do I get the server to use the new classes and not theones
    bundled with WebLogic?
    Any help would be greatly appreciated!
    Michelle

  • WL 6.1 and Configuring External Entity Resolution with XML Registry

    I have an XML document that uses a DTD with an http:// URL (specifically, my configuration
    file for Struts). It works fine if the machine on which WebLogic is running has
    an internet connection, but doesn't work when that machine (for security reasons)
    is not connected.
    I found in the "Administering WebLogic server XML" document the "External Entity
    Configuration Tasks" section which seemed that it would solve my problem by specifying
    a local file when encountering an external entity. I followed the directions,
    but it didn't seem to make a difference.
    Am I interpreting the documentation correctly (and if so, would the XMLRegistry
    section below do what I think it should do), or do I need to do something completely
    different (i.e., modify the Struts code) to have it not look for the http-based
    DTD?
    Any help is appreciated.
    ;ted
    The XMLRegistry section of the config.xml file:
    <XMLRegistry Name="Struts">
    <XMLEntitySpecRegistryEntry CacheTimeoutInterval="-1" EntityURI="file:c:/struts-config_1_1.dtd"
    Name="XMLEntitySpecRegistryEntry-1003533562502" PublicId="-//Apache Software Foundation//DTD
    Struts Configuration 1.1//EN" WhenToCache="cache-at-initialization" />
    <XMLEntitySpecRegistryEntry EntityURI="file:c:/struts-config_1_1.dtd" Name="XMLEntitySpecRegistryEntry-1003525690002"
    SystemId="http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd" />
    </XMLRegistry>
    A copy of the struts-config_1_1.dtd file is in the C:\ directory.

    Firstly, ensure that your XML Registry is targeted at a server. I know that's stating the obvious but you never know.
    Secondly the xml/registries/??? directory belongs in the config/domain directory and not one level higher in the applications directory.
    I'm been experincing problems resolving to an XML Schema. Resolution to a DTD works fine. Let me know how you get along

  • How Do You Use XML To Create Image Upload On A WebSite?

    Hello,
    Could some one please help me understand how to create web image gallery and web video gallery using XML? I have found few xml codes that could be used to do this but I am not so sure how to use them. I want my clients to be able upload images and videos with linking thumbnails to Image and or Videos. Do you think the codes I included in this question will help me achive this goal? And do I need to put all in one and in the same directory so it will work? Please help with your idea and tell me how you would use these codes and how you may step-by-step implement the idea your self to your own web site.
    I have also included the instruction I found on the web with the codes.
    Starting with You Tube, API on their video gallery, here are the codes I found,
    Assume you are to use the YouTube, XML code; What will you change here so it will work on your own www.domain.com?
    <% Dim xml, xhr, ns, YouTubeID, TrimmedID, GetJpeg, GetJpeg2, GetJpeg3, thumbnailUrl, xmlList, nodeList, TrimmedThumbnailUrl Set xml = Server.CreateObject("MSXML2.FreeThreadedDOMDocument")
    xml.async = False
    xml.setProperty "ServerHTTPRequest", True
    xml.Load("http://gdata.youtube.com/feeds/api/users/Shuggy23/favorites?orderby=updated") If xml.parseError.errorCode <> 0 Then
        Response.Write xml.parseError.reason End If Set xmlList = xml.getElementsByTagName("entry") Set nodeList = xml.SelectNodes("//media:thumbnail") For Each xmlItem In xmlList
        YouTubeID = xmlItem.getElementsByTagName("id")(0).Text
        TrimmedID = Replace(YouTubeID, "http://gdata.youtube.com/feeds/api/videos/", "")
        For Each xmlItem2 In nodeList
            thumbnailUrl = xmlItem2.getAttribute("url")
            Response.Write thumbnailUrl & "<br />"
        Next     Next    
    %>
    For the image gallery, the following are the codes I found with your experience do I need to use the entire codes or just some of them that I should use?
    CODE #01Converting Database queries to XML
    Using XML as data sources presumes the existence of XML. Often, it is easier to have the server create the XML from a database on the fly. Below are some scripts for common server models that do such a thing.
    These are starting points. They will need to be customized for your particular scenario.
    All these scripts will export the data from a database table with this structure:
    ID: integer, primary key, autoincrement
    AlbumName: text(255)
    ImagePath: text(255)
    ImageDescription: text(2000)
    UploadDate: datetime
    The output of the manual scripts will look like:
    <?xml version="1.0" encoding="utf-8" ?>
      <images>
         <image>
              <ID>1</ID>
              <album><![CDATA[ Family ]]></album>
              <path><![CDATA[ /family/us.jpg ]]></path>
              <description><![CDATA[ here goes the description ]]></description>
              <date><![CDATA[ 2006-11-20 10:20:00 ]]></date>
         </image>
         <image>
              <ID>2</ID>
              <album><![CDATA[ Work ]]></album>
              <path><![CDATA[ /work/coleagues.jpg ]]></path>
              <description><![CDATA[ here goes the description ]]></description>
              <date><![CDATA[ 2006-11-21 12:34:00 ]]></date>
         </image>
      </images>
    These are all wrapped in CDATA because it is will work with all data types. They can be removed if you know you don't want them.
    Note: If using the column auto-generating versions, ensure that all the column types are text. Some databases have data type options like 'binary', that can't be converted to text. This will cause the script to fail.
    CODE #02ASP Manual: This version loops over a query. Edit the Query and XML node names to match your needs.
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <%
    Dim MM_conn_STRING
    MM_conn_STRING = "dsn=image_gallery;uid=xxxx;pwd=xxxx"
    %>
    <%
    Dim rsImages
    Dim rsImages_cmd
    Dim rsImages_numRows
    ' Query the database and get all the records from the Images table
    Set rsImages_cmd = Server.CreateObject ("ADODB.Command")
    rsImages_cmd.ActiveConnection = MM_conn_STRING
    rsImages_cmd.CommandText = "SELECT ID, AlbumName, ImagePath, ImageDescription, UploadDate FROM images"
    rsImages_cmd.Prepared = true
    Set rsImages = rsImages_cmd.Execute
    ' Send the headers
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %><?xml version="1.0" encoding="utf-8"?>
    <images>
      <% While (NOT rsImages.EOF) %>
         <image>
              <ID><%=(rsImages.Fields.Item("ID").Value)%></ID>
              <album><![CDATA[<%=(rsImages.Fields.Item("AlbumName").Value)%>]]></album>
              <path><![CDATA[<%=(rsImages.Fields.Item("ImagePath").Value)%>]]></path>
              <description><![CDATA[<%=(rsImages.Fields.Item("ImageDescription").Value)%>]]></description>
              <date><![CDATA[<%=(rsImages.Fields.Item("UploadDate").Value)%>]]></date>
         </image>
        <%
           rsImages.MoveNext()
         Wend
    %>
    </images>
    <%
    rsImages.Close()
    Set rsImages = Nothing
    %>
    CODE #03
    Automatic: This version evaluates the query and automatically builds the nodes from the column names.
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <%
    Dim MM_conn_STRING
    MM_conn_STRING = "dsn=image_gallery;uid=xxxx;pwd=xxxx"
    %>
    <%
    Dim rsAll
    Dim rsAll_cmd
    Dim rsAll_numRows
    ' Query the database and get all the records from the Images table
    Set rsAll_cmd = Server.CreateObject ("ADODB.Command")
    rsAll_cmd.ActiveConnection = MM_conn_STRING
    rsAll_cmd.CommandText = "SELECT * FROM Images"
    rsAll_cmd.Prepared = true
    Set rsAll = rsAll_cmd.Execute
    ' Send the headers
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %><?xml version="1.0" encoding="utf-8"?>
    <root>
      <% While (NOT rsAll.EOF) %>
         <row>
             <%
                 For each field in rsAll.Fields
                 column = field.name
             %>
              <<%=column%>><![CDATA[<%=(rsAll.Fields.Item(column).Value)%>]]></<%=column%>>
              <%
                 Next
              %>
         </row>
        <%
           rsAll.MoveNext()
         Wend
    %>
    </root>
    <%
    rsAll.Close()
    Set rsAll = Nothing
    %>

    OK, I understand - thanks for that.
    I thought the whole process was supposed to be a bit more seemless? Having to upload/download documents and manually keep them in sync will leave a lot of room for errors.
    It's kinda painful the way iOS doesn't have folders. It makes things incompatible with the Mac and means you can't group files from multiple apps into a single project - who organises their digital life by the apps they use?
    I think I'll recommend they use their iPad only.
    Thanks for that.
    Cheers
    Ben

  • How to create a report using XML data source from Crystal Report Designer

    Hi,
    Iu2019m having Crystal Report Designer XI R2 SP4. Iu2019m trying to create a report using XML data source stored on disk. This is a customer order report and the xml is structured in such a way that it has an order details header part (master) and then it has several order lines (detail). One order line can have several order line characteristics (detail-detail). So what I need to know is now I can design this layout from the designer. If this was done using views I can do it with sub-reports but using xml data this seems to be different. Can you help me to design this layout? I have included the xml and xsd as well.
    Thank you in advance.
    Regards,
    Chanaka
    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <CUSTOMER_ORDER_CONF_REP_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep">
        <CUSTOMER_ORDER_CONF_REP>
            <ORDER_NO>D555809</ORDER_NO>
            <PRINTED_DATE>2009-03-26T08:52:54</PRINTED_DATE>
            <AUTHORIZE_NAME>Chanaka</AUTHORIZE_NAME>
            <CUSTOMER_NO>CU-1473-INV</CUSTOMER_NO>
            <CUST_NAME>Mr.Johan Matts</CUST_NAME>
            <SHIP_ADDR_1>93,Main Street</SHIP_ADDR_1>
            <SHIP_ADDR_2>Negambo Road</SHIP_ADDR_2>
            <SHIP_ADDR_3>Watthala</SHIP_ADDR_3>
            <SHIP_ADDR_4>SRI LANKA</SHIP_ADDR_4>
            <BILL_ADDR_1>93,Main Street</BILL_ADDR_1>
            <BILL_ADDR_2>Negambo Road</BILL_ADDR_2>
            <BILL_ADDR_3>Watthala</BILL_ADDR_3>
            <BILL_ADDR_4>SRI LANKA</BILL_ADDR_4>
            <CUSTOMER_PO_NO>112984638</CUSTOMER_PO_NO>
            <CUSTOMER_FAX>112984639</CUSTOMER_FAX>
            <CUSTOMER_EMAIL>abcbababab</CUSTOMER_EMAIL>
            <ORDER_LINES>
                <ORDER_LINE>
                    <LINE_NO>1</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP11</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>iPod</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1200</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID xsi:nil="1"/>
                            <CHARACTERISTIC_VALUE xsi:nil="1"/>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>2</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP24</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>XGA Projector</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1500</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>3</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Instalation</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>3</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP02</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony DVD Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1000</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1000</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free 5 DVDs</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>4</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP99</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Flatscreen TV</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1350</PRICE_TOTAL>
                    <DISCOUNT>10</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Delivery</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>1 year additional warranty</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>5</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP56</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony MP3 Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>400</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>2</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free carry belt</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free promotional 4GB memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>3</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>No warranty on memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
            </ORDER_LINES>
        </CUSTOMER_ORDER_CONF_REP>
    </CUSTOMER_ORDER_CONF_REP_REQUEST>
    XSD
    <?xml version="1.0" encoding="UTF-8"?>
    <?report  module="ORDER" package="CUSTOMER_ORDER_CONF_REP" ?>
    <xs:schema targetNamespace="urn:ifsworld-com:customer_order_conf_rep" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="CUSTOMER_ORDER_CONF_REP_REQUEST">
    <xs:complexType>
    <xs:all minOccurs="1" maxOccurs="1">
    <xs:element name="CUSTOMER_ORDER_CONF_REP">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="50">
    <xs:element name="ORDER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PRINTED_DATE" type="xs:dateTime" nillable="true" minOccurs="0"/>
    <xs:element name="AUTHORIZE_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PO_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUST_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_FAX" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_EMAIL" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINES" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="ORDER_LINE">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="39">
    <xs:element name="LINE_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SALE_UNIT_PRICE" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_TOTAL" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="DISCOUNT" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_QTY" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="CUSTOMER_PART_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PART_DESC" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINE_CHARACTERSTICS" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="CHARACTERISTIC_ITEM">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="6">
    <xs:element name="CHARACTERISTIC_ID" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CHARACTERISTIC_VALUE" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:all>
    </xs:complexType>
    </xs:element>
    </xs:schema>

    Hi Sourashree,
    Thank you for the response and ideas you have given me so far. I can get the fetch the data from the data source without any problem. That is I do the following,
    1.     New Report
    2.     From Create New Connection-> XML
    3.     Provide the u201CLocal XML Fileu201D and have u201CSpecify Schema Fileu201D checked -> Next
    4.     Provide the u201CLocal Schema Fileu201D  -> Finish
    Then I can see the following under XML
    + CUSTOMER_ORDER_CONF_REP_REQUEST
            CUSTOMER_ORDER_CONF_REP_REQUEST
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    And from here if I add the following three I can get all the fields I need to the report
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    Then I come to the Linking section. Here I canu2019t link anything. There is a common field called u201CInternal_IDu201D but I canu2019t link using it. So I get a message when I click Next. From here I add all the fields.
    For this point onwards only I need help. How do I group, add fields and design the layout so I can get an report output as follows.
    Date
    Order number                                   Authorized code
    Customer No
    Name
    Phone
    Fax email
    Shipping address 1                              Billing Address 1
    Shipping address 2                              Billing Address 2
    Shipping address 3                              Billing Address 3
    Shipping address 4                              Billing Address 4
    Order Line 1 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026                      LINE_NO     CUSTOMER_PART_NO          CUSTOMER_PART_DESC     SALE_UNIT_PRICE     PRICE_QTY     DISCOUNT     PRICE_TOTAL
    Characteristic details belonging to Order line 1       CHARACTERISTIC_ID 1  CHARACTERISTIC_VALUE1
                                           CHARACTERISTIC_ID 2  CHARACTERISTIC_VALUE2
                                           CHARACTERISTIC_ID 3  CHARACTERISTIC_VALUE3
    Order Line 2 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 2
    Order Line 3 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 3
    Order Line 4 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 4
    Order Line 5 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 5
    How can I achieve this kind of a layout using the give xml and xsd? Should I use grouping if so how should I do the grouping?
    I have included the full xml and xsd in the first mail I posted but I canu2019t see it now. I can include that again if you want.
    Regards,
    Chanaka

  • Error while trying to update the XML template using XML Publisher Administrator

    Hello Folks,
    We are on R12.1.3
    I changed a condition in a report and trying to upload the new XML template using XML Publisher Administrator.
    when i click the Apply button, it is throwing an error 'Bad Request'
    Navigation : XML Publisher Administrator > Data Definitions > query the report
    Click on the name of the report > click 'Update file' besides Data Template > Choose file > Click Apply
    I am getting the below error
    Bad Request
    Your browser sent a request that this server could not understand.
    Now, i could not upload a new XML template.
    Am I doing anything wrong.
    regards,
    Kris

    user10163762 wrote:
    Thank you Eugen and Hussein.
    The problem is not with the template.
    It seems to be a problem in that particular instance.
    Uploaded it in a different instance.
    However once i run the program, i cannot view the output as the browser window flashes and disappears.
    My colleague says , it is to do with the trusted site to download something from the browser.
    Can you please guide me on how to fix this ?
    http://bit.ly/1k8e2vi
    Thanks,
    Hussein

  • Creating a text output using XML Publisher

    Hi All,
    Recently i created a  report for my client using XMl Publisher. The Data Definition was XML and the template type was RTF and i got the output in a PDF format. All was going smoothly until the client decided at the last moment that they wanted to print this in a dot matrix printer!
    I've read some articles on XSL- Text layout templates. But i can't get my head around it (I'm Functio-Technical as opposed to Techno-Functional )
    How do i convert my RTF template to give me a text output?
    Miranga

    From what I know, you will have to create another template based on "XSL" layout or eText layout (both of them require different coding methods). The RTF can not create text outputs even in 11g. This is based on my experience so far. You can create RTF output (available by default) based on the current layout that you use for PDF and see if it can be printed in a dot matrix printer though.

  • Crystal Report generation using XML

    I have some reports that were created using XML and as I recall when I created them using CR v. 9 I used a connections called ADO (Xml) or something like that. On one of my machines I have CR XI and the only option available is XML and when I add a field from this connection it inserts: "{NewDataSet\TableName.FieldName}" however, previously when I used the ADO XML connections it only inserted {TableName.FieldName}. In the version 9 CR i was using the professsional version and in the version 11 CR it is still the professional version but I can't seem to create an XML connector that doesn't prefix the table/field with "NewDataSet". My request is two fold, first, can you please direct me to some articles that I can read to better understand how to generate  CR from XML? My project is to generate the XML and then set the xml during runtime into the report using SetDataSource and then display the report using the CR viewing that I package and redist with my app. Secondly, why does the ADO XML connector not available in CR XI professional version and is there any way to get the CR v. 9 behaviour back?
    Thanks,
    Marcus

    Hi, Markus
    If you are planning to run reports from a .NET application, you need to have the Developer edition, not the professional.
    The ADO.NET Driver is not installed by default. Go into Control Panel - Add / Remove programs, and chose Crystal Reports, and change. You can expand the Database drivers, and you should see the ADO.NET driver there. Note: you need to have the .NET framework installed for this to work.
    Regards,
    Jonathan

  • Report VS Excel output using XML Publisher tool (DBMS_XMLGEN)

    Hi All,
    Currently I am working on report generation in MRP module with Excel output using XML Publisher tool.
    XML tool works based on query.
    I have developed PLSQL block by using DBMS_XMLGEN – database package, to generate XML output of query.
    My question is how we can put generated xml on above PLSQL block into OUT file (APPS).
    Because DBMS_OUTPUT.PUT_LINE( ) has limitation, it allow 255 character string only.
    But I do not know, Is FND_FILE.PUT_LINE (FND_FILE.OUTPUT,’’) allow for large data?
    If it does not allow what will be the other solution in oracle application to resolve above problem.
    Let me know any queries regarding to this problem.
    Thanks and Regards,
    Sai Krishna @cavaya.com

    Hi Prakash,
    Thanks for the reply. We did apply the one-off patch and got rid of the problem of not viewing 'Excel' output using XMLP.
    Now we are looking at a different perspective:
    Basically our client is looking for the following:
    1. Mathematical functions in the resulting XLS (like SUM, AVG etc..) ouput
    2. Use of macros if possible.
    And to do this i am looking out for a sample template that gives me output in excel format I have a TAR with Oracle for this purpose, but the TAR has so far been unsuccessful in providing us with any material in the direction.
    Our client remembers seeing this as a demo at the Oracle Conference this yr at San Fransisco, but does not have a sample to provide us. We are looking for such a sample.
    Thx,
    Nitin

  • Excel Output for Standard Reports using XML Publisher

    Hi All,
    Customer wants to get Excel Output for the existing Standard/Custom Reports using XML Publisher. I followed the following procedure.
    1. Changed the output to XML for Concurrent program ( Trial Balance - Detail )
    2. Used the Existing seeded Template
    3. Ran the Report using EXCEL as the output.
    When I clicked on View Output, I am not able to see the Excel output. I am seeing the HTML tags in the output window. Verified that Viewer Options existed for Excel as follows:
    File Format=Excel, Mime Type=application/vnd.ms-excel.
    When I ran the report with PDF output. I can see the PDF output.
    Ran the HTML output with new Viewer Option ( File Format=HTML, Mime Type=application/vnd.ms-excel) then I can see the output in Browser in the Excel format. I did this test after going through the Metalink Note: Note:316752.1
    My question is.. Do I need always choose the HTML ouput in the options window to trigger the Viewer option for HTML. Customer may not like this idea. He would like to choose the Excel Output and see the output in Excel format either in the Browser or Microsoft Excel.
    Can someone in this situation before help me out.
    Thanks,
    V

    Questions rephrase:
    1. Is the output is same for HTML and Excel options ?
    2. Why the output is viewable with HTML option and not with Excel option ?
    Customer has XML Publisher Version 5.0.1 and in the process of applying 5.6.1
    Thanks,
    V

Maybe you are looking for