How to get xml-document in 10g in simplest way ?
Hi,
I'm new in xml, there are so many tools to work with xml:
what is the simplest way to get a xml-file from 10g-database ?
I have : 10g R2 and a xsd.file to describe the xml-structure
thank you
Norbert
There is no automatic way to generate XML documents from an arbitary set of relational tables using the information contained in an XML Schema. Typically the easiest way to generate XML from relational data is to use the SQL/XML operators (XMLElement, XMLAGG, XMLAttribtues, XMLForest). There are many examples of using these operators in the forums You can validate the generated XML against the XML Schema by registering the XML Schema with XML DB and then using the XMLType.SchemaValidate() method
Similar Messages
-
How to check empty return from Get XML Document Data?
If Get XML Document Data doesn't return a result, how do you test it? String.isEmpty() doesn't do the trick, it still throws the exception "java.lang.NullPointerException". I can't seem to be able to match that up to a cisco exception with a "On Exception Goto" step (which I put right before the XML Document Data step). Any clues anyone?
Hi,
Try this:
variable=Get XML Document Data ()
if(variable == null) then
true
false
Gabriel. -
UCCX GET XML Document data - how to force language path
Hi,
I saw that with UCCX, If the trigger have is language FR_CA, when I will use the Get XML Document Data (docTemp, etc,etc )
It will get the value of the file located in the path of FR_CA in the document management.
Lets say, If the trigger language is FR_CA, Is there any way I can use the GET XML Document to open a file in the EN_CA in the document management ?
How can I do that ?
ps : The upload document have this function, we can force a language but I have no idea how to handle this with the Get XML Document.
ThanksI will attach a screenshot of how you can specify the language folder that the Document lives in, regardless of the language of the Trigger or Contact.
Notice that in the variable I am simply referencing the Document filename. This will assume the language of the Contact.
But also notice that within the step, I am saying that the Source document should be found in the L[en_CA] language folder. This does not change the language of the Contact; it simply tells the system to look in a different folder for the file.
Of course, if your Document is not language specific, you could always put it in the Default language folder and then it will be available to all Contacts regardless of Language setting.
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches. -
Cisco UCCX 10.6 Get XML Document Data XPath count() function
Hi
I'd like to retrieve the number of XML nodes in a document to make a script more efficient.
e.g. with this XML, I'd like to know how many <message> nodes there are:
<messages>
<message>contentA</message>
<message>contentA</message>
<message>contentA</message>
</messages>
I've tried iNodeCount = Get XML Document Data (inputXMLfile, "count(//messages/message)")
If I try this in an XPath expression tester then I get the result I'm expecting - an integer of 3. However, in UCCX this produces the error "Can not convert #NUMBER to a NodeList!"... What am I doing wrong?
ThanksHi,
you may want to use a Set or a Do step to execute Java code.
First, reference the XML file (within the repository) by calling DOC[myFile.xml] and of course, assigning this value to a Document type variable, e.g.:
Set myDocument = DOC[myFile.xml]
Then add a Do step that actually does the XPath part of the job.
There's a nice step by step explanation of it here: http://viralpatel.net/blogs/java-xml-xpath-tutorial-parse-xml/
Remember, you can get the Inputstream object of the myDocument variable using the getInputStream() method on it.
G. -
Xpath and Get XML Document Data
Good Morning,
I have just recently gotten involved in a project that requires communicating with some web services (axis2). We have existing scripts that handle this already, but they were built when we weren't on axis2 so now the XML output from the web service call is slightly different and i am no longer able to use the same xpath statement in the Get XML Document Data step.
I am receiving either null values or a prefix namespace error. I am new to xpath and have been reading as best i can from http://www.w3schools.com/xpath/ to try and understand how to write my statements to pull out the data i want correctly.
I have read that sometimes the editor has problems if the XML contains namespace declarations, etc.
Below is an example XML output where I'd like to be able to read the value in the ax211:success. My xpath gets prefix namespace errors as it doesn't recognize ax211.
Xpath: /descendant::ns:validateCertificationResponse/child::ns:return/child::ax211:success
Perhaps my xpath statement is just incorrect and wouldn't retrieve what i expect it to....
Any advice is appreciated.
Thanks,
KevinHi,
well, it appears that text() is automatically appended to the XPath query for some reason in UCCX, this is why you actually see the text node within the ax211:success element. This //*[local-name()="success"] select the whole node, not its first child (which is actually the first element, which also happens to be a text).
Anyway,
// - anywhere
* - any node
And within this "everything" you actually search with the condition within the angular brackets.
G. -
After tweak bunch of times the argument inside "Get XML Document Data" I´m still not able to obtain a no null value. Could someone help me to find out what i´m doing wrong?
<?xml version="1.0" encoding="UTF-8"?>
<Holidays>
<Holiday>Date=1/2/2013</Holiday>
<Holiday>Date=1/2/2013</Holiday>
<Holiday>Date=8/4/2013</Holiday>
<Holiday>Date=9/4/2013</Holiday>
<Holiday>Date=1/5/2013</Holiday>
<Holiday>Date=17/5/2013</Holiday>
<Holiday>Date=27/5/2013</Holiday>
<Holiday>Date=6/6/2013</Holiday>
<Holiday>Date=23/6/2013</Holiday>
<Holiday>Date=6/4/2013</Holiday>
<Holiday>Date=25/12/2013</Holiday>
<Holiday>Date=26/12/2013</Holiday>
</Holidays>
Xpath:
"/descendant::Holidays/child::Holiday[attribute::symbol='DateString']/child::LAST"
thank in advance.Hi,
The script first obtain today´s date in this format 1/2/2013 and stores in DateString variable. Then create a XML document based on this:
<?xml version="1.0" encoding="UTF-8"?>
Date=1/2/2013
Date=1/2/2013
Date=8/4/2013
Date=9/4/2013
Date=1/5/2013
Date=17/5/2013
Date=27/5/2013
Date=6/6/2013
Date=23/6/2013
Date=6/4/2013
Date=25/12/2013
Date=26/12/2013
that i´ve upload to uccx. it uses get XML Document Data function and stores the result in DataResult variable.
if
DataResult == null meets True it makes a call redirect to an extension
if false that means "1/2/2013" was found inside the XML archive and sends to another extension.
The problem i see through reactive debug is that always return null,
In brief: I do not know how to tell using the function "find 1/2/2013 inside Holidays.xml document"
this is what I putted inside get XML Document Data function:
"/descendant::Holidays/child::Holiday[attribute::symbol='DateString']/child::LAST" -
How to get the "Document Info" in illustrator
In illustrator using "Document Info" we can get the file information. Like that how to get the document information using script. Anyone please help me.
Regards,
PrabudassI think sample code in the SDK contains a 'skeleton' plugin, I'd start with that. It should also provide a list of suites that get automatically loaded, I think it's in Suites.h. Just make sure AIDocumentSuite is in the list, and if it's not, just follow the examples in that file to add it. That should end up with a global variable called 'sDocument', which has all the suite functions as methods.
Then it's something like:
AIDocumentSetup setup;
AIErr error = sDocument->GetDocumentSetup(&setup);
// check error to make sure it's kNoErr
Then you just have to inspect the setup struct for (hopefully) the answers you're looking for. -
How to get Adobe documents to Adobe Reader on Iphone?
I downloaded Adobe Reader to my Iphone. When i tapped on a Adove file i got on my email(on my iphone) it said "saving to disk", wich disk is it talking about? And how can i reach it from my Adobe Reader app?
MargretheS,
What is the mail app that you use on your iPhone. Apple Mail (the default iOS mail app) does not show the message like "save to disk".
Did you find the answer to your question in How to get PDF documents into Adobe Reader for iOS (iPhone on iOS 7 version)?
Please let us know if you have additional questions. -
How to get payment document number from paid column in monthly invoice
Dear experts
I use SBO japan version and i need to know how to get payment document number from paid column in monthly invoice ?
in table MIN1, only contain invoice and credit note document number, there is no payment document number
thank you for your help
Best Regards
JeiMingDear Gordon
Yeah, you are right, i can use field MIentry in RCT2
thank you
Best regards
jeiming -
New document alert: How to get PDF documents into Adobe Reader for iOS
Opening PDF Files in Reader for iOS (iPhone and iPad) has been very helpful to many users of Adobe Reader for iOS. However, Apple has drastically changed the user interface in iOS 7, which made the original document obsolete.
According to Apple Developer Support's App Store Distribution page, 89% of devices connected to the App Store are using iOS 7 during a 7‑day period ending June 29, 2014.
Because of the exceptionally high iOS 7 adoption rate, Adobe Reader for iOS version 11.3 now supports iOS 7 only.
Here are the new How-To documents for iOS 7.
How to get PDF documents into Adobe Reader for iOS (iPad on iOS 7 version)
How to get PDF documents into Adobe Reader for iOS (iPhone on iOS 7 version)
(It had to be split into two separate documents because each contains way too many screenshots.)
Hope these documents are as helpful as the original one.
Please let us know if you have any feedback or suggestions on the topics for other help documents/tutorials.Dennis (or any Adobe rep),
Any updates to the OP's question? I'm with a large government agency, and we're moving away from GoodReader for reasons I can't go into here, and the ability to add user-defined bookmarks within the app is a mandatory feature for the document reader we select. I have the latest version of Adobe Reader (11.6.1) installed on my government iPad, and the ability to add user-defined bookmarks still seems to be missing. Does Adobe have any plans to add this feature, or is it already present and I'm simply overlooking it?
Thanks,
Cam -
How to get the document path of the pictures uploaded for products?
Hi Gurus,
How to get the document path of the pictures uploaded for products uploaded through tcode COMMPR01?
Many Thanks,
Neerajclient path.
I need to get the client path in order to download files form server to client.
Best regards,
Huy. -
How to get the document number for a ware house order.
Hello gurus,
how to get the document number for a ware house order. [if GI is posted refering that WH order] .. is there any report?
Thanks in advanceThere are several options. When you post a Goods Movement, you can use LB12 -display Transfer Requirement for material document or LB11 Display TR for material.
Depending on how your system is set up you may have gotten a Transfer Order automcatically. In this case you can look at LT24 - Transfer Order for material. -
How to get/view document number for KP06 Planning upload
Hi,
I have uploaded excel for Cost center/cost element Planning in KP06 using exccel planning.Now i want the document number which for which i have posted in KP06-Plan values using excel upload.
Kindly advice me how to get the document number for CO-OM(Cost center/Cost element planning) in KP06?
Thanks
SupriyaHello,
Please execute report KSBL. It should be useful.
Regards,
Ravi -
Error while getting xml document with default connection in 8iJServer
I had used GZIP utility to zip and store the document in
the CLOB. If i use thin drivers and GZIP to retieve this document it works fine.
instead of thin drivers if i use oracle8iJserver defalut
connection i get the follwing error
:Error while getting xml document Not in GZIP format.
your response is appreciated.
thanks
sanjay.Hi Yepin Jin,
I am facing the same issue did you solved it?
Regards,
Orlando Covault -
Hi All,
Can anybody suggest me how to get XML file of System form.
Means i want XML file of Sales order. Where i get it ?
Thanks,Hi Harish,
Lets try this code.It will solve ur problem.
Public Class SystemForm
Private WithEvents SBO_Application As SAPbouiCOM.Application
Private oOrderForm As SAPbouiCOM.Form
Private oNewItem As SAPbouiCOM.Item
Private oItem As SAPbouiCOM.Item
Private oFolderItem As SAPbouiCOM.Folder
Private oOptionBtn As SAPbouiCOM.OptionBtn
Private oCheckBox As SAPbouiCOM.CheckBox
Private i As Integer
Private Sub SetApplication()
Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi()
sConnectionString = Command
SboGuiApi.Connect(sConnectionString)
SBO_Application = SboGuiApi.GetApplication()
End Sub
Private Sub AddItemsToOrderForm()
oOrderForm.DataSources.UserDataSources.Add("OpBtnDS", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
oOrderForm.DataSources.UserDataSources.Add("CheckDS1", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
oOrderForm.DataSources.UserDataSources.Add("CheckDS2", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
oOrderForm.DataSources.UserDataSources.Add("CheckDS3", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
oItem = oOrderForm.Items.Item("126")
For i = 1 To 3
oNewItem = oOrderForm.Items.Add("CheckBox" & i, SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
oNewItem.Left = oItem.Left
oNewItem.Width = 100
oNewItem.Top = oItem.Top + (i - 1) * 19
oNewItem.Height = 19
oNewItem.FromPane = 5
oNewItem.ToPane = 5
oCheckBox = oNewItem.Specific
oCheckBox.Caption = "Check Box" & i '
oCheckBox.DataBind.SetBound(True, "", "CheckDS" & i)
Next i
oItem = oOrderForm.Items.Item("44")
For i = 1 To 3
oNewItem = oOrderForm.Items.Add("OpBtn" & i, SAPbouiCOM.BoFormItemTypes.it_OPTION_BUTTON)
oNewItem.Left = oItem.Left
oNewItem.Width = 100
oNewItem.Top = oItem.Top + (i - 1) * 19
oNewItem.Height = 19
oNewItem.FromPane = 5
oNewItem.ToPane = 5
oOptionBtn = oNewItem.Specific
oOptionBtn.Caption = "Option Button" & i
If i > 1 Then
oOptionBtn.GroupWith("OpBtn" & i - 1)
End If
oOptionBtn.DataBind.SetBound(True, "", "OpBtnDS")
Next i
End Sub
Public Sub New()
MyBase.New()
SetApplication()
End Sub
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
If ((pVal.FormType = 139 And pVal.EventType <> SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD) And (pVal.Before_Action = True)) Then
oOrderForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
If ((pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD) And (pVal.Before_Action = True)) Then
oNewItem = oOrderForm.Items.Add("UserFolder", SAPbouiCOM.BoFormItemTypes.it_FOLDER)
oItem = oOrderForm.Items.Item("138")
oNewItem.Top = oItem.Top
oNewItem.Height = oItem.Height
oNewItem.Width = oItem.Width
oNewItem.Left = oItem.Left + oItem.Width
oFolderItem = oNewItem.Specific
oFolderItem.Caption = "User Folder"
oFolderItem.GroupWith("138")
AddItemsToOrderForm()
oOrderForm.PaneLevel = 1
End If
If pVal.ItemUID = "UserFolder" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.Before_Action = True Then
oOrderForm.PaneLevel = 5
End If
End If
End Sub
Private Sub SBO_Application_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes)
Select Case EventType
Case SAPbouiCOM.BoAppEventTypes.aet_ShutDown
SBO_Application.MessageBox("A Shut Down Event has been caught" & _
vbNewLine & "Terminating 'Order Form Manipulation' Add On...")
End
End Select
End Sub
End Class
Regards
Mohana
Maybe you are looking for
-
What is Adobe Shockwave player and why do I need it?
Do I need Adobe Shockwave if I already have Adobe Flash?
-
Hello, could someone help me out, the site was created using Dreamweaver CS3. The site is all launched but the spry horizontal menu bar seems to go up instead of drop down in IE. Highly appreciate if anyone could review the site and advise. http://ww
-
I downloaded iMovie 6.0.3 and it doesn't work!
So I got a MacBook with Leopard and iLife '08 built in. Then I discovered I could get iMovie HD 6 for free, so I downloaded it but whn i'm installing it it says "You cannot install iMovie HD Update on this volume. This update requires iMovie HD versi
-
BitmapData.draw Security Sandbox and LocalTrusted not working?
Hello there, wondering if anyone else is having the same problem -- I have a LocalTrusted security sandboxType -- and when i try to access a BitmapData.draw method on a progressive flv, i get the error message: SecurityError: Error #2135: Security sa
-
Hi hussein; I need your help. I have 10.2.0.4 database on linux cluster system. When flow those steps: drop user sysman cascade; drop role MGMT_USER; drop user MGMT_VIEW cascade; drop public synonym MGMT_TARGET_BLACKOUTS; drop public synonym SETEMVIE