How to print a xml schema diagram in JDev 10g

Hi,
When I print an XML schema file (.xsd), it is printing the script, where as I want to print it as an image.
For other class diagrams, I notice that we can publish them as JPEG or PNG and print it from Windows. But I could not find the same for an XML schema diagram?
Can you help?
Thanks, Raju

Well, the Schema Editor a Visual Editor, it does not intend to produce images to be printed... You can collapse and expand all nodes, how would you expect the printer to behave in such a situation?!
If you wish to print a diagram, you have to capture it for yourself with the appropriate tool - that will change depending on the OS you're working on, and include it in your document.
That is the way it works for now.
- Olivier

Similar Messages

  • How to compare two xml schemas

    Hello guys,
    How to compare two xml schemas? is there any tool for that?
    Thanksinadvance
    kavita//

    XML Files may be compared with the oracle.xml.differ.XMLDiff class.
    A file consisting of the differences in the xml files gets generated. An XSLT to convert one file to the other also gets generated.

  • How to edit an XML format report in Report 10G

    Hi
    Please tell me how to edit an XML format report in Report 10G .
    Regards
    Deepak Gupta
    Edited by: user12299081 on Sep 6, 2010 10:19 PM

    Hi
    Please tell me how to edit an XML format report in Report 10G .
    Regards
    Deepak Gupta
    Edited by: user12299081 on Sep 6, 2010 10:19 PM

  • How to Update an XML schema..

    Hi All,
    I am new to XML concept. I have a requirement to create a xml schema which will be updated on a weekly basis and a table which associated to the created xml schema.. when ever the Schema is updated the table should not get affected.. Is there a way to solve my problem.. Kindly help me.
    I am using the following client:
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 31 11:44:59 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ////////////////////////////////// XML Schema ///////////////////////
    begin
    dbms_xmlschema.registerSchema(
    'http://www.oradev.com/chipsxml1.xsd',
    '<schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.oradev.com/chipsxml1.xsd"
    xmlns:samp="http://www.oradev.com/chipsxml1.xsd"
    version="1.0">
    <element name="HICC">
    <complexType>
    <sequence>
         <element name="UTI">
              <complexType>
              <sequence>
              <element name = "U01" type = "string"/>
              <element name = "U02" type = "string"/>
              <element name = "U03" type = "string"/>
              <element name = "U03a" type = "string"/>
              <element name = "U03b" type = "string"/>
              <element name = "U03c" type = "string"/>          
              <element name = "U04" type = "string"/>                    
              <element name = "U05" type = "string"/>                    
              </sequence>
              </complexType>
         </element>
         <element name="SSI">
              <complexType>
              <sequence>
              <element name = "S01" type = "string"/>
              <element name = "S02" type = "string"/>
              <element name = "S02A" type = "string"/>
              <element name = "S02B" type = "string"/>
              <element name = "S02C" type = "string"/>          
              </sequence>
              </complexType>
         </element>
    </sequence>
    </complexType>
    </element>
    </schema>',
    TRUE, TRUE, FALSE, FALSE);
    end;
    ////////////////////////// Table which has multiple Column //////////////////////////
    CREATE TABLE chipsxmltable2 (
    id number, HICCXMLDATA XmlType)
    XMLTYPE HICCXMLDATA STORE AS OBJECT RELATIONAL
    XMLSCHEMA "http://www.oradev.com/chipsxml1.xsd"
    ELEMENT "HICC";
    ///////////////////////////////// Insert Query in chipsxmltable //////////////////////////
    INSERT INTO chipsxmltable2 VALUES(1,
    xmltype.createxml('<?xml version="1.0"?>
    <samp:HICC xmlns:samp="http://www.oradev.com/chipsxml1.xsd" >
    <UTI>
    <U01>No</U01>
    <U02>Y</U02>
    <U03>Y</U03>
    <U03a>Y</U03a>
    <U03b>Y</U03b>
    <U03c>Y</U03c>     
    <U04>Y</U04>
    <U05>Y</U05>          
    </UTI>
    <SSI>
    <S01>No</S01>
    <S02>Y</S02>
    <S02A>Y</S02A>
    <S02B>Y</S02B>
    <S02C>Y</S02C>
    </SSI>
    </samp:HICC>'));
    //////// This is my Revised XML Schema ///////////////////////
    begin
    dbms_xmlschema.registerSchema(
    'http://www.oradev.com/Rchipsxml1.xsd',
    '<schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.oradev.com/Rchipsxml1.xsd"
    xmlns:samp="http://www.oradev.com/Rchipsxml1.xsd"
    version="1.0">
    <element name="HICC">
    <complexType>
    <sequence>
         <element name="UTI">
              <complexType>
              <sequence>
              <element name = "U01" type = "string"/>
              <element name = "U02" type = "string"/>
              <element name = "U03" type = "string"/>
              <element name = "U03a" type = "string"/>
              <element name = "U03b" type = "string"/>
              <element name = "U03c" type = "string"/>          
              <element name = "U04" type = "string"/>                    
              <element name = "U05" type = "string"/>                    
              </sequence>
              </complexType>
         </element>
    </sequence>
    </complexType>
    </element>
    </schema>',
    TRUE, TRUE, FALSE, FALSE);
    end;
    My question is:
    How to update schema without affecting my table and the data which has already in the table?
    Apologies if the description is not clear. Kindly let me know if further details are needed. Many thanks for your help.
    Very best regards,
    Godwin Jebakumar C.V.
    Thanks in advance,
    Godwin Jebakumar

    Duplicate thread : {thread:id=2171878}
    Please mark this one as "answered".

  • How to load an XML schema with Data Integrator ?

    Post Author: Kris Van Belle
    CA Forum: Data Integration
    Is someone having experience with loading data from a regular table into an XML schema ?
    What are exactly the steps to undertake ? The DI user manual does not provide that much information...

    Post Author: bhofmans
    CA Forum: Data Integration
    Hi Kris,
    In the Designer.pdf there is a chapter called 'nested data' with more information, but you can also check this website with some detailed instructions and examples on how to build a nested relational data model (NRDM).
    http://www.consulting-accounting.com/time/servlet/ShowPage?COMPANYID=43&ELEMENTID=161
    (Thanks to Werner Daehn for putting this together).

  • How to load a XML-Schema (XSD) from Classpath

    Hi
    I want to perform XML Schema Validation using a XML-Schema stored in a File "MySchema.xsd" in the classpath.
    Unfortunately I have no clue, how I can load this file without using an absolute path. I already tried:
    Thread.currentThead().getContextClassLoader().getRessourceAsStream()but this method rejects to load Files with the extension XSD.It does however load the file, if I rename it to MySchema.xml or MySchema.properties, but then I cannot use the Visual Editors of JDeveloper to edit the File.
    Has anyone an idea, how I can load a XSD-File stored in the classpath?
    Thanks in advance
    Frank Brandstetter

    My Problem is, that I cannot load the Schema-File during runtime. I try to use code like this:
      String Schema = "sam/model/dataaccess/message/NavMessageXSD.xml";  // <== works with .xml, fails with .xsd
      ClassLoader loader = Thread.currentThread().getContextClassLoader();
      InputStream is = loader.getResourceAsStream(Schema);
      if (is==null)
        throw new Exception("Ressource not found");   // <== Exception thrown with .xsd
      XSDBuilder builder = new XSDBuilder();
      schemadoc = builder.build(new InputSource(is));
      DOMParser parser = new DOMParser();
      parser.setValidationMode(XMLParser.SCHEMA_VALIDATION);
      parser.setXMLSchema(schemadoc);This code works if "Schema" points to a file with extension .xml ("NavMessageXSD.xml"). It fails if "Schema" points to a file with extension .xsd ("NavMessageXSD.xsd").
    This file is already part of my project. If it is named "NavMessageXSD.xsd" I can edit it using the visual editor. If it is named "NavMessageXSD.xml" it is just an ordenary XML-File.
    Thanks for your help
    Frank Brandstetter

  • How Does FrameMaker Support XML Schemas?

    Hi All,
    I'm wondering how FM supports XML Schemas. I need to validate the uniqnuess of the value of an element in my XML. Let's say I have an XML like this one:
    <Param>
         <name>Parameter 1 name</name>
         <description>Parameter 1 description</description>
         <code>12345</code>
    </Param>
    <Param>
         <name>Parameter 2 name</name>
         <description>Parameter 2 description</description>
         <code>6789</code>
    </Param>
    The value of <code> must be unique throughout the XML file. As far as I know, I can add a validation of the uniqnuess of <code> into my XML schema. The question is whether this uniqnuess check will be supported by FM.
    Any advice is appreciated.
    Thank you very much!

    It should (though I have not tested it myself). Framemaker 11 uses XercesC 2.7 for parsing the incoming/outgoing XML and it supports unique constrains. EDD cannot check the possible violation, however.
    BR, Martti

  • XML Schema Collection (SQL Server 2012): How to create an XML Schema Collection that can be used to Validate a field name (column title) of an existing dbo Table of a Database in SSMS2012?

    Hi all,
    I used the following code to create a new Database (ScottChangDB) and a new Table (marvel) in my SQL Server 2012 Management Studio (SSMS2012) successfully:
    -- ScottChangDB.sql saved in C://Documents/SQL Server XQuery_MacLochlainns Weblog_code
    -- 14 April 2015 09:15 AM
    USE master
    IF EXISTS
    (SELECT 1
    FROM sys.databases
    WHERE name = 'ScottChangDB')
    DROP DATABASE ScottChangDB
    GO
    CREATE DATABASE ScottChangDB
    GO
    USE ScottChangDB
    CREATE TABLE [dbo].[marvel] (
    [avenger_name] [char] (30) NULL, [ID] INT NULL)
    INSERT INTO marvel
    (avenger_name,ID)
    VALUES
    ('Hulk', 1),
    ('Iron Man', 2),
    ('Black Widow', 3),
    ('Thor', 4),
    ('Captain America', 5),
    ('Hawkeye', 6),
    ('Winter Soldier', 7),
    ('Iron Patriot', 8);
    SELECT avenger_name FROM marvel ORDER BY ID For XML PATH('')
    DECLARE @x XML
    SELECT @x=(SELECT avenger_name FROM marvel ORDER BY ID FOR XML PATH('Marvel'))--,ROOT('root'))
    SELECT
    person.value('Marvel[4]', 'varchar(100)') AS NAME
    FROM @x.nodes('.') AS Tbl(person)
    ORDER BY NAME DESC
    --Or if you want the completed element
    SELECT @x.query('/Marvel[4]/avenger_name')
    DROP TABLE [marvel]
    Now I am trying to create my first XML Schema Collection to do the Validation on the Field Name (Column Title) of the "marvel" Table. I have studied Chapter 4 XML SCHEMA COLLECTIONS of the book "Pro SQL Server 2008 XML" written by
    Michael Coles (published by Apress) and some beginning pages of XQuery Language Reference, SQL Server 2012 Books ONline (published by Microsoft). I mimicked  Coles' Listing 04-05 and I wanted to execute the following first-drafted sql in
    my SSMS2012:
    -- Reference [Scott Chang modified Listing04-05.sql of Pro SQL Server 2008 XML by Michael Coles (Apress)]
    -- [shcColes04-05.sql saved in C:\\Documents\XML_SQL_Server2008_code_Coles_Apress]
    -- [executed: 2 April 2015 15:04 PM]
    -- shcXMLschemaTableValidate1.sql in ScottChangDB of SQL Server 2012 Management Studio (SSMS2012)
    -- saved in C:\Documents\XQuery-SQLServer2012
    tried to run: 15 April 2015 ??? AM
    USE ScottChangDB;
    GO
    CREATE XML SCHEMA COLLECTION dbo. ComplexTestSchemaCollection_all
    AS
    N'<?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="marvel">
    <xsd:complexType>
    <xsd:all>
    <xsd:element name="avenger_name" />
    <xsd:element name="ID" />
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>';
    GO
    DECLARE @x XML (dbo. ComplexTestSchemaCollection_all);
    SET @x = N'<?xml version="1.0"?>
    <marvel>
    <avenger_name>Thor</name>
    <ID>4</ID>
    </marvel>';
    SELECT @x;
    GO
    DROP XML SCHEMA COLLECTION dbo.ComplexTestSchemaCollection_all;
    GO
    I feel that drafted sql is very shaky and it needs the SQL Server XML experts to modify to make it work for me. Please kindly help, exam the coding of my shcXMLTableValidate1.sql and modify it to work.
    Thanks in advance,
    Scott Chang

    Hi Scott,
    2) Yes, FOR XML PATH clause converts relational data to XML format with a specific structure for the "marvel" Table. Regarding validate all the avenger_names, please see below
    sample.
    DECLARE @x XML
    SELECT @x=(SELECT ID ,avenger_name FROM marvel FOR XML PATH('Marvel'))
    SELECT @x
    SELECT
    n.value('avenger_name[1]','VARCHAR(99)') avenger_name,
    n.value('ID[1]','INT') ID
    FROM @x.nodes('//Marvel') Tab(n)
    WHERE n.value('ID[1]','INT') = 1 -- specify the ID here
    --FOR XML PATH('Marvel')  --uncommented this line if you want the result as element type
    3)i.check the xml schema content
    --find xml schema collection
    SELECT ss.name,xsc.name collection_name FROM sys.xml_schema_collections xsc JOIN sys.schemas ss ON xsc.schema_id= ss.schema_id
    select * from sys.schemas
    --check the schema content,use the name,collection_name from the above query
    SELECT xml_schema_namespace(N'name',N'collection_name')
    3)ii. View can be viewed as virtual table. Use a view to list the XML schema content.
    CREATE VIEW XSDContentView
    AS
    SELECT ss.name,xsc.name collection_name,cat.content
    FROM sys.xml_schema_collections xsc JOIN sys.schemas ss ON xsc.schema_id= ss.schema_id
    CROSS APPLY(
    SELECT xml_schema_namespace(ss.name,xsc.name) AS content
    ) AS cat
    WHERE xsc.name<>'sys'
    GO
    SELECT * FROM XSDContentView
    By the way, it would be appreciated if you can spread your questions into posts. For any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • How to import multiple XML schemas in Toplink.

    Hi All,
    I try to import multiple Schema(defined by EPCGlobal) in toplink This schema imports few other schemas and all are available in the same location.
    For this I tried to create a project by selecting XML radio button, and specified an XSD. The classes are getting generated for this file. After this, I try to import all other schema's using the Import schema option. I'm able to import it. but, I'm not able to generate classes for the schemas imported recently. Can you please let me know whether this is the expected behaviour..?
    Alternatively, I try to import a Schema(defined by EPCGlobal) in toplink through a TopLink-Jaxb Project. But I get the following exception..
    oracle.xml.parser.schema.XSDException
    at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:754)
    at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:407)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.toplink.workbench.utility.ClassTools.invokeMethodWithException(ClassTools.java:572
    at oracle.toplink.workbench.utility.ClassTools.attemptToInvokeMethodWithException(ClassTools
    .java:198)
    at oracle.toplink.workbench.utility.ClassTools.invokeMethodWithException(ClassTools.java:541
    at oracle.toplink.workbench.utility.ClassTools.invokeMethodWithException(ClassTools.java:526
    at oracle.toplink.workbench.mappingsmodel.schema.MWXmlSchema.reload(MWXmlSchema.java:481)
    at oracle.toplink.workbench.mappingsmodel.schema.MWXmlSchemaRepository.addSchema(MWXmlSchema
    Repository.java:107)
    at oracle.toplink.workbench.mappingsmodel.schema.MWXmlSchemaRepository.createSchemaFromFile(
    MWXmlSchemaRepository.java:89)
    at oracle.toplink.ox.jaxb.compiler.tljaxb.generate(tljaxb.java:70)
    at oracle.toplink.ox.jaxb.compiler.tljaxb.main(tljaxb.java:44)
    I tried to use the "tljaxb.cmd" but there too the same problem occurs.Where the problem could be..? please let me know.
    As I'm struck with this problem, please throw some light in this regard.
    Thanks
    Rajasekaran

    Rajasekaran,
    I have examined your XML schemas and do not believe that the problem is due to the import. Instead it is because the XML schema being imported is itself invalid. I have emailed you the specific correction to your XML schema. It was an error related to the namespace qualification of the type in one of your element declarations.
    -Blaise

  • How to Build a XML Schema myself ?

    I have a large xml document to be parsed
    DTD just can tell me whether the file is well-construct .
    I want to build a xml schema...but I have no resourse about this .
    can sb tell me the way ? better give me a sample .
    null

    I'd recommend getting started with a tool like XML Spy 3.5 from Altova (www.altova.com) or XML Authority from Extensibility (www.extensibility.com). I've used both and both are very capable.

  • !!! How to print javax.xml.soap.SOAPElement -- help plz

    hi
    I am receiving an javax.xml.soap.SOAPElement in a stand alone client ,from a webservice.Like:
    SOAPElement soapElement = port.findParty("35020722624");
    I want to print the entire XML in the soapElement . how can i do that ? please let me know asap.

    Hi,
    You could try a recursive method like this:
    public void printTree( NodeList nodes, String padding )
         for ( int i = 0; i < nodes.getLength(); i++ )
              Node node = nodes.item(i);
              String name = node.getNodeName();
              System.out.print(padding + "<" + name + ">");
              if ( node.hasChildNodes() )
                   System.out.println();
                   printTree(node.getChildNodes(), padding + " ");
              else
                   System.out.println(node.getNodeValue() + "</"" + name + ">");
    {code}
    HTH                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to handle multiple xmls(schemas) using java

    Can anyone give me solution for the below issue.
    We are handling five types of xmls(five different xsds) in our application.We have the XML and its XSD in database. Currently we are using JAXB to create and update the xmls.
    In future there is a chance to add new schema. In that case our current code will not work (because the JAXB is tightly coupled with the xsds) for new schema. Is there any technology or method to handle this situvation?
    I am looking for early respons.
    Thanks
    Dhans

    You have no idea? Then look in your JavaMail download and you will find several sample programs that you can use to get started. It would also help to read the JavaMail FAQ (Google will find it easily for you).

  • How do i change xml schema in java

    i want to change a oracle.xml.parser.schema.xmlschema object in java (adding or changing elements, types, etc). is there some hidden way i didn't think of besides changing the xmldocument object behind the schema and rebuilding the schema? i find that rather uncomfortable.
    i'd appreciate any answers, even negative ones :)
    thanks

    Refer to
    http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXPDOM9.html

  • How to print the the database diagram?

    Hello,
    I am using Jdev 10.1.3.2.0.
    I've created a data diagram for my project, from which we create our datamodel.
    Is there a way that we can print the database diagram, a HTML type containing tables, fields, Primary Keys, Foreign Keys, etc.?
    The only option I've found so far is publish the diagram as a png.
    Thanks in advance,
    Regards Leon

    Hello John,
    I should rephrase that to export.
    I'm looking for the type of functionality like creating the Javadoc for UML. Clickable maps which go to the table definitions etc.
    Regards Leon

  • How to run an XML Report from Oracle Forms 10G

    Hello Friends,
    I am in need of showing a xml report output through a button press trigger in Oracle Forms10G.
    I have designed the report in XML Publisher and the report looks fine.I found few scripts useful in running the Oracle Report from Oracle forms10G like Run_Report_Object.But I am not aware of any script that could run a XML report and show the output directly from a Form.
    All I want is to run a XML report from an Oracle Form with a button press trigger and show the output in an html version.
    Can this be achieved?
    If so, Kindly advise as this is an immediate work.
    Regards,
    Badrul.

    Hi,
    If I am not wrong the XML publisher is same as BI publisher ...
    There is one document which explains how to integrate using web service
    You want to check this
    http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v22.pdf
    or you can also try web.show_document ..

Maybe you are looking for

  • Can I access my USB drive connected to 3rd Gen Extreme via the internet?

    After reading the features of current Airport Extremes, it seems that one can acces their USB connected hard drive via the internet. Is this true and does that feature also exist on 3rd Gen extremes as well? If so, how do I access it via the internet

  • BEx front end version problem

    Hai everybody,               I am trying to edit an existing query. When I open the query designer( from excel sheet)  I am getting the following error message is appearing. The component was edited with a more recent version of the editor. You also

  • Displays pages in non-english

    I have recently moved from the USA to the Philippines, but my Firefox 3.6.12 now gives me pages in TAGALOG the Philipine language instead of ENGLISH even english is selected as my default language. What is the fix for this?

  • XML/XSLT question

    At the moment my java servlet just takes content from an ArrayList and populates html blocks that get concatenated and thrown to the client as a html page. This is not the best way to do things because the java code and html vocabulary is intersperse

  • How to play/copy a movie from a usb drive in itunes

    How do I play/copy a movie from a usb drive in itunes?