Trees, Branches and elements ALEXANDER!
Hello fellow Scripting Guys!
This is my first attempt with the help of a tree for what it is, I usually stick to radio buttons and drop-down list lists but the tree is the best option for what I have. I have to fill it and everything works really nice but what is the best way to get what is selected in the tree? Here is my code.
//Created by Daryl R. Smith #target illustrator if (1 > 0) { var w = new Window ("dialog", "Choose Calendar Template", undefined,{resize: true}); w.orientation = "column"; w.alignChildren = "right"; w.size = [300,525]; var caltab = w.add ('group',undefined,"Calendar"); var cal_Tree = caltab.add ('treeview',undefined,"Header shapes"); cal_Tree.size = [280,430] var calPnS_Branch = cal_Tree.add ('node',"Press N Stick"); var calMS_Branch = cal_Tree.add ('node',"Magna Stick"); var calSS_Branch = cal_Tree.add ('node',"Super Size"); var calSP_Branch = cal_Tree.add ('node',"Screen Print"); var calSP_PnS_Branch = calSP_Branch.add ('node', "Press N Stick") var calSP_MS_Branch = calSP_Branch.add ('node', "Magna Stick") var calSP_SS_Branch = calSP_Branch.add ('node', "Super Size") var calFC_Branch = cal_Tree.add ('node', "Full Color") var calFC_7871_Branch = calFC_Branch.add ('node', "V7871 Full Color Calendars") var calFC_PnC_Branch = calFC_Branch.add ('node', "V7873 Paws-N-Claws") var cal3month_Branch = cal_Tree.add ('node',"3-Month"); var calMisc_Branch = cal_Tree.add ('node',"Misc"); var bottomsection = w.add ('group', undefined, undefined) bottomsection.orientation = "row" var selectiongrp = bottomsection.add ('group', undefined, undefined) selectiongrp.orientation = "column" var treeItemSelectedis = selectiongrp.add ('statictext', undefined, "Your selection is: ") var treeItemSelected = selectiongrp.add ('statictext', undefined, "Item Number") calPnS_Branch.active = true; cal_Tree.onChange = function() { treeItemSelected.text = cal_Tree.name; } var bottomspacer = bottomsection.add ('group', undefined, undefined) bottomspacer.size = [70,00] var btngroup = bottomsection .add ('group', undefined, undefined) btngroup.orientation = "column" var okbtn = btngroup.add ('button', undefined, "Ok"); var cnlbtn = btngroup.add ('button', undefined, "Cancel"); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function fillall_PnS() { var calPnSTempPath = Folder ("S:/Art/ArtDept/ Vitronic Master Templates/CALENDARS/Calendars/Press N Stick"); var calPnSTempFiles = calPnSTempPath.getFiles(); var calPnSnamesArr = []; for(var i=0; i<calPnSTempFiles.length; i++){ var thiscalPnSFile = calPnSTempFiles[i]; calPnSnamesArr.push(thiscalPnSFile.displayName); } return calPnSnamesArr; } var calPnSarr1 = fillall_PnS(); for(var i=0; i<calPnSarr1.length; i++) { var calPnSitem = calPnSarr1[i]; var lbl = calPnS_Branch.add ('item', calPnSitem); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function fillall_MS() { var calMSTempPath = Folder ("S:/Art/ArtDept/ Vitronic Master Templates/CALENDARS/Calendars/Magna Stick"); var calMSTempFiles = calMSTempPath.getFiles(); var calMSnamesArr = []; for(var i=0; i<calMSTempFiles.length; i++){ var thiscalMSFile = calMSTempFiles[i]; calMSnamesArr.push(thiscalMSFile.displayName); } return calMSnamesArr; } var calMSarr1 = fillall_MS (); for(var i=0; i<calMSarr1.length; i++) { var calMSitem = calMSarr1[i]; var lbl = calMS_Branch.add ('item', calMSitem); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function fillall_SP_PNS() { var calSP_PnSTempPath = Folder ("S:/Art/ArtDept/ Vitronic Master Templates/CALENDARS/Calendars SP/Press N Stick"); var calSP_PnSTempFiles = calSP_PnSTempPath.getFiles(); var calSP_PnSnamesArr = []; for(var i=0; i<calSP_PnSTempFiles.length; i++){ var thiscalSP_PnSFile = calSP_PnSTempFiles[i]; calSP_PnSnamesArr.push(thiscalSP_PnSFile.displayName); } return calSP_PnSnamesArr; } var calSP_PnSarr1 = fillall_SP_PNS(); for(var i=0; i<calSP_PnSarr1.length; i++) { var calSP_PnSitem = calSP_PnSarr1[i]; var lbl = calSP_PnS_Branch.add ('item', calSP_PnSitem); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function fillall_SP_MS() { var calSP_MSTempPath = Folder ("S:/Art/ArtDept/ Vitronic Master Templates/CALENDARS/Calendars SP/Magna Stick"); var calSP_MSTempFiles = calSP_MSTempPath.getFiles(); var calSP_MSnamesArr = []; for(var i=0; i<calSP_MSTempFiles.length; i++){ var thiscalSP_MSFile = calSP_MSTempFiles[i]; calSP_MSnamesArr.push(thiscalSP_MSFile.displayName); } return calSP_MSnamesArr; } var calSP_MSSarr1 = fillall_SP_MS(); for(var i=0; i<calSP_MSSarr1.length; i++) { var calSP_MSitem = calSP_PnSarr1[i]; var lbl = calSP_MS_Branch.add ('item', calSP_MSitem); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function fillall_SP_SS() { var calSP_SSTempPath = Folder ("S:/Art/ArtDept/ Vitronic Master Templates/CALENDARS/Calendars SP/Super Size Press N Stick"); var calSP_SSTempFiles = calSP_SSTempPath.getFiles(); var calSP_SSnamesArr = []; for(var i=0; i<calSP_SSTempFiles.length; i++){ var thiscalSP_SSFile = calSP_SSTempFiles[i]; calSP_SSnamesArr.push(thiscalSP_SSFile.displayName); } return calSP_SSnamesArr; } var calSP_SSarr1 = fillall_SP_SS(); for(var i=0; i<calSP_SSarr1.length; i++) { var calSP_SSitem = calSP_SSarr1[i]; var lbl = calSP_SS_Branch.add ('item', calSP_SSitem); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function fillall_SS() { var calSSTempPath = Folder ("S:/Art/ArtDept/ Vitronic Master Templates/CALENDARS/Calendars/Super Size Press N Stick"); var calSSTempFiles = calSSTempPath.getFiles(); var calSSnamesArr = []; for(var i=0; i<calSSTempFiles.length; i++){ var thiscalSSFile = calSSTempFiles[i]; calSSnamesArr.push(thiscalSSFile.displayName); } return calSSnamesArr; } var calSSarr1 = fillall_SS(); for(var i=0; i<calSSarr1.length; i++) { var calSSitem = calSSarr1[i]; var lbl = calSS_Branch.add ('item', calSSitem); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function fillall_3month() { var cal3monthTempPath = Folder ("S:/Art/ArtDept/ Vitronic Master Templates/CALENDARS/Calendars/3-Month 8858 & 8860"); var cal3monthTempFiles = cal3monthTempPath.getFiles(); var cal3monthnamesArr = []; for(var i=0; i<cal3monthTempFiles.length; i++){ var thiscal3monthFile = cal3monthTempFiles[i]; cal3monthnamesArr.push(thiscal3monthFile.displayName); } return cal3monthnamesArr; } var cal3montharr1 = fillall_3month(); for(var i=0; i<cal3montharr1.length; i++) { var cal3monthitem = cal3montharr1[i]; var lbl = cal3month_Branch.add ('item', cal3monthitem); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function fillall_FC_7871() { var calFC_7871TempPath = Folder ("S:/Art/ArtDept/ Vitronic Master Templates/CALENDARS/FULL COLOR/V7871"); var calFC_7871TempFiles = calFC_7871TempPath.getFiles(); var calFC_7871namesArr = []; for(var i=0; i<calFC_7871TempFiles.length; i++){ var thiscalFC_7871File = calFC_7871TempFiles[i]; calFC_7871namesArr.push(thiscalFC_7871File.displayName); } return calFC_7871namesArr; } var calFC_7871arr1 = fillall_FC_7871(); for(var i=0; i<calFC_7871arr1.length; i++) { var calFC_7871item = calFC_7871arr1[i]; var lbl = calFC_7871_Branch.add ('item', calFC_7871item); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function fillall_FC_PnC() { var calFC_PnCTempPath = Folder ("S:/Art/ArtDept/ Vitronic Master Templates/CALENDARS/FULL COLOR/V7873 PAWS N CLAWS"); var calFC_PnCTempFiles = calFC_PnCTempPath.getFiles(); var calFC_PnCnamesArr = []; for(var i=0; i<calFC_PnCTempFiles.length; i++){ var thiscalFC_PnCFile = calFC_PnCTempFiles[i]; calFC_PnCnamesArr.push(thiscalFC_PnCFile.displayName); } return calFC_PnCnamesArr; } var calFC_PnCarr1 = fillall_FC_PnC(); for(var i=0; i<calFC_PnCarr1.length; i++) { var calFC_PnCitem = calFC_PnCarr1[i]; var lbl = calFC_PnC_Branch.add ('item', calFC_PnCitem); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function fillall_Misc() { var calMiscTempPath = Folder ("S:/Art/ArtDept/ Vitronic Master Templates/CALENDARS/Misc"); var calMiscTempFiles = calMiscTempPath.getFiles(); var calMiscnamesArr = []; for(var i=0; i<calMiscTempFiles.length; i++){ var thiscalMiscFile = calMiscTempFiles[i]; calMiscnamesArr.push(thiscalMiscFile.displayName); } return calMiscnamesArr; } var calMiscarr1 = fillall_Misc(); for(var i=0; i<calMiscarr1.length; i++) { var calMiscitem = calMiscarr1[i]; var lbl = calMisc_Branch.add ('item', calMiscitem); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// okbtn.onClick = function() { getchoice() alert ("who's awesome?" + itemrequested.text + " is your choice") } cnlbtn.onClick = function () { w.close() } w.show () } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function getchoice() { var maxPossible = calPnS_Branch.length; for (var i = 0, l = maxPossible; i < l; i++) { if (calPnS_Branch[i].selected == true) { itemrequested.text = calPnS_Branch[i].name; alert ("pns"); break; } else if (calMS_Branch[i].selected == true) { itemrequested.text = calMS_Branch[i].name; break; } else if (calSS_Branch[i].selected == true) { itemrequested.text = calSS_Branch[i].name; break; } else if (calSP_Branch[i].selected == true) { itemrequested.text = calSP_Branch[i].name; break; } else if (calSP_PnS_Branch[i].selected == true) { itemrequested.text = calSP_PnS_Branch[i].name; break; } else if (calSP_MS_Branch[i].selected == true) { itemrequested.text = calSP_MS_Branch[i].name; break; } else if (calSP_SS_Branch[i].selected == true) { itemrequested.text = calSP_SS_Branch[i].name; break; } else if (calFC_7871_Branch[i].selected == true) { itemrequested.text = calFC_7871_Branch[i].name; break; } else if (calFC_PnC_Branch[i].selected == true) { itemrequested.text = calFC_PnC_Branch[i].name; break; } else if (cal3month_Branch[i].selected == true) { itemrequested.text = cal3month_Branch[i].name; break; } else if (calMisc_Branch[i].selected == true) { itemrequested.text = calMisc_Branch[i].name; break; } else { itemrequested.text = "Item Not Found"; } } }
I don't know how to get the selected item, I guide Peter Hahrel scriptui-2-5 and it was important but help does not say how to make the choice of the users that I can find.
I was a part of the selection down which runs through each element of each branch to get the selection, but it never works. I even tried the "cal_Tree.selected", but it returns only the index number but not the name.
Forever grateful
-Zantcor-
In the tree, you've got a 'selection' property, so what you can do is designate as treeview.selection. To get the text for example, use treeview.selection.text.
Tags: Illustrator
Similar Questions
-
Style a tree branch selectively
Hello
I have a XML structure as follows:
[Bindable]
private var tempDataSource: XML = < label root = "root" >
< label element = current "Apple" = "false" >
< label void = "on" / >
< void label = 'two' / >
< / item >
< label item = "pear" current = "true" >
< label void = "alpha" / >
< label void = "beta" / >
< / item >
< / root >;
I link data to a tree as follows:
< mx:Tree dataProvider = "{tempDataSource}" showRoot = 'false' labelField="@label"/ >
I want change the style of the tree branch by programming point PEAR to say "BOLD" by using the attribute current == true condition, but I don't know how to apply a style to a single element in a tree. My apologies if this is obvious, but the answer escapes me.jlingwai, you are a champion. Indeed, a custom converter is the answer I needed. My solution, following my previous announcement, ends like this...
Create a custom converter based on TreeItemRenderer as follows:
file name: customRenderers\MyTreeItemRenderer.as
package customRenderers
{
Mx.controls.treeClasses import. *;
Import mx.collections. *;SerializableAttribute public class MyTreeItemRenderer extends TreeItemRenderer
{
Define the constructor.
public void MyTreeItemRenderer)
{
Super ();
}Override the updateDisplayList() method to set the text for each tree node.
override protected function updateDisplayList (unscaledWidth: Number, unscaledHeight: number): void
{
super.updateDisplayList (unscaledWidth, unscaledHeight);If (super.data)
{
var State: XMLList = new XMLList (TreeListData (super.listData) .item);If ('true' State [0] == .@current)
{
Super.Label.Text = TreeListData (super.listData) .label + "(current)";setStyle ('color', 'blue');
setStyle ("fontWeight", "bold");
}
}
}
}
}Then just assign the converter for the tree component and your father's brother Robert.
So take advantage of this moment I am.
-
Hierarchical Querey: duplicate branches and values returned when no shouldn't exist.
All,
It is a follow-up question for a discussion earlier on the problems with the DBMS_XMLGEN.newContextFromHierarchy function. I use hierarchical queries to build a purchase order (PO) in an XML document. The process uses 2 hierarchical queries, built IN. header information and the other relies details of the PO line. The detail line query is performed on a table that contains the row data of the PO with an underlying hierarchical structure (sample data are included below). When I run the query on the data, it returns in double branches and leaves (values). It seems to be that pass through the same branch several times and return the results. According to Oracle, this shouldn't be the case, however, in my research on what I see it's a pretty common question that appears, but I have yet to find a solid solution to the problem. The image below of the Oracle documentation and watch the sequence of path for these queries:
Can I use "Select Distinct" to work around this problem. It works on smaller POs, where the number of lines of all is small. However, as the number of PO lines grows and information associated with each line in. develops, it becomes untenable because it comes with a lot of course and the request ends up becoming interminably long, to the point of failure.
There are 2 branches of the data structure that is repeated according to the number of ca on the purchase order lines. Each section of line item PO repeats as a group in a series of repetitions, which is the number of lines of ca, for example if I have 3 lines IN. I get 1,2,3, 1,2,3, 1,2,3.
Within each OP section of line is a subgroup (ItemDetail). The Group of elements within each subgroup ItemDetail repeat at a frequency that is the number of lines of ca. The data is repeated here looks like it pushes like a factorial, which makes it easy to see why "Select Distinct" becomes untenable for the large POs.
*** I use this code in production with the "Select Distinct" restriction, but I noticed a slight increase in the size of our point of sale, so there is real urgency to get this corrected potential disaster.
Here is the code example that uses the hierarchical query without the "Select Distinct" to pull in the line IN detail. This code will produce the output described (and shown) by pressing against the example data set I included.
DECLARE linectx DBMS_XMLGEN.ctxHandle; DocLength NUMBER; --How long is the PO Doc Clob fulldoc CLOB; --Generated XML document LoopVar NUMBER; --Loop control variable lineqry VARCHAR2(2000) := q'[SELECT LVL, XMLELEMENT(EVALNAME MWELEMENT, TAGVAL) MWELEMENT FROM (SELECT LEVEL LVL, Y.XPL_TAGNAME MWELEMENT, Y.XPL_TAGVALUE TAGVAL, Y.XPL_TAGSEQ TAGSEQ, Y.XPL_SUBSEQ SUBSEQ, Y.XPL_GRPSEQ GRPSEQ, Y.XPL_POLINE POLINE FROM XMLPOLINETEST Y START WITH Y.XPL_PONO = :PONO AND Y.XPL_POLINE = 0 AND Y.XPL_TAGNAME = 'LineDetail' CONNECT BY Y.XPL_PONO = PRIOR Y.XPL_PONO AND Y.XPL_SUBSEQ = PRIOR Y.XPL_GRPSEQ ORDER SIBLINGS BY Y.XPL_POLINE ,Y.XPL_SUBSEQ ,Y.XPL_TAGSEQ)]'; BEGIN DBMS_OUTPUT.ENABLE(BUFFER_SIZE => NULL); DBMS_LOB.CREATETEMPORARY(fulldoc,TRUE); linectx := DBMS_XMLGEN.newContextFromHierarchy(lineqry); DBMS_XMLGEN.setBINDValue(linectx,'PONO',2286766); SELECT XMLSERIALIZE(DOCUMENT XMLELEMENT("Record" ,DBMS_XMLGEN.getXMLType(linectx) ) AS CLOB INDENT SIZE = 2) INTO fulldoc FROM DUAL; DBMS_XMLGEN.Closecontext(linectx); DocLength := DBMS_LOB.GETLENGTH(fulldoc); LoopVar := 1; LOOP DBMS_OUTPUT.PUT_LINE(DBMS_LOB.SUBSTR(fulldoc,8000,LoopVar)); LoopVar := LoopVar+8000; EXIT WHEN LoopVar > DocLength; END LOOP; DBMS_LOB.FREETEMPORARY(fulldoc); EXCEPTION WHEN OTHERS THEN DBMS_OUTPUT.PUT_LINE('Call Stack: '||DBMS_UTILITY.FORMAT_CALL_STACK||Chr(10)); DBMS_OUTPUT.PUT_LINE('Error Stack: '||DBMS_UTILITY.FORMAT_ERROR_STACK||Chr(10)); DBMS_OUTPUT.PUT_LINE('Error Backtrace: '||DBMS_UTILITY.FORMAT_ERROR_BACKTRACE||Chr(10)); END;
Here is a set of data in row sample PO:
XPL_PONO XPL_POLINE XPL_SUBSEQ XPL_TAGSEQ XPL_GRPSEQ XPL_TAGNAME XPL_TAGVALUE XPL_ENTDT 2290872 0 0 2 28 LineDetail 05-OCT-15 2290872 1 28 1 29 Item 05-OCT-15 2290872 1 29 1 30 Cust-PO-Line-Number 1 05-OCT-15 2290872 1 29 6 31 Quantity 1 05-OCT-15 2290872 1 29 7 32 Part-Number 10501818 05-OCT-15 2290872 1 29 8 33 Revision-Level 05-OCT-15 2290872 1 29 9 34 Product-Name CARTRIDGE, LH 05-OCT-15 2290872 1 29 10 35 Price 0 05-OCT-15 2290872 1 29 11 36 UOM EA 05-OCT-15 2290872 1 29 12 37 Extended-Price 0 05-OCT-15 2290872 1 29 13 38 Supplier-Part 05-OCT-15 2290872 1 29 14 39 Item-Due-Date 12-OCT-15 05-OCT-15 2290872 1 29 16 40 BatchNo 05-OCT-15 2290872 1 29 17 41 SequenceNo 05-OCT-15 2290872 1 29 18 42 Release-HR 05-OCT-15 2290872 1 29 19 43 ItemDetail 05-OCT-15 2290872 1 29 2 47 Marvin-Sales-Order A_E04704 05-OCT-15 2290872 1 29 3 48 Sales-Order-Line 1 05-OCT-15 2290872 1 29 15 49 DockID - 05-OCT-15 2290872 1 29 4 50 Unit A1 05-OCT-15 2290872 1 29 5 51 Sash 00 05-OCT-15 2290872 1 43 1 52 SCREENING 05-OCT-15 2290872 1 43 2 53 FINISH 05-OCT-15 2290872 1 43 3 54 Screen-Material 05-OCT-15 2290872 1 43 4 55 Screen-Style-Color 05-OCT-15 2290872 1 43 5 56 Sill-Type 05-OCT-15 2290872 1 43 6 57 Sill-Color 05-OCT-15 2290872 1 43 7 58 Dimensions 05-OCT-15 2290872 1 43 8 59 Start-With 05-OCT-15 2290872 1 43 9 60 WIDTH 05-OCT-15 2290872 1 43 10 61 HEIGHT 05-OCT-15 2290872 2 28 1 29 Item 05-OCT-15 2290872 2 29 1 30 Cust-PO-Line-Number 2 05-OCT-15 2290872 2 29 6 31 Quantity 1 05-OCT-15 2290872 2 29 7 32 Part-Number 10501819 05-OCT-15 2290872 2 29 8 33 Revision-Level 05-OCT-15 2290872 2 29 9 34 Product-Name CARTRIDGE, RH 05-OCT-15 2290872 2 29 10 35 Price 0 05-OCT-15 2290872 2 29 11 36 UOM EA 05-OCT-15 2290872 2 29 12 37 Extended-Price 0 05-OCT-15 2290872 2 29 13 38 Supplier-Part 05-OCT-15 2290872 2 29 14 39 Item-Due-Date 12-OCT-15 05-OCT-15 2290872 2 29 16 40 BatchNo 05-OCT-15 2290872 2 29 17 41 SequenceNo 05-OCT-15 2290872 2 29 18 42 Release-HR 05-OCT-15 2290872 2 29 19 43 ItemDetail 05-OCT-15 2290872 2 29 2 47 Marvin-Sales-Order A_E04704 05-OCT-15 2290872 2 29 3 48 Sales-Order-Line 2 05-OCT-15 2290872 2 29 15 49 DockID - 05-OCT-15 2290872 2 29 4 50 Unit A1 05-OCT-15 2290872 2 29 5 51 Sash 00 05-OCT-15 2290872 2 43 1 52 SCREENING 05-OCT-15 2290872 2 43 2 53 FINISH 05-OCT-15 2290872 2 43 3 54 Screen-Material 05-OCT-15 2290872 2 43 4 55 Screen-Style-Color 05-OCT-15 2290872 2 43 5 56 Sill-Type 05-OCT-15 2290872 2 43 6 57 Sill-Color 05-OCT-15 2290872 2 43 7 58 Dimensions 05-OCT-15 2290872 2 43 8 59 Start-With 05-OCT-15 2290872 2 43 9 60 WIDTH 05-OCT-15 2290872 2 43 10 61 HEIGHT 05-OCT-15 2290872 3 28 1 29 Item 05-OCT-15 2290872 3 29 1 30 Cust-PO-Line-Number 3 05-OCT-15 2290872 3 29 6 31 Quantity 1 05-OCT-15 2290872 3 29 7 32 Part-Number 10501819 05-OCT-15 2290872 3 29 8 33 Revision-Level 05-OCT-15 2290872 3 29 9 34 Product-Name CARTRIDGE, RH 05-OCT-15 2290872 3 29 10 35 Price 0 05-OCT-15 2290872 3 29 11 36 UOM EA 05-OCT-15 2290872 3 29 12 37 Extended-Price 0 05-OCT-15 2290872 3 29 13 38 Supplier-Part 05-OCT-15 2290872 3 29 14 39 Item-Due-Date 12-OCT-15 05-OCT-15 2290872 3 29 16 40 BatchNo 05-OCT-15 2290872 3 29 17 41 SequenceNo 05-OCT-15 2290872 3 29 18 42 Release-HR 05-OCT-15 2290872 3 29 19 43 ItemDetail 05-OCT-15 2290872 3 29 2 47 Marvin-Sales-Order A_E04704 05-OCT-15 2290872 3 29 3 48 Sales-Order-Line 3 05-OCT-15 2290872 3 29 15 49 DockID - 05-OCT-15 2290872 3 29 4 50 Unit A1 05-OCT-15 2290872 3 29 5 51 Sash 00 05-OCT-15 2290872 3 43 1 52 SCREENING 05-OCT-15 2290872 3 43 2 53 FINISH 05-OCT-15 2290872 3 43 3 54 Screen-Material 05-OCT-15 2290872 3 43 4 55 Screen-Style-Color 05-OCT-15 2290872 3 43 5 56 Sill-Type 05-OCT-15 2290872 3 43 6 57 Sill-Color 05-OCT-15 2290872 3 43 7 58 Dimensions 05-OCT-15 2290872 3 43 8 59 Start-With 05-OCT-15 2290872 3 43 9 60 WIDTH 05-OCT-15 2290872 3 43 10 61 HEIGHT 05-OCT-15
Here is the output resulting from the use of the hierarchical line IN. query in the examples of code against the sample data:
<Record> <LineDetail> <Item> <Cust-PO-Line-Number>1</Cust-PO-Line-Number> <Marvin-Sales-Order>A_E04704</Marvin-Sales-Order> <Sales-Order-Line>1</Sales-Order-Line> <Unit>A1</Unit> <Sash>00</Sash> <Quantity>1</Quantity> <Part-Number>10501818</Part-Number> <Revision-Level/> <Product-Name>CARTRIDGE, LH</Product-Name> <Price>0</Price> <UOM>EA</UOM> <Extended-Price>0</Extended-Price> <Supplier-Part/> <Item-Due-Date>12-OCT-15</Item-Due-Date> <DockID>-</DockID> <BatchNo/> <SequenceNo/> <Release-HR/> <ItemDetail> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> </ItemDetail> <Cust-PO-Line-Number>2</Cust-PO-Line-Number> <Marvin-Sales-Order>A_E04704</Marvin-Sales-Order> <Sales-Order-Line>2</Sales-Order-Line> <Unit>A1</Unit> <Sash>00</Sash> <Quantity>1</Quantity> <Part-Number>10501819</Part-Number> <Revision-Level/> <Product-Name>CARTRIDGE, RH</Product-Name> <Price>0</Price> <UOM>EA</UOM> <Extended-Price>0</Extended-Price> <Supplier-Part/> <Item-Due-Date>12-OCT-15</Item-Due-Date> <DockID>-</DockID> <BatchNo/> <SequenceNo/> <Release-HR/> <ItemDetail> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> </ItemDetail> <Cust-PO-Line-Number>3</Cust-PO-Line-Number> <Marvin-Sales-Order>A_E04704</Marvin-Sales-Order> <Sales-Order-Line>3</Sales-Order-Line> <Unit>A1</Unit> <Sash>00</Sash> <Quantity>1</Quantity> <Part-Number>10501819</Part-Number> <Revision-Level/> <Product-Name>CARTRIDGE, RH</Product-Name> <Price>0</Price> <UOM>EA</UOM> <Extended-Price>0</Extended-Price> <Supplier-Part/> <Item-Due-Date>12-OCT-15</Item-Due-Date> <DockID>-</DockID> <BatchNo/> <SequenceNo/> <Release-HR/> <ItemDetail> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> </ItemDetail> </Item> <Item> <Cust-PO-Line-Number>1</Cust-PO-Line-Number> <Marvin-Sales-Order>A_E04704</Marvin-Sales-Order> <Sales-Order-Line>1</Sales-Order-Line> <Unit>A1</Unit> <Sash>00</Sash> <Quantity>1</Quantity> <Part-Number>10501818</Part-Number> <Revision-Level/> <Product-Name>CARTRIDGE, LH</Product-Name> <Price>0</Price> <UOM>EA</UOM> <Extended-Price>0</Extended-Price> <Supplier-Part/> <Item-Due-Date>12-OCT-15</Item-Due-Date> <DockID>-</DockID> <BatchNo/> <SequenceNo/> <Release-HR/> <ItemDetail> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> </ItemDetail> <Cust-PO-Line-Number>2</Cust-PO-Line-Number> <Marvin-Sales-Order>A_E04704</Marvin-Sales-Order> <Sales-Order-Line>2</Sales-Order-Line> <Unit>A1</Unit> <Sash>00</Sash> <Quantity>1</Quantity> <Part-Number>10501819</Part-Number> <Revision-Level/> <Product-Name>CARTRIDGE, RH</Product-Name> <Price>0</Price> <UOM>EA</UOM> <Extended-Price>0</Extended-Price> <Supplier-Part/> <Item-Due-Date>12-OCT-15</Item-Due-Date> <DockID>-</DockID> <BatchNo/> <SequenceNo/> <Release-HR/> <ItemDetail> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> </ItemDetail> <Cust-PO-Line-Number>3</Cust-PO-Line-Number> <Marvin-Sales-Order>A_E04704</Marvin-Sales-Order> <Sales-Order-Line>3</Sales-Order-Line> <Unit>A1</Unit> <Sash>00</Sash> <Quantity>1</Quantity> <Part-Number>10501819</Part-Number> <Revision-Level/> <Product-Name>CARTRIDGE, RH</Product-Name> <Price>0</Price> <UOM>EA</UOM> <Extended-Price>0</Extended-Price> <Supplier-Part/> <Item-Due-Date>12-OCT-15</Item-Due-Date> <DockID>-</DockID> <BatchNo/> <SequenceNo/> <Release-HR/> <ItemDetail> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> </ItemDetail> </Item> <Item> <Cust-PO-Line-Number>1</Cust-PO-Line-Number> <Marvin-Sales-Order>A_E04704</Marvin-Sales-Order> <Sales-Order-Line>1</Sales-Order-Line> <Unit>A1</Unit> <Sash>00</Sash> <Quantity>1</Quantity> <Part-Number>10501818</Part-Number> <Revision-Level/> <Product-Name>CARTRIDGE, LH</Product-Name> <Price>0</Price> <UOM>EA</UOM> <Extended-Price>0</Extended-Price> <Supplier-Part/> <Item-Due-Date>12-OCT-15</Item-Due-Date> <DockID>-</DockID> <BatchNo/> <SequenceNo/> <Release-HR/> <ItemDetail> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> </ItemDetail> <Cust-PO-Line-Number>2</Cust-PO-Line-Number> <Marvin-Sales-Order>A_E04704</Marvin-Sales-Order> <Sales-Order-Line>2</Sales-Order-Line> <Unit>A1</Unit> <Sash>00</Sash> <Quantity>1</Quantity> <Part-Number>10501819</Part-Number> <Revision-Level/> <Product-Name>CARTRIDGE, RH</Product-Name> <Price>0</Price> <UOM>EA</UOM> <Extended-Price>0</Extended-Price> <Supplier-Part/> <Item-Due-Date>12-OCT-15</Item-Due-Date> <DockID>-</DockID> <BatchNo/> <SequenceNo/> <Release-HR/> <ItemDetail> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> </ItemDetail> <Cust-PO-Line-Number>3</Cust-PO-Line-Number> <Marvin-Sales-Order>A_E04704</Marvin-Sales-Order> <Sales-Order-Line>3</Sales-Order-Line> <Unit>A1</Unit> <Sash>00</Sash> <Quantity>1</Quantity> <Part-Number>10501819</Part-Number> <Revision-Level/> <Product-Name>CARTRIDGE, RH</Product-Name> <Price>0</Price> <UOM>EA</UOM> <Extended-Price>0</Extended-Price> <Supplier-Part/> <Item-Due-Date>12-OCT-15</Item-Due-Date> <DockID>-</DockID> <BatchNo/> <SequenceNo/> <Release-HR/> <ItemDetail> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> <SCREENING/> <FINISH/> <Screen-Material/> <Screen-Style-Color/> <Sill-Type/> <Sill-Color/> <Dimensions/> <Start-With/> <WIDTH/> <HEIGHT/> </ItemDetail> </Item> </LineDetail> </Record>
Thanks in advance for any help.
Paul
I might have misunderstood your data, but think that the problem is in your code of treewalk. I think that a party must be:
SELECT
LEVEL LVL,
Y.XPL_TAGNAME MWELEMENT,
Y.XPL_TAGVALUE TAGVAL,
Y.XPL_TAGSEQ TAGSEQ,
Y.XPL_SUBSEQ FOLLOWING,
Y.XPL_GRPSEQ GRPSEQ,
Y.XPL_POLINE KAMILLA
OF XMLPOLINETEST Y
START WITH Y.XPL_PONO =: PONO
AND Y.XPL_POLINE = 0
AND Y.XPL_TAGNAME = 'LineDetail.
CONNECT PRIOR Y.XPL_PONO = Y.XPL_PONO
AND PRIOR Y.XPL_POLINE (0, Y.XPL_POLINE)
AND PRIOR Y.XPL_GRPSEQ = Y.XPL_SUBSEQ
BROTHERS AND SŒURS ORDER BY Y.XPL_POLINE
Y.XPL_SUBSEQ
Y.XPL_TAGSEQ
EDIT: adding Y.XPL_PONO PRIOR = Y.XPL_PONO for the use of the index.
-
My files, folders and element names are colored which appear in blue, how to change them back to black?
The names of files (text) for example appear blue, as if it were a hyper link, where normally they should be black. What can I do to change black?
In general, folders with names of blue files appear in this way because the compression of files and folders is enabled for this file or folder. To return only the names of files and folders back to the dark, disable compression of files and folders that show in blue now. Right-click on the folder, select Properties, and then on the Advanced button and that is the option.
writing in the new message: * e-mail address is removed from the privacy... * My files, folders and element names are colored which appear in blue, how to change them back to black?
The names of files (text) for example appear blue, as if it were a hyper link, where normally they should be black. What can I do to change black?
-
I tried to install Family Tree Maker and get 1310 error writing to file: BCL. EasyConverterLiB.Interop.dll have no idea what to do.
Hello
1. how you try to install this program?
I suggest you to set up your computer in a clean boot state, and check to see if the same problem happens.
By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.
How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
http://support.Microsoft.com/kb/929135Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.
If the problem persists, then contact family tree click the link below:
http://www.familytreemaker.com/support/contact
Hope this information is useful.
-
Download previous Photoshop and elements 13 first purchased programs
I bought Adobe Photoshop elements and elements first 13 last year. They are registered and I still have the DVD discs. My computer crashed and I bought a new one that doesn't have a DVD player. Can I download these on the site. I don't see them on the site for download.
Thank you
Phil Greig
Yes. Here are the links:
-
I need to contact ADOBE customer service, I just bought adobe photoshop and elements for windows first, but I have a Mac. Can I change the purchase? Thank you. Mauro
To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If it fails to connect, try to use another browser.
Get help from cat with orders, refunds and exchanges (non - CC)
http://helpx.Adobe.com/x-productkb/global/service-b.html ( http://adobe.ly/1d3k3a5 )
-
I did an update yesterday and now my lightroom 6 and elements will not open. I get error messages / error 16 on lightroom and we have tried everything, including the creation of a new Director. Help!
In Adobe Creative Suite or Adobe Creative Cloud configuration error
-
I'm Italian and I jI'm Italian and I just ordered photoshop and first elements. I've already paid for, but there is no file to download. I have a mac and there is for windows. What should I do? oI TEU am Italian and I just ordered photoshop and first elements. I've already paid for, but there is no file to download. I have a mac and there is for windows. What should I do? photoshop and elements first rdered. I've already paid for, but there is no file to download. I have a mac and there is for windows. What should I do?
You must ensure that you ordered for a Mac.
If not,
To the link below, click on the still need help? option in the blue box below and choose the option to chat (or phone)...
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If it fails to connect, try to use another browser.
Get help from cat with orders, refunds and exchanges (non - CC)
http://helpx.Adobe.com/x-productkb/global/service-b.html ( http://adobe.ly/1d3k3a5 )
Here are a few download links:
Download and Installation Help-
https://helpx.Adobe.com/download-install.html
PES 10, 11, 12, 13, 14 - https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-downloads.html
You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.
Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.
Photoshop/Premiere Elements 14: http://prodesigntools.com/photoshop-elements-14-direct-download-links-premiere.html
-
Re-installing lightroom and elements of a disk
I have lightroom 5 and elements 13 installed on my computer from a disc bought less than a year ago. Unfortunately, I'm having a problem with windows 7 and need to perform a system recovery. I will lose all my programs installed. I'll be able to re - install the two of them drive? I thought they were protected, you cannot use both times.
What you need to do, if you can, before executing the recovery, is to disable the 13 items so that you release the activation to another use (you can have two machines with active installations, so, releasing that leave you with an extra yet). You don't have to do it to Lightroom because it doesn't have a feature to disable (until you get to version 6).
Your drive should still be good to use, but if you have a problem, you can download the installation files and activate using the serial numbers, you have discs.
PSE 7, 8, 9 - http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-7-8-9-downloads.html
PE 10, 11, 12, 13, 14 - https://helpx.adobe.com/premiere-elements/kb/premiere-elements-downloads.html
Lightroom - all versions
Windows
http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Windows
Mac
http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh
You can also download the demo version of the software elements through the page linked below and then use your current serial number to activate it.
Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.
Photoshop/Premiere Elements 13: http://prodesigntools.com/photoshop-elements-13-direct-download-links-premiere.html
-
In 2010, I bought and downloaded Photoshop and elements 9.0 first. I see them again in my account online and havae a new computer. I can't download them more. Where can I find them? Or are they just not being supported anymore?
@
[title published by mod]
This error message you get when you try to download from your account.
This link provides an alternative route;
-
Download old Versions of Lightroom and elements
I bought a copy of Lightroom 5 and 13 items about a year ago. I had to upgrade to a new computer today that does not have a CD ROM built into the computer. I try to download my Lightroom and elements on the new computer programs, but don't know how to do.
Thank you
Aaron B
Hi aburrows,
Please use the below download link
Lightroom 5: install Photoshop Lightroom
Photoshop Elements 13: Download Photoshop Elements | 14, 13, 12, 11, 10
(Download the installation file depending on the operating system)
Kind regards
~ Mohit
-
I bought Photoshop and elements of order #AD003212006UK. When I try to download I am informed that the software is not suitable for my system (new iMac, retina) Please help
You are 100% sure that you are clicking to download the Mac version and not the version of Windows?
Since this is an open forum, not Adobe support... you must contact Adobe personnel to help
Chat/phone: Mon - Fri 05:00-19:00 (US Pacific time) <===>===> NOTE DAYS AND TIME
Don't forget to stay signed with your Adobe ID before accessing the link belowCreative cloud support (all creative cloud customer service problems)
http://helpx.Adobe.com/x-productkb/global/service-CCM.html
-or by phone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html -
Update for 14 Photoshop and elements first items 14 to a platform MAC in DUTCH
Can we expect an upgrade combined 14 Photoshop and elements first items 14 to a MAC in DUTCH platform in the near future?
The two programs are now available in Dutch for a Windows platform, not yet for a MAC platform. Why not?
Download here:
https://helpx.Adobe.com/Photoshop-elements/KB/Photoshop-elements-downloads.html
-
Wanted to install adobe photoshop and elements 12 first. But I don't have a disc for the cd. I tried to download, but the link says "file not found".
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If he continues to not try to use a different browser.
PES 10, 11, 12, 13 - https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-downloads.html
PE 10, 11, 12, 13 - https://helpx.adobe.com/premiere-elements/kb/premiere-elements-downloads.html
You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.
Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.
Photoshop/Premiere Elements 12: http://prodesigntools.com/photoshop-elements-12-direct-download-links-premiere.html
Maybe you are looking for
-
How can I get "welcome to firefox" and "welcome to fvd' to go in and stop loading
These tablets com upward EACH TIME that I use firefox THEY GO FURTHER
-
Hello! I tried to build a trigger that triggers a true value each 1000 milliseconds (from the first real); which real command structure box to a value of the randomNrGen of the sample and place it in a table. but I would like to USE this table and I
-
Why the execution engine is necessary?
Hello I want to know what is the LabVIEW runtime engine exactly? Is whay required? What exactly is its role? Where can I find the answers to these questions? I searched this site, but could not locate a single document . Thank you!
-
19, drives___Problem 19 drives___ cd drive problem
None of my cd drives to work. Hotfix Vista "recognized their" but has not solved the problem. What should I do?
-
Need help on the Notification dialog box
I'm vascular trouble with the notification dialog box:-I can not understand how to connect the signal of SystemUiButton - are added to the Qt code notification dialog box, I have two button in the dialog box. -Are there a way to disable the sound not