Introduction of XML
The Extensible Markup Language (XML) is a general-purpose specification for creating custom markup languages. It is classified as an extensible language, because it allows the user to define the mark-up elements. XML's purpose is to aid information systems in sharing structured data, especially via the Internet, to encode documents, and to serialize data; in the last context, it compares with text-based serialization languages such as JSON and YAML.
jack
[Travel Deals|http://www.vacationtraveldeals.org]
Very good concise introduction....
What is the question...????
Greetings,
Similar Messages
-
Anyone got any links to introduction courses to XSLT and XML?
cheers
An Introduction to XML for Developers
http://suned.sun.com/US/catalog/courses/WP-1501-90.html
XML Fundamentals for Developers
http://suned.sun.com/US/catalog/courses/WP-1502-90.html
Applying the Extensible Markup Language (XML)
http://suned.sun.com/US/catalog/courses/WP-1503-90.html -
hi
i am trying to parse a document and change a specific text value within an element althouh when i run the program it changes the nodes text however when i check the xml file it doesnt show the changes it remains the same the code that i am using is as follow iwould be greatful if any one culd help:
// ReplaceText.java
// Reads intro.xml and replaces a text node.
// Java core packages
import java.io.*;
// Java extension packages
import javax.xml.parsers.*;
import javax.xml.parsers.*;
import javax.xml.transform.*;
import javax.xml.transform.stream.*;
import javax.xml.transform.dom.*;
// third-party libraries
import org.xml.sax.*;
import org.w3c.dom.*;
public class ReplaceText {
private Document document;
public ReplaceText()
// parse document, find/replace element, output result
try {
// obtain default parser
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
// set parser as validating
factory.setValidating( true );
// obtain object that builds Documents
DocumentBuilder builder = factory.newDocumentBuilder();
// set error handler for validation errors
builder.setErrorHandler( new MyErrorHandler() );
System.err.println( "reading" );
// obtain document object from XML document
File f = new File("D:/Documents and Settings/Administrator/Desktop/xml adv java bk/appC/intro.xml");
System.err.println( "reading" );
document = builder.parse(f);
//document = builder.parse( new File( "intro.xml" ) );
System.err.println( "reading document" );
// retrieve the root node
Node root = document.getDocumentElement();
if ( root.getNodeType() == Node.ELEMENT_NODE ) {
Element myMessageNode = ( Element ) root;
NodeList messageNodes =
myMessageNode.getElementsByTagName( "message5" );
if ( messageNodes.getLength() != 0 ) {
Node message = messageNodes.item( 0 );
System.out.println("iiiii");
// create text node
Text newText = document.createTextNode(
"New Changed Message!!" );
// get old text node
Text oldText =
( Text ) message.getChildNodes().item( 0 );
// replace text
//message.removeChild(oldText);
message.replaceChild( newText, oldText );
// output Document object
// create DOMSource for source XML document
Source xmlSource = new DOMSource( document );
// create StreamResult for transformation result
Result result = new StreamResult( System.out );
// create TransformerFactory
TransformerFactory transformerFactory =
TransformerFactory.newInstance();
// create Transformer for transformation
Transformer transformer =
transformerFactory.newTransformer();
transformer.setOutputProperty( OutputKeys.INDENT, "yes" );
transformer.setOutputProperty( OutputKeys.STANDALONE, "yes" );
// transform and deliver content to client
transformer.transform( xmlSource, result );
// handle exception creating DocumentBuilder
catch ( ParserConfigurationException parserException ) {
parserException.printStackTrace();
// handle exception parsing Document
catch ( SAXException saxException ) {
saxException.printStackTrace();
// handle exception reading/writing data
catch ( IOException ioException ) {
ioException.printStackTrace();
System.exit( 1 );
// handle exception creating TransformerFactory
catch (
TransformerFactoryConfigurationError factoryError ) {
System.err.println( "Error while creating " +
"TransformerFactory" );
factoryError.printStackTrace();
// handle exception transforming document
catch ( TransformerException transformerError ) {
System.err.println( "Error transforming document" );
transformerError.printStackTrace();
public static void main( String args[] )
ReplaceText replace = new ReplaceText();
}the xml file that i am using is as follows:
<?xml version = "1.0"?>
<!-- Fig. 28.10 : intro.xml -->
<!-- Simple introduction to XML markup -->
<!DOCTYPE myMessage [
<!ELEMENT myMessage (message, message5)>
<!ELEMENT message (#PCDATA)>
<!ELEMENT message5 (#PCDATA)>
]>
<myMessage>
<message>welcome to the xml shhhhhushu</message>
<message5>welcome to the xml shhhhhushu</message5>
</myMessage>i would be greatful if some one could please help.....See if the Text 'oldText' actually has any text within it. Sometimes in DOM parsing, you will get something like:
Element
Text (blank)
Text (actual)
Text (blank)Whereas you would expect to receive:
Element
Text (actual)See if that is the case. If yes, modify your logic to iterate through the child text nodes until one with actual text inside of it (getNodeValue()) is found.
- Saish -
Building Oracle XML Application Book....
Has anyone purchased the 'Building Oracle XML Applications' book and do they have any opinions on it? Useful?
It it currently orderable, and is planned to ship by September 31st/October 1st, just in time for the Oracle OpenWorld conference.
The full table of contents (which eventually should be put also up on the O'Reilly Site) is:
Preface
Audience for This Book
Which Platform and Version?
Structure of This Book
Chapter Summaries
About the Examples
About the CD-ROM
Conventions Used in this Book
Comments and Questions
Acknowledgements
Part 1: XML Basics
Chapter 1: Introduction to XML
What Is XML?
What Can I Do With XML?
Why Should I Use It?
What XML Technology Does Oracle Provide?
Chapter 2: Working with XML
Creating and Validating XML
Modularizing XML
Searching XML with XPath
Part 2: Oracle XML Fundamentals
Chapter 3: Combining XML and Oracle
Hosting the XML FAQ System on Oracle
Serving XML in Any Format
Acquiring Web-Based XML Content
Chapter 4: Using JDeveloper for XML Development
Working with XML, XSQL, and JSP Files
Working with Database Objects
Using JDeveloper with Oracle XDK Components
Chapter 5: Processing XML with PL/SQL
Loading External XML Files
Parsing XML
Searching XML Documents with XPath
Working with XML Messages
Producing and Transforming XML Query Results
Chapter 6: Processing XML with Java
Introduction to Oracle8i JServer
Parsing and Programmatically Constructing XML
Searching XML Documents in Memory Using XPath
Working with XML Messages
Producing and Transforming XML Query Results
Chapter 7: Transforming XML with XSLT
XSLT Processing Mechanics
Single-Template Stylesheets
Understanding Input and Output Options
Improving Flexibility with Multiple Templates
Chapter 8: Publishing Data with XSQL Pages
Introduction to XSQL Pages
Transforming XSQL Page Results with XSLT
Troubleshooting Your XSQL Pages
Chapter 9: XSLT Beyond the Basics
Using XSLT Variables
The Talented Identity Transformation
Grouping Repeating Data Using SQL
Sorting and Grouping Repeating Data with XSLT
Chapter 10: Generating Datagrams with PL/SQL
Programmatically Generating XML Using PL/SQL
Automatic XML Generation with DBXML
Chapter 11: Generating Datagrams With Java
Generating XML Using Java
Serving XML Datagrams Over the Web
Automatic XML from SQL Queries
Chapter 12: Storing XML Datagrams
Overview of XML Storage Approaches
Loading Datagrams with the XML SQL Utility
Storing Posted XML Using XSQL Servlet
Inserting Datagrams Using Java
Chapter 13: Searching XML with interMedia
Why Use interMedia Text?
What is interMedia Text?
The interMedia Text Query Language
Handling Heterogeneous Doctypes
Handling Doctype Evolution
Advanced interMedia Text
Chapter 14: Advanced XML Loading Techniques
Storing Datagrams in Multiple Tables
Building an XMLLoader Utility
Creating Insert Transformations Automatically
Part 3: Oracle XML Applications
Chapter 15: Using XSQL as a Publishing Framework
Overview of All XSQL Pages Facilities
Additional XML Delivery Options
Chapter 16: Extending XSQL and XSLT with Java
Developing Custom XSQL Actions
Integrating Custom XML Sources
XSLT Extension Functions
Chapter 17: XSLT-Powered Portals and Applications
XSLT-Powered Web Store
Personalized News Portal
Online Discussion Forum
Part 4: Appendices
Appendix 1: XML Helper Packages
Installing the XML Helper Packages
Source Code for the XML Helper Packages
Appendix 2: Installing Oracle XSQL Servlet
Installing
Appendix 3: Conceptual Map to XML Family
Appendix 4: Quick References -
Anybody know of or able to recommend any good XML courses?
ThanksNot aware of particular training (might check Oracle University), but if you're looking for a one-stop-shop book that will teach you what you need to know to use Oracle and XML together, my Building Oracle XML Applications is sure to please. About 800 pages of solid examples to learn from, as well as a great, simple introduction to XML and XSLT technologies, too.
I saw that it's finally available from Amazon, Fatbrain, and others online today, as well as from the publisher. -
Hi Java expert around the world.
As far as i concern, i found that XML is just like another database system which is hierachy in nature, that store information about a web content.
Why we use XML and not other RDBMS to store such information?
Pls provide the advantages that can shows XML is better strategic.
Thanks.ouch! i don't know where you've found this kind of monstruous information about XML...
here is the W3C's introduction to XML: Extensible Markup Language (XML) is a simple, very flexible text format derived from SGML (ISO 8879). Originally designed to meet the challenges of large-scale electronic publishing, XML is also playing an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere. -
How to create several colums if many rows
Hi,
I have a problem with finding a technical solution. If I have more than 30 records, I want to put them in the next column. How do I do this in xsl (HTML output):
|PCS|REV|DATE | |PCS|REV|DATE |
| 1 | 1 |xx.xx.xx| | 5 | 1 |xx.xx.xx|
| 2 | 1 |xx.xx.xx| | 6 | 1 |xx.xx.xx|
| 3 | 1 |xx.xx.xx| | 7 | 1 |xx.xx.xx|
| 4 | 1 |xx.xx.xx|
Is this something you can help me with?
Where can I learn more about xsl, xpath, xml, xslt etc?My book Building Oracle XML Applications has a technical introduction to XML, XML Namespaces, XPath, XSLT, and contains 17 chapters of examples of using these technologies together with the Oracle XML platform in Java, PL/SQL, and with XSQL Pages. You can checkout reviews at: http://www.amazon.com/exec/obidos/ASIN/1565926919
Here's a solution to your XSLT problem.
Given an XML source like:
<terje>
<rec rev="a" date="xx.xx.xxxx"/>
<rec rev="b" date="xx.xx.xxxx"/>
<rec rev="c" date="xx.xx.xxxx"/>
<rec rev="d" date="xx.xx.xxxx"/>
<rec rev="e" date="xx.xx.xxxx"/>
<rec rev="f" date="xx.xx.xxxx"/>
<rec rev="g" date="xx.xx.xxxx"/>
<rec rev="h" date="xx.xx.xxxx"/>
<rec rev="i" date="xx.xx.xxxx"/>
<rec rev="j" date="xx.xx.xxxx"/>
<rec rev="k" date="xx.xx.xxxx"/>
<rec rev="l" date="xx.xx.xxxx"/>
<rec rev="m" date="xx.xx.xxxx"/>
<rec rev="n" date="xx.xx.xxxx"/>
<rec rev="o" date="xx.xx.xxxx"/>
<rec rev="p" date="xx.xx.xxxx"/>
<rec rev="q" date="xx.xx.xxxx"/>
<rec rev="r" date="xx.xx.xxxx"/>
<rec rev="s" date="xx.xx.xxxx"/>
<rec rev="t" date="xx.xx.xxxx"/>
<rec rev="u" date="xx.xx.xxxx"/>
<rec rev="v" date="xx.xx.xxxx"/>
<rec rev="w" date="xx.xx.xxxx"/>
<rec rev="x" date="xx.xx.xxxx"/>
<rec rev="y" date="xx.xx.xxxx"/>
<rec rev="z" date="xx.xx.xxxx"/>
<rec rev="aa" date="xx.xx.xxxx"/>
<rec rev="ab" date="xx.xx.xxxx"/>
<rec rev="ac" date="xx.xx.xxxx"/>
<rec rev="ad" date="xx.xx.xxxx"/>
<rec rev="ae" date="xx.xx.xxxx"/>
<rec rev="af" date="xx.xx.xxxx"/>
<rec rev="ag" date="xx.xx.xxxx"/>
<rec rev="ah" date="xx.xx.xxxx"/>
<rec rev="ai" date="xx.xx.xxxx"/>
</terje>the following stylesheet renders the columnized output as you want, with a parameterizable number of records per column.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!--
| This controls the number of records in a column and can
| be changed by passing in a new value from outside the stylesheet
+-->
<xsl:param name="per-col" select="30"/>
<!-- Calculate the number of columns we'll need based on $per-col -->
<xsl:variable name="num-col" select="ceiling(count(terje/rec) div $per-col)"/>
<xsl:template match="/">
<html>
<body>
<table border="1" cellspacing="0">
<tr>
<!-- Print a heading for each column we need -->
<xsl:apply-templates mode="header"
select="terje/rec[position() mod $per-col = 1]"/>
</tr>
<!-- Process all the records in the FIRST column in "row" mode -->
<xsl:apply-templates mode="row"
select="terje/rec[$per-col >= position()]"/>
</table>
</body>
</html>
</xsl:template>
<!--
| Process the current "rec" element and all following sibling <rec>
| elements that are a multiple of $per-col away from the current one
+-->
<xsl:template match="rec" mode="row">
<tr>
<xsl:variable name="rowrecs"
select=".|following-sibling::rec[position() mod $per-col = 0]"/>
<xsl:variable name="num-rowrecs" select="count($rowrecs)"/>
<xsl:apply-templates select="$rowrecs"/>
<!--
| If the number of columns is greater than the recs in this row
| then generate an empty row to avoid blank table cells
+-->
<xsl:if test="$num-col > $num-rowrecs">
<xsl:call-template name="empty-row"/>
</xsl:if>
</tr>
</xsl:template>
<xsl:template match="rec">
<td><xsl:value-of select="count(preceding-sibling::rec)+1"/></td>
<td><xsl:value-of select="@rev"/></td>
<td><xsl:value-of select="@date"/>< ;/td>
</xsl:template>
<xsl:template match="rec" mode="header">
<th>PCS</th><th>Rev</th><th>Date</th>
</xsl:template>
<xsl:template name="empty-row">
<td> </td>
<td> </td>
<td> </td>
</xsl:template>
</xsl:stylesheet>Hope this helps.
Steve Muench
Lead Product Manager for BC4J and Lead XML Evangelist, Oracle Corp
Author, Building Oracle XML Applications
null -
Hello,
I am totally stuk.
I have research and read but I just can't figure it out.
I tried to follow examples and i thought i had it right. I guess not...
I am useing oracle10g 10.2.0.3
this is a transaction procedure that I have been working on all day.
I thought I was close.
The exercise that I am doing is practicing with the rollback and savepoint.
The exercise said not to use parameters.
can someone please help me to understand this error and maybe suggest an idea?
The number below "56", appeared when i enter the execution. i don't know why it displayed.
My procedure won't run enough to show the warning. I had to enter a "/" to show the warning.
On top of that I totally don't understand the error message. I understand that the begin and the end is required in a procedure.
so can someone help me !!
the error messaage:
SQL> @c:\cmis\proc_5\exc_3.sql
56 /
Warning: Procedure created with compilation errors.
SQL> show error;
Errors for PROCEDURE WEEK11_PROC:
LINE/COL ERROR
2/1 PLS-00103: Encountered the symbol "BEGIN" when expecting one of
the following:
( ; is with authid as cluster compress order using compiled
wrapped external deterministic parallel_enable pipelined
my procedure:
will perform transactions of inserting values into the catalog table while useing the rollback and savepoint.
the table is empty at this point.
set serveroutput on
CREATE OR REPLACE PROCEDURE week11_proc
begin
set transaction transac 1;
insert into catalog1
VALUES ('cmis420', 'Advance Relational Database', 'Bill Warren', sysdate, 'Jean Todd', sysdate);
insert into catalog1
VALUES ('CMST385', 'Introduction To XHTML', 'Terry Woods', sysdate, 'john Miller', sysdate);
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
ROLLBACK;
set transaction transact 2;
insert into catalog1
VALUES ('cmst170', 'Introduction To XML', 'richard Jones', sysdate, 'Mary Smith', sysdate);
insert into catalog1
values ('CMIS315', 'Programming in C++', 'richard Jones', sysdate, 'Paul Todd', sysdate);
savepoint transact2;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
rollback to transact 1;
set transaction transact 3;
insert into catalog1
values ('CMIS111', 'Social Networking and Cybersecurity Best Practices', 'Terry Woods', sysdate, 'john Miller', sysdate);'
insert into catalog1
values ('CMIS125', Programming in', sysdate, C#', 'richard Jones', sysdate, Peter Greenburg', sysdate);
savepoint trans3;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
rollback to savepoint transact2;
set transaction transact4;
insert into catalog1
values ('CMIS225', 'Developing Windows Presentation Foundation (WPF)', 'George Allen', sysdate, 'Richard Jones', sysdate);
insert into catalog1
values ('CMIS465', 'Software Verification and Validation', 'Bill Warren', sysdate, 'Jean Todd', sysdate);
savepoint transact4;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
rollback to savepoint transact1;
end;
kabrajoCREATE OR REPLACE PROCEDURE week11_proc is
begin
set transaction transac 1;
insert into catalog1
VALUES ('cmis420', 'Advance Relational Database', 'Bill Warren', sysdate, 'Jean Todd', sysdate);
insert into catalog1
VALUES ('CMST385', 'Introduction To XHTML', 'Terry Woods', sysdate, 'john Miller', sysdate);
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
ROLLBACK;
set transaction transact 2;
insert into catalog1
VALUES ('cmst170', 'Introduction To XML', 'richard Jones', sysdate, 'Mary Smith', sysdate);
insert into catalog1
values ('CMIS315', 'Programming in C++', 'richard Jones', sysdate, 'Paul Todd', sysdate);
savepoint transact2;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
rollback to transact 1;
set transaction transact 3;
insert into catalog1
values ('CMIS111', 'Social Networking and Cybersecurity Best Practices', 'Terry Woods', sysdate, 'john Miller', sysdate);'
insert into catalog1
values ('CMIS125', Programming in', sysdate, C#', 'richard Jones', sysdate, Peter Greenburg', sysdate);
savepoint trans3;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
rollback to savepoint transact2;
set transaction transact4;
insert into catalog1
values ('CMIS225', 'Developing Windows Presentation Foundation (WPF)', 'George Allen', sysdate, 'Richard Jones', sysdate);
insert into catalog1
values ('CMIS465', 'Software Verification and Validation', 'Bill Warren', sysdate, 'Jean Todd', sysdate);
savepoint transact4;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
rollback to savepoint transact1;
end; -
I planned on kicking off my journey attempting to edit a massive multi year documentary on FCPX with a nice introduction of the blog I'm going to keep about the experience, but I've run into a bit of a roadblock, or maybe major speed bump at least before even getting to that point. I wanted to share what is working as a work around for me and you guys can tell me how I'm doing it wrong.
Ok, I will try to explain this as succinctly as possible. I'll write in somewhat stream of consciousness just to try and get through it quicker... Basically, after discovering the work around below, I am now utterly confused on how FCPX handles the relationship between its own database of where media is stored, and the actual media itself. I have plenty experience on FCPX now, probably done 30-40 pro commercial jobs on it over the last year since XML became doable as I'm also a Resolve Colorist and all the FCPX projects where hardcore coloring product spots. For commercial work, I never needed to worry about splitting up footage up over multiple Events. Everything, all in one, FCPX handled it no problem. (well the occasional beach ball, but that seems to be a thing with FCPX in general)
This will be my 10th feature documentary as an Editor. Every one before it was either on Avid's many flavors over the last 12 years or FCP Studio. When this new film came along, I made the decision a few months ago to use FCPX for a few reasons, but mostly because I'm insane and I like to try to mix it up for myself in a career that can get stale quick if you aren't willing to be that way. The film was shot over 2+ years, every shoot was multi cam 5D (yes i know, looks great, but please kill me), I haven't done the math on length, but there is over 10,000 clips of video (this is actually medium in size compared to what I've dealt with before). Its 5D, so theres external audio for everything. FCPX's syncing is great, but I've learned that theres an unsaid window of heads and tales clips must fall within to sync properly with the nearby clips, if they are too far apart FCPX gives up. One shoot day could have 3 cams, 50 clips each, and 2 audio files to sync to, FCPX simply cannot handle this, so off to Plural eyes they went, no problems.
Ok, all this is relevant eventually I swear! Again, in the past, all in one event, no problem. I tried for fun to bring all media into one Event on this film. It worked, but there is a 10+ second spinning beach ball for every single move you make, so thats no good. Ok, I'll separate the Events out to, lets say, each shoot month. Well that's dumb, in verite documentary, any shot could be the first, any shot could be the last, you need a command over all searchable footage at all times. Shift selecting all events to search *****, and it actually takes longer for FCP to reload each event each time than it does to just have the one massive one. So no go there. Next hair brained idea... What if make a new Event that is just Compound Clips of all the other Event's contents and do more with Markers and Favorites in logging that I was planning to parse it all out. That way I'm working with and FCPX is dealing with 50-60 clips instead of 10,000+ Quick test, Cmd-A, Opt-G, boom, boom, boom, move all to dedicated to Event, hide huge Event, BEHOLD, that works! FCPX chokes a little bit on the insane length of some of the clips, but searching, and general performance is back on par!
So your saying to yourself "Ok *********, sounds like you figured it out, what's the problem." Well to you I say, "Not so fast!" Remember, that was just a quick test using the media I had imported into the massive 10,000+ clip Event. To do this project proper, I am having to import Multicam sync'd XMLs from Plural Eyes. And this is where it all starts to fall apart. A little foreshadowing for your eager eyes. 10,000+ files all shot with multiple 5D's over the course of years. What does that mean? many, many duplicate file names!
FCPX as well all know irritatingly imports XML's as new Events, not into existing ones. This obviously takes a lot of burden off media management because with a new Event comes a new database referencing its own version of the raw media. All well and good, and I'm betting its starting to click for some if you advanced users where I'm finally going with this. So I have 50 or so XMLs to bring in, all done no problem. Now I want to replicate that singular Event like I did with the Compound Clip test and have it all in one place to be my master as extensive logging begins for easy searching once editing begins. Highlight the Events, click Merge Events. NOPE. I get a new "Kill Yourself Now" error (a term I coined for Out of Memory and General Error messages in FCP Legacy meaning there ain't much you can do about it): "Two or more files have the same name. Change the names and try again, because I don't know what the **** to do with them." Ok I made up that last part but that's basically what it's saying. Just take the variable out of the equation, this happens with every which way you could try to get the clips together. Merge Events, dragging events on top of each other, dragging just the Multicam clip alone, nothing gets passed that message. What's worse is that while Batch Renaming seems like a solution, the renames do not populate inside the created clips and there is no way to Batch Rename those. Renaming everything at the finder level isn't so great because then I'd have to resync and theres an offline/online thing going here where the film has to be reconformed eventually.
Basically, I've found that FCPX handles media management in completely different ways depending on whether you are importing into one Event yourself or doing essentially what is a new import with FCPX moving or merging Events. If you bring in all the media to one Event, on a macro level FCPX goes through file by file making aliases referencing the master file. If it hits a duplicate, it makes a parenthesis counter, and keeps going. And with the genius of FCPX metadata, that file name doesn't even matter, you can change it at the Finder level and FCPX will keep the link intact. BUT for some reason if you try to do this outside the realm of a single Event and combine files after the fact a different process takes over in creating this database system and can't handle the duplicates. I can't totally figure the reason other than it probably is scared to change the originally referenced alias to something else (which it shouldn't be scared of since Merge Events deletes the original anyway).
This is where it gets INSANE and where I lose all understanding of what is going on, and believe me it was a delicate understanding to begin with. It comes in to play with the work around I figured out. I make the master Event with the 10,000+ clips. Then I import all the XMLs as dedicated Events. Now, I then drag the Multicam clips into the master Event, it WORKS! just takes it, no "Kill Yourself Now" error. Stranger still, now with the switched referenced Event, it even takes into account which aliased duplicate file name it's referencing in the Original Media folder. Somehow, it's taking into account the original file path and saying "Ok, I see 5 instances of MVI_5834.mov. Based on the original file path or maybe creation date or god knows what, it must be MVI_5834 (fcp3).mov." It connects perfectly. I can even remove the old XML imported Event with no problem. Crazier yet, I can now move those again to the dedicated Event I wanted originally that only contains those Multicam or Compound Clips.
So instead of going straight from A to C, going from A to B to C works even though that actually seems way more complicated. Why can't FCPX handle Merge Events and dragging clips the same way it handles media imported into a single Event. And weirder still, why can't FCPX handle the (fcp1,2,3...) appending in the same scenario. But if the appended links are already there, No Problem. And for the love of god, it'd be nice to important XML's into existing Events and make the correct referencing happen right from the get go, which is really the source of all the above headache. I'd have no problem helping FCPX with a little manual pointing in the right direction just like any other NLE needs.
Ok, having said all of that crap above, my question is, have I missed something completely simple I should have done instead? Now that I have everything in place how I originally envisioned, I think I will still play around a little bit more to make sure FCPX is really going to be able to handle this project. I'm at a stage right now where going another direction is still an option, although the dare devil in me wants to make this work. Media management aside, once you start editing on a FCPX timeline, its hard to go back to anything else. Apple is going to have to figure out some way not to access to everything at all times to work fluidly or big projects like this are never going to be practical in FCPX.
Sorry for the long confusing post....I'm having the exact same problem, but I know nothing of ruby scripts. I've exhausted my resources with tech support, and after literally hours of work with them it seems I now am faced with either re-rating each individual song, or pointing iTunes to each song that it can't locate. Is yours a solution that could help me? How can I find out more about Ruby Scripts? Thanks for your help, hellolylo (or anyone else who might also be able to help...)
Kenn -
I need to know how to import xml files into indesign cs6.
My client wants to send me xml text files to import into Indesign for a multi-page publication. I don't have a clue where to start. Can you point me to a tutorial that would help me figure this out?
I have a sample file that looks like this:
<?xml version="1.0"?>
<providers>
<provider>
<name>Bow Valley College</name>
<description>Putting the Community back in college…in the Bow Corrid
ANY TIME, ANY PLACE, ANY PATH, ANY PACE LEARNING.
Designated as the comprehensive community college for Calgary & its
surrounding region, Bow Valley College offers you learning opportunities
through flexible delivery options, including classrooms, online or self
paced modules. Whether you are taking a course for interest, to enhance
your career skills or to finish high school you have access to all of the
traditional Bow Valley College student supports.
Visit our website [2] or come see us at our Canmore campus.
BOW VALLEY LEARNING COUNCIL MEMBER.
Links:
[1] http://www.bowvalleycollege.ca/bow-corridor.html
</description>
<contact_information>Canmore Campus
Provincial Building, 800 Railway Ave.
Canmore, AB  T1W 1P1
OFFICE HOURS: 8:30am - 4:30pm, Monday - Friday (except from 12 - 1pm)
PHONE: (403) 678-3125
FAX: (403) 678-3127
BANFF CAMPUS: Lower Level, Banff YWCA, 102 Spray Ave., Banff (ONLY OPEN
WHEN COURSES OFFERED). </contact_information>
<email>[email protected]</email>
<website>www.bowvalleycollege.ca/bow-corridor</website>
<registration_information>Cancellation policy: Once your course has begun no refunds or credits will
be given. Compassionate grounds may be considered with official
documentation. There are no refunds, transfers, or credits if you cancel
within one week of the course start date.
BY PHONE: (403) 678-3125. Payment by Visa or Mastercard
IN PERSON: Canmore Campus, Provincial Building, 800 Railway Ave., Canmore.
Payment by cash, Visa or Mastercard.
 
FUNDING ASSISTANCE MAY BE AVAILABLE FOR THOSE ON A LOW INCOME ON SOME
COURSES. PLEASE ASK FOR MORE INFORMATION.</registration_information>
<courses>
<course>
<title>Computer Basics/Windows 7 - Instructor led, Canmore</title>
<description>An instructor will lead the class through the basic features of Microsoft
Windows, the Internet and Email. Find out how to start programs, create,
save and organize your files and use the online help feature. You’ll also
get an introduction to surfing the internet and setting up an email
account. This course is designed for those with little or no computer
experience – and is still our most popular course. 18 HR COURSE.</description>
<schedule_entries>
<entry>
<date>Mon 6:30 - 9 pm, Oct 7 - Dec 2</date>
<date>Thu 6:30 - 9 pm, Oct 10 - Dec 5</date>
</entry>
</schedule_entries>
</course>
<course>
<title>Word 2010 Introduction - Self-paced</title>
<description>Explore the basics of Microsoft Word to produce professional letters and
documents. This course guides you through the effective use of the Word
Ribbon and Quick Access Toolbar. You’ll learn how to efficiently edit,
move and copy text; manipulate fonts; apply bullets and numbering; borders
and shading; insert and re-size Clip Art; enter headers and footers; insert
page numbers; set alignment and indents; and change page settings. You’ll
learn to use the AutoCorrect feature and finish documents using the
spelling, thesaurus and grammar features.
Self-paced, 18 hr course.
Prerequisite recommended: Computer Basics or equivalent experience.</description>
<schedule_entries>
<entry>
<date>Mon 7:30 - 9 pm, Oct 7</date>
<date>Thu 7:30 - 9 pm, Dec 5</date>
</entry>
</schedule_entries>
</course>
<course>
AND SO ON...FOR 64 PAGES WORTH OF CONTENT
HELP!!!
SGARENHello Sally,
First, I have only heard/read good things about the book Steve recommends. It is on my to buy list one day. Been awaiting a long deserved vaction to pick it up to read.
I approach XML files pretty much like I do any text file I am sent in that I will import or copy/paste a text file into a frame in ID and begin setting my styles. With XML, though, I first clean it up, move closing tags up to their logical close lines, remove spurious codes that mean something in HTML but don't necessarily belong in the XML file (like ’ which is an apostrophe so I do a search and replace. But for   which is a non-breaking space I simply search and replace with a regular space in general), and make sure the XML validates.
Validation is much like making sure an HTML page is formed properly. I use an XML editor (XML BluePrint) and a text editor (UltraEdit) for these tasks. If I had to only have one or the other, I suppose the XML editor is what I would use.
I always show the import options when I import the XML and make sure that I link to the file.
So once a sample of the XML is on a page in ID (via File | Import XML), I highlight text within a tag, say like in your example above, the Providor name, and make it like I want and then create a new style. I generally name the styles as per the XML tag. Later on, that makes mapping tags to styles a little easier.
Once I set up all the styles preliminarily, I map the tags to styles. You can do that either via the Tags palette or via the Structure Pane that will appear once the XML is imported. In both cases, it is found via the flyout menu at the top right of their respective windows.
After mapping my styles to the tags, I select the root element in the Structure Pane (the topmost element. In your sample above it is "providors" and delete it. This removes the XML in your ID file. But the styles and tags are still present.
Then I import the XML again and look to makes sure all the tags/elements are styled as intended. I then correct any errors/ommissions. Then...I'll delete the XML again and import the full XML file.
I can upload what I did with your XML sample above so you can compare it to your source file if you would like. You would then see how/where I moved tags. Now, moving the tags is only "necessary" to avoid all the extra blank paragraphs. That can be accomplished by ID's search/replace, too. But I like to start out with the XML cleaned up, so I take the few minutes to do it.
Take care, Mike -
? - Is there a way to validate 1 XML record at a time, using the SAX or oth
Hello!
Before running into space problems, i generated an XML file from a 'pipe delimited' file and and then processed that XML file thru a SAXParser 'validator' and the data was correctly validated, using the RELAXNG Schema patterns as the validation criteria!
But as feared, the XML file was huge! (12 billion XML recs. generated from 1 billion 'pipe' recs.) and i am now trying to find a way to process 1 'pipe' record at a time, (ie) read 1 record from the 'pipe delimited' file, convert that rec. to an XML rec. and then send that 1 XML rec. thru the SAXParser 'validator', avoiding the build of a huge temporary XML file!
After testing this approach, its looks like the SAXParser 'validator' (sp.parse) is expecting only (1) StringBufferInputStream as input,and after opening, reading and closing just (1) of the returned StringBufferInputStream objects, the validator wants to close up operations!
Where i have the "<<<<<" you can see where i'm calling the the object.method that creates the 'pipe>XML' records 'sb.createxml' and will be returning many occurances of the StringBufferInputStream object, where (1) StringBufferInputStream object represents (1) 'pipe>XML' record!
So what i'm wondering, is if there is a form of 'inputStream' class that can be loaded and processed at the same time! ie instead of requiring that the 'inputStream' object be loaded in it's entirety, before going to validation?
Or if there is another XML 'validator' that can validate 1 XML record at a time, without requiring that the entire XML file be built first?
1. ---------------------------------class: (SX2) ---------------------------------------------------------------------------------------------------------
import ............
public class SX2
public static void main(String[] args) throws Exception
MyDefaultHandler dh = new MyDefaultHandler();
SX1 sx = new SX1();
SAXParser sp = sx.getParser(args[0]);
stbuf1 sb = new stbuf1();
sp.parse(sb.createxml(args[1]),dh); <<<<<< createxml( ) see <<<<<<< below
class MyDefaultHandler extends DefaultHandler {
public int errcnt;
"SX2.java" 87 lines, 2563 characters
2. ----------------------------------class: (stbuf1) method: (createxml) ----------------------------------------------------------------------------
public stbuf1 () { }
public StringBufferInputStream createxml( String inputFile ) <<<<<< createxml(
BufferedReader textReader = null;
if ( (inputFile == null) || (inputFile.length() <= 1) )
{ throw new NullPointerException("Delimiter Input File does not exist");
String ele = new String();
try {
ele = new String();
textReader = new BufferedReader(new FileReader(inputFile));
String line = null; String SEPARATOR = "\\|"; String sToken = null;
String hdr1=("<?xml version=#1.0# encoding=#UTF-8#?>"); hdr1=hdr1.replace('#','"');
String hdr2=("<hlp_data>");
String hdr3=("</hlp_data>");
String hdr4=("<"+TABLE_NAME+">");
String hdr5=("</"+TABLE_NAME+">");
while ( (line = textReader.readLine()) != null )
String[] sa = line.split(SEPARATOR);
String elel = new String();
for (int i = 0; i < NUM_COLS; i++)
if (i>(sa.length-1)) { sToken = new String(); } else { sToken = sa; }
elel="<"+_columnNames[i]+">"+sToken+"</"+_columnNames[i]+">";
if (i==0) {
ele=ele.concat(hdr1);ele=ele.concat(hdr2);ele=ele.concat(hdr4);ele=ele.concat(elel);
else
if (i==NUM_COLS - 1) {
ele=ele.concat(elel);ele=ele.concat(hdr5);ele=ele.concat(hdr3);
else {
ele=ele.concat(elel);
textReader.close();
catch (IOException e) {
return (new StringBufferInputStream(ele));
public static void main( String args[] ) {
stbuf1 genxml_obj = new stbuf1 ();
String ptxt=new String(args[0]);
genxml_obj.createxml(ptxt); }}Well,i think you can use the streaming API for xml processing provided by weblogic.It is pull model,not push model like SAX.with it,you can select the events you want without having to react to every event,and you can filter the events out.
Sun also provide such streaming API for xml processing,and i got an very simple introduction about it on the Chinese Sun developer site.but i couldn't find any other infomation about it elsewhere! If you have such materials,please send to my email:[email protected],and if I have it,i will be sure to post the links here.hope it helps more or less:)
@smile@ -
Introduction
There is a scenario that users want to create SSRS report, the xml used to retrieve data for the report is stored in table of database. Since the data source is not of XML type, when we create data source for the report, we could not select XML as Data Source
type. Is there a way that we can create a dataset that is based on data of XML type, and retrieve report data from the dataset?
Solution
In this article, I will demonstrate how to use xml stored in database as dataset in SSRS reports.
Supposing the original xml stored in database is like below:
<Customers>
<Customer ID="11">
<FirstName>Bobby</FirstName>
<LastName>Moore</LastName>
</Customer>
<Customer ID="20">
<FirstName>Crystal</FirstName>
<LastName>Hu</LastName>
</Customer>
</Customers>
Now we can create an SSRS report and use the data of xml type as dataset by following steps:
In database, create a stored procedure to retrieve the data for the report in SQL Server Management Studio (SSMS) with the following query:
CREATE PROCEDURE xml_report
AS
DECLARE @xmlDoc XML;
SELECT @xmlDoc = xmlVal FROM xmlTbl WHERE id=1;
SELECT T.c.value('(@ID)','int') AS ID,
T.c.value('(FirstName[1])','varchar(99)') AS firstName,
T.c.value('(LastName[1])','varchar(99)') AS lastName
FROM
@xmlDoc.nodes('/Customers/Customer') T(c)
GO
P.S. This is an example for a given structured XML, to retrieve node values from different structured XMLs, you can reference here.
Click Start, point to All Programs, point to Microsoft SQL Server, and then click Business Intelligence Development Studio (BIDS) OR SQL Server Data Tools (SSDT). If this is the first time we have opened SQL Server Data Tools, click Business Intelligence
Settings for the default environment settings.
On the File menu, point to New, and then click Project.
In the Project Types list, click Business Intelligence Projects.
In the Templates list, click Report Server Project.
In Name, type project name.
Click OK to create the project.
In Solution Explorer, right-click Reports, point to Add, and click New Item.
In the Add New Item dialog box, under Templates, click Report.
In Name, type report name and then click Add.
In the Report Data pane, right-click Data Sources and click Add Data Source.
For an embedded data source, verify that Embedded connection is selected. From the Type drop-down list, select a data source type; for example, Microsoft SQL Server or OLE DB. Type the connection string directly or click Edit to open the Connection Properties
dialog box and select Server name and database name from the drop down list.
For a shared data source, verify that Use shared data source reference is selected, then select a data source from the drop down list.
Right-click DataSets and click Add Dataset, type a name for the dataset or accept the default name, then check Use a dataset embedded in my report. Select the name of an existing Data source from drop down list. Set Query type to StoredProcedure, then select
xml_report from drop down list.
In the Toolbox, click Table, and then click on the design surface.
In the Report Data pane, expand the dataset we created above to display the fields.
Drag the fields from the dataset to the cells of the table.
Applies to
Reporting Services 2008
Reporting Services 2008 R2
Reporting Services 2012
Reporting Services 2014
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.I have near about 30 matrics. so I need a paging. I did every thing as per this post and it really works for me.
I have total four columns. On one page it should show three and the remaining one will be moved to next page.
Problem occurs when in my first row i have 3 columns and in next page if I have one columns then it show proper on first page but on second page also it gives me three columns insted of one. the first column data is exactly what I have but in remaining two
columns it shows some garbage data.
I have data like below.
Metric ColumnNo RowNo
1 1
1
2 2
1
3 3
1
4 1
2
so while grouping i have a row parent group on RowNo and Column group on ColumnNo.
can anyone please advice on this. -
XML SAX dtd Validation Problem
Hi,
I’m having problems getting an xml document to validate within Weblogic 8.1. I am trying to parse a document that references both a dtd and xsd. Both the schema and dtd reference need to be substituted so they use local paths. I specify the schema the parser should use and have created an entityResolver to change the dtd reference.
When this runs as a standalone app from eclipse the file parses and validates without a problem. When deployed to the app server the process seems to be unable read the contents of the dtd. Its not that it cannot find the file (no FileNotFoundException is thrown but this can be created if I delete the dtd) rather it seems to find no declared elements.
Initial thought was that the code didn’t have access to read the dtd from its location on disk, to check I moved the dtd to within the deployed war and reference as a resource. The problem still persists.
Code Snippet:
boolean isValid = false;
try {
// Create and configure factory
SAXParserFactory factory = SAXParserFactoryImpl.newInstance();
factory.setValidating(true);
factory.setNamespaceAware(true);
// To be notified of validation errors in the XML document,
// add a custom error handler to the document builder
PIMSFeedFileValidationHandler handler
= new PIMSFeedFileValidationHandler();
// Create and Configure Parser
SAXParser parser = factory.newSAXParser();
parser.setProperty(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
parser.setProperty(NAMESPACE_PROPERTY_KEY, getSchemaFilePath());
// Set reader with entityResolver for dtd
XMLReader xmlReader = parser.getXMLReader();
xmlReader.setEntityResolver(new SAXEntityResolver(this.dtdPath));
// convert file to URL, as it is a remote file
URL url = super.getFile().toURL();
// Open an input stream and parse
InputStream is = url.openStream();
xmlReader.setErrorHandler(handler);
xmlReader.parse(new InputSource(is));
is.close();
// get the result of parsing the document by checking the
// errorhandler's isValid property
isValid = handler.isValid();
if (!isValid) {
LOGGER.warn(handler.getMessage());
LOGGER.debug("XML file is valid XML? " + isValid);
} catch (ParserConfigurationException e) {
LOGGER.error("Error parsing file", e);
} catch (SAXException e) {
LOGGER.error("Error parsing file", e);
} catch (IOException e) {
throw new FeedException(e);
return isValid;
See stack trace below for a little more info.
2005-01-28 10:24:09,217 [DEBUG] [file] - Attempting validation of file 'cw501205.wa1.xml' with schema at 'C:/pims-feeds/hansard/schema/hansard-v1-9.xsd'
2005-01-28 10:24:09,217 [DEBUG] [file] - Entity Resolver is using DTD path file:C:/Vignette/runtime_services/8.1/install/common/nodemanager/
VgnVCMServer/stage/pims-hansard/pims-hansard.war/WEB-INF/classes/com/morse/pims/cms/feed/sax/ISO-Entities.dtd
2005-01-28 10:24:09,227 [DEBUG] [file] - Creating InputSource at: file:C:/Vignette/runtime_services/8.1/install/common/nodemanager/VgnVCMServer/stage/pims-hansard/pims-hansard.war/WEB-INF/classes/com/morse/pims/cms/feed/sax/ISO-Entities.dtd
2005-01-28 10:24:09,718 [WARN ] [file] - org.xml.sax.SAXParseException: Element type "Hansard" must be declared.
org.xml.sax.SAXParseException: Element type "Session" must be declared.
org.xml.sax.SAXParseException: Element type "DailyRecord" must be declared.
org.xml.sax.SAXParseException: Element type "Volume" must be declared.
org.xml.sax.SAXParseException: Element type "Written" must be declared.
org.xml.sax.SAXParseException: Element type "WrittenHeading" must be declared.
org.xml.sax.SAXParseException: Element type "Introduction" must be declared.
… continues for all the elements in the doc
2005-01-28 10:24:10,519 [DEBUG] [file] - XML file is valid XML? false
2005-01-28 10:24:10,519 [WARN ] [file] - Daily Part file 'cw501205.wa1.xml' was not valid XML and was not processed.
Has anybody seen this behavior before with weblogic and if so how have you resolved the issue.
Thanks in Advance
AdamIt looks like you clicked on "Post" before you got around to explaining your problem. I don't see any error messages or any description of what was supposed to happen and what happened instead.
Now, I don't know anything about XML Schema, but just guessing at how that unique name feature might be designed, and just guessing that your unique name is actually in the <userId> element, I would suggest that this:
<xsd:unique name="un_name">
<xsd:selector xpath="USER"/>
<xsd:field xpath="."/>
</xsd:unique> is at fault because it doesn't mention the <userId> element anywhere. -
Oracle Open World 2012 - XML DB Presentations and Hands-on Labs
Hereby following up on a small tradition, I think, I get going since 2006...an agenda overview of all things XMLDB you can do or see during this years Oracle Open World.
Oracle Open World is the biggest IT conference nowadays in the world with 40.000+ thousand attendees and 1600+ sessions or workshops, so an overview regarding specific topics can be handy.
If there is an update or something needs correction or added, please post it here.
Regards
Marco Gralike
HOL10055 - Oracle XML DB Hands-On Lab
========================================================================================================================
This hands-on lab provides an introduction to using Oracle XML DB and XQuery to store and manage XML content stored in Oracle Database.
It introduces the different kinds of XML storage and indexing offered by Oracle XML DB and shows how to optimize XQuery operations on XML
content by selecting the correct storage and indexing model. The lab also provides an introduction to the XML features available in the latest
version of Oracle Database, including the new XQuery Update standard. And it shows how to take full advantage of the latest XQuery standards,
such as XQuery Full-Text, to develop applications that combine the power of Full-Text and XML-based indexes
BOF9908 - Oracle XML DB BOF
========================================================================================================================
This session provides you with an opportunity to get answers to your questions about Oracle XML DB from the development team, product
management team, acknowledged independent experts, and fellow Oracle XML DB users. The goal is to have an open and frank discussion
about how to get the best out of all the features of Oracle XML DB. The session gives you a chance to establish personal contact with the
people who have firsthand experience with developing and delivering systems that make use of Oracle XML DB
CON8443 - Simple Content Management with Oracle XML DB and Database Native Web Services
========================================================================================================================
This session demonstrates the power of the Oracle XML DB repository. You will learn how to automate the processing of documents stored
in the Oracle XML DB repository, using repository events, and how to combine XML, PL/SQL, and database native Web services with Ajax and
JavaScript to create simple, effective applications that leverage the full power of Oracle XML DB and the Oracle XML DB repository. The session
focuses on a sample application, called XFiles, and shows how it was created with a combination of XML, XSL, JavaScript Ajax, and PL/SQL
CON8440 - Managing XML Content with the Latest-Generation Oracle XML DB
========================================================================================================================
This session introduces the latest generation of Oracle XML DB technology. XML standards continue to evolve, and Oracle XML DB continues
to provide the industry’s leading implementation of those standards. The latest version of Oracle XML DB provides support for two new exciting
XML standards, XQuery-Update and XQuery-Full Text. You will learn how to use XQuery, XQuery-Update, and XQuery Full-Text to develop
powerful XML-centric applications. The session also demonstrates how to optimize XQuery Full-Text operations with Oracle’s new XML full-text
index. The presentation also introduces Oracle’s new midtier XQuery engine and the XQJ API, which enables Java developers to access the full
power of Oracle’s XML technology
CON3148 - Integrating XML by Using Oracle SQL Developer 3.1 and Oracle Database 11g Release 2
========================================================================================================================
Frequently during a project lifecycle, new technology is introduced that presents first-time challenges. This session describes a project using
Oracle XML Database (Oracle XML DB) and discusses why Oracle XML DB was chosen, how it was used, and the technical issues encountered.
The presentation covers several examples using XMLTYPE, CLOBs, Oracle XML DB methods, XMLAGG, XMLELEMENT, XMLFOREST, and
dbms_xmldom. You will learn about methods, design considerations, and issues with Oracle XML DB. You will also take home working examples
that you can copy and paste into your Oracle environment. Benefit from examples that use Oracle Database 11g Release 2 and Oracle SQL
Developer 3.1.
CON8442 - Design Guidelines and Performance Tuning for Storing XML in Oracle Database
========================================================================================================================
This session examines techniques that can be used to optimize the performance of XML processing in Oracle XML DB. It looks at the different
storage and indexing options and provides guidelines on when each should be considered. After establishing a framework for deciding how to
store XML, the presentation considers the options available for indexing XML to ensure optimal performance of an XML-based application.
The session also discusses how standard techniques such as partitioning and using parallel data manipulation language (PDML) can be used to
scale XML processing on extremely large volumes of XML content and how Oracle XML DB can leverage the intelligent storage capabilities of
Oracle Exadata.
DEMOGROUNDS (Moscone South)
XML Application Development: Oracle XML DB, Oracle XML Developer Kit
========================================================================================================================
Oracle XML Database provides a high-performance, native XML storage and retrieval technology. It fully absorbs the W3C XML data model into
the Oracle Database, and provides new standard access methods for navigating and querying XML. With Oracle XML Database, you get all the
advantages of relational database technology plus the advantages of XML. Come and learn how to develop applications that take advantage
of Oracle's XML technology and the Oracle XML DB Repository.
Oracle XML Database: Structured, Semistructured, and Unstructured XML
========================================================================================================================
Oracle XML Database provides a high-performance, native XML storage and retrieval technology. It fully absorbs the W3C XML data model into
the Oracle Database, and provides new standard access methods for navigating and querying XML. With Oracle XML Database, you get all the
advantages of relational database technology plus the advantages of XML. Come and learn how to develop applications that take advantage
of Oracle's XML technology and the Oracle XML DB Repository.Oracle's OOW 2012 Content Catalog: https://oracleus.activeevents.com/connect/search.ww?event=openworld (use "XML DB" or "XMLDB" as search tag)
Edited by: user10212268 on Aug 13, 2012 5:10 AMOther resources are also on linkedin http://www.linkedin.com/groups/Oracle-XMLDB-3282943 to keep you updated.
M. -
Problem in text file to xml scenario
hi,
while executing the Flat file (txt) to xml file scenario, the txt file picked up from my source directory, but i could not find in my target directory.
when i check message monitoring, it is showing successful.
Audit Log for Message: af840930-3fa2-11dc-a345-000423c7753d
Time Stamp Status Description
2007-07-31 16:14:47 Success Channel CC_sender: Entire file content converted to XML format
2007-07-31 16:14:47 Success Send text file "xi_input.txt" from FTP server "64.72.230.130:/praba_source", size 353 bytes with QoS EO
2007-07-31 16:14:47 Success Application attempting to send an XI message asynchronously using connection AFW.
2007-07-31 16:14:47 Success Trying to put the message into the send queue.
2007-07-31 16:14:47 Success Message successfully put into the queue.
2007-07-31 16:14:47 Success The application sent the message asynchronously using connection AFW. Returning to application.
2007-07-31 16:14:47 Success The message was successfully retrieved from the send queue.
2007-07-31 16:14:47 Success File "xi_input.txt" deleted after processing
2007-07-31 16:14:47 Success The message status set to DLNG.
2007-07-31 16:14:48 Success The message was successfully transmitted to endpoint http://xiserver1:8000/sap/xi/engine?type=entry using connection AFW.
2007-07-31 16:14:48 Success The message status set to DLVD.
2007-07-31 16:14:48 Success The message was successfully delivered.
I followed the Venkat Donela blog
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
IN sender CC, i used file content conversion(mesage protocol), file name scheme xi_input.txt
In receiver CC , I used file (message protocol),file name scheme xi_output.xml
In both CC , transport protocol is FTP.
so i gave server name, port, username, password.
could you help me out to find the error for this scenario also?
Thanks in advancehi,
when i click on this adapeter engine xiserver1, it is changing to green color,
if i double click nothing is happening as u said
but it is showing like this Central CCMS monitor not available
anyway i giving all my values in sender CC:
in sender communication channel
TP : FTP
MP: File content conversion
AE: IS
File access parameters:
sD: /praba_source
FN: xi_input.txt
FTP access parameters:
server: xx.xx.xxx.xxx
port: xx
username: xxxxx
password: xxxx
connection mode: permanently
transfer mode: Binary
Processing Parameters:
QoS: exactly once
poll interval: 60
Processing mode: Test
File type: Binary
Content Conversion Parameters:
Document name dt_outbound
Document namespace urn:xxxxxx
record name: record
recordset str: row,*
recordset seq:Ascending
key fiedl type: string(case-sensitive)
name: value
row.fieldNames: FirstName,LastName,MiddleName,City,Place,State,Country
row.fieldSeperator: ,
row.processConfiguration: FromConfiguration
row.endSeperator: 'nl'
my input file which i kept in source directory is xi_input.txt
content of this file (xi_input.txt) is
Samuel,J,Jackson,Lakefront Drive,Earth City,Missouri,USA
Kenny,m,George,North Beauregard street,Alexandria,Virginia,USA
my dt_outbound structure like this,
dt_outbound (complex type)
then lower element is record
then lower elemnt is row
then FirstName
LastName
MiddleName
City
Place
State
Country
anyway i pasted my sxd dt_outbound type
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:praba_flatfile2xml07"
targetNamespace="urn:praba_flatfile2xml07">
<xsd:complexType name="dt_outbound">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
2bc3c190404611dc88a3000423c7753d
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="record">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
35982b703f7911dc871cd71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="row"
maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo
source="http://sap.com/xi/TextID">
359f57603f7911dcca2ed71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name="FirstName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57613f7911dc8d9cd71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="LastName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57623f7911dca6e8d71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="MiddleName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57633f7911dcc31ed71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="City" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57643f7911dc8c7ad71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="Place" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57653f7911dca7dbd71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="State" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57663f7911dcbd52d71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="Country" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57673f7911dca78ad71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
Maybe you are looking for
-
Acrobat XI will not create PDF from word for Mac
I'm on a late 2013 macbook air, running Mountain lion, office for mac 20011 and acrobat XI pro. In acrobat, when I go to file, create pdf and navigate to a word doc, acrobat will not creat the pdf. I get an error message that reads someting like "a
-
Should I buy a white macbook or an ipad 2?
I plan on using this for surfing the web, social networking, and typing some schoolwork...I am afraid that whatever choice i make will be the wrong one! And i am also not sure if the ipad will provide enough room for music, apps, and some schoolwork,
-
Where can i buy an original c4280 sofware disk
I have lost my original software install disk for HP Photosmart C4280. Where can I buy a replacement? This question was solved. View Solution.
-
How to write binary data to browser - File Save dialog
Hi, problem: i have a working webservice and i get binary data from that webservice. my dynpro java already works and i have byte[] b which has my binary result. what i want: when the user clicks on the button, the action onActionGetResult() is exec
-
Recommendations for Dry String Samples
anyone have any recommendations for dry string samples, something kind of low budget? seems most strings sound too lush to my ears- maybe I am missing something in Logic to get this sound? Message was edited by: Weslie