XML Path problem??
Stumped! Can't seem to figure this out!
I have a folder called
carouselgalleryFolder
inside is
AC_RunActive
carouselscan2.fla
carouselscan2.html
carouselscan2.swf
images.xml
then another folder
images
inside are 8 images
the folder carouselgalleryFolder is uploaded to my webserver
inside the images .xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<slideshow>
<photo image="images/1.jpg" url="http://www.flashcomponents.net/author/snowcat.html" info="Optional info for image 1" />
<photo image="images/2.jpg" url="http://www.flashcomponents.net/author/snowcat.html" info="Optional info for image 2"/>
<photo image="images/3.jpg" url="http://www.flashcomponents.net/author/snowcat.html" info="Optional info for image 3"/>
<photo image="images/4.jpg" url="http://www.flashcomponents.net/author/snowcat.html" info="Optional info for image 4"/>
<photo image="images/5.jpg" url="http://www.flashcomponents.net/author/snowcat.html" info="Optional info for image 5"/>
<photo image="images/6.jpg" url="http://www.flashcomponents.net/author/snowcat.html" info="Optional info for image 6"/>
<photo image="images/7.jpg" url="http://www.flashcomponents.net/author/snowcat.html" info="Optional info for image 7"/>
<photo image="images/8.jpg" url="http://www.flashcomponents.net/author/snowcat.html" info="Optional info for image 8"/>
</slideshow>
Path is
http://dagwaremedia.com/carouselgalleryFolder/carouselscan2.html
I can see the file and the pics but the link images tdo not work
any help?
xml data is normally in String form. Try forcing it to be a Number and see if that helps...
VydraPrize = Number(xml.firstChild.childNodes[0].childNodes[dayCount].childNodes[0]);
Also, you might try tracing the follow to see what you are dealing with. I am not an xml expert at all, but I know that my dealings with it in the past usually havve me looking for the text() of a node, not the node itself, as in...
xml.firstChild.childNodes[0].childNodes[dayCount].childNodes[0].text()
Similar Messages
-
Execute SQL Task - FOR XML PATH query error
I have the following query
SELECT pl.Id,
pl.StartTime,
pl.EndTime,
pl.PackageName,
pl.Computer,
pl.Operator,
CASE WHEN (CHARINDEX('stack trace', pl.ErrorDescription) > 0) Then
SUBSTRING(pl.ErrorDescription, 0, CHARINDEX('stack trace', pl.ErrorDescription))
ELSE
pl.ErrorDescription
END as ErrorDescription
ISNULL(ErrorFile,'') as ErrorFile,
'Not Applicable' as SourceSystem
FROM etl.PackageLog as pl
WHERE pl.Processed = 0
ORDER BY pl.StartTime, pl.PackageName
FOR XML PATH('Row'), ROOT(N'FieldingCounts')
in a Execute SQL Task and i get the following error:
[Execute SQL Task] Error: Executing the query "SELECT pl.Id,
pl.StartTime,
pl.EndTime,
pl.Package..." failed with the following error: "An invalid character was found in text content.
". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
The query execute without problem in database and in the ssis package doens't run because of the column
CASE WHEN (CHARINDEX('stack trace', pl.ErrorDescription) > 0) Then
SUBSTRING(pl.ErrorDescription, 0, CHARINDEX('stack trace', pl.ErrorDescription))
ELSE
pl.ErrorDescription
END as ErrorDescription
Any help to overcome the problem?
ThanksHi,
It looks like that you must be trying to set the result of the query to some variable from the Execute SQL Task. If yes, make sure that the target variable is of the correct data type where XML string can fit into. Considering that in SSIS, we have
some limit for XML strings.
Please let me know if it doesn't help.
Thanks,
Nimit -
Simple problem, i have a file named gallery.swf in
/site/gallery/ and when i launch the file swf from that directory
the loading is going fine, im loading a xml file with this command
"xmlReadGalleries.load("photo_galleries.xml")" so the file is
loading from /site/gallery/photo_gallery.xml, no problem there.
But, when i run the master.swf from /site/ and then load the
gallery.swf into it, it would not work becuse then it tries to load
the file from /site/photo_gallery.xml and not
/site/gallery/photo_gallery.xml. So here's my question. Why don't
it load from the root directory of the gallery.swf file? And is
there anyway to fix it?
//MarioDj Mario wrote:
> Simple problem, i have a file named gallery.swf in
/site/gallery/ and when i
> launch the file swf from that directorty the loading is
going fine, im loading
> a xml file with this command
"xmlReadGalleries.load("photo_galleries.xml")" so
> the file is loading from
/site/gallery/photo_gallery.xml, no problem there.
> But, when i run the master.swf from /site/ and then load
the gallery.swf into
> it, it would not work becuse then it tries to load the
file from
> /site/photo_gallery.xml and not
/site/gallery/photo_gallery.xml. So here's my
> question. Why don't it load from the root directory of
the gallery.swf file?
> And is there anyway to fix it?
> //Mario
SWF does not know or remembers its place on server /
directory.
Once html loads it, it seek its files from perspective of
that HTML file.
So if you keep them all in one folder and place it deep into
sub/sub1/sub2
than load it from html in SUB, it will thing it is its
original position
and not sub2. Causing paths mismatch. Normally we do design
the projects
with that in mind from scratch.
In your case the path would be : gallery/photo_gallery.xml
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Splitting columns using xml path
Please see my script below,
This is one of the msdn user request but as he is newbie unable to put ddl and dmls.. but all he wants is doing pivot on values.. but I'm trying the same using dynamic pivot which I'm not able to achieve. Help is appreciated.
Table Script:
create table #temp(
ProjectNO int,projectname varchar(10),client varchar(10),programmers varchar(10));
declare @cols AS nvarchar(MAX)
,@QUERY AS NVARCHAR(MAX);
Insert into #temp
Select 01 , 'ave' , 'zica' , 'dee'
UNION
Select 01, 'ave', 'zica ', 'law'
UNION
Select 01 ,'ave', 'zica', 'amy'
UNION
Select 01 , 'ave' , 'rowan' , 'dee'
UNION
Select 01 ,'ave' ,'rowan' ,'law'
UNION
Select 01 ,'ave' ,'rowan' ,'amy'
Select * from #temp
Question 1: Desired output:
ProjectNO. Prjtname Clt1 Clt2 Prog1 Prog2 Prog3
01 ave zica rowan dee law amy
Question 2: Query:
Select distinct Replace((select distinct convert(char(8),client)
from #temp
FOR XML path('')) ,'";;#;;"',' ') as clients
FROM #temp
GROUP BY ProjectNO
In the above query I'm doing xml path and I'm getting result in single row like
clients
rowan zica
Instead can I get result like below using xml path?
client1 client2
rowan zica
- please mark correct answersFor this particular problem we don't want to use XML path. I already answered in the other thread with a link to this article
T-SQL:
Dynamic Pivot on Multiple Columns
Let me know if using that article code you will be able to achieve the goal. It's rather simple, actually, I can write up the mock up idea.
declare @MaxClients int, @MaxProgrammers int
select @MaxClients = max(ClientsCount) from (select ProjectNo, count(distinc(Client)) as ClientsCount from #Temp GROUP BY ProjectNo) X
select @MaxProgrammers = max(ProgrammersCount) from (select ProjectNo, count(distinc(Programmer)) as ProgrammersCount from #Temp GROUP BY ProjectNo) X
declare @SQL nvarchar(max), @Loop int
set @Loop = 1
Actually, that't the beginning of the idea and you should be able to figure this out till completion based on the article I pointed out. We would need to use 2 dense_rank functions.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Hi experts,
Is it possible to write the code for the "Shortest path problem" in ABAP?If yes, what is the code?
Moderator Message: Don't expect members to spoon-feed you
Edited by: Suhas Saha on Jul 25, 2011 11:13 AMHi munish,
I dont think there is any thing wrong with the ABAP code.
Try testing your ABAP mapping using transaction code SXI_MAPPING_TEST in XI.
Enter the Details asked and then enter TEst data in XML format..
Also, you can make use of the Trace element to find out if there is any thing wrong with the code.
Include the following Statements after every step in the ABAP code to ensure that the particular step is completed successfully.
data : l_trace type string.
concatenate l_trace '<Message you want to display>' into l_trace.
trace->trace(level = '<level>'
message =l_trace).
The trace is visible in SXMB_MONI (click on "Trace" in the left pane to view).
using this you will get to know i the code is functioning as desired.
Regards,
Yashaswee. -
XML Parse problem consuming external webservice
Hi all,
I'm testing consuming an external webservice from a WAS 6.40 client. I generated an ABAP proxy for it .
I managed to get the correct soap request out and receiving the response, but while parsing the SOAP XML response back into the output parameter, I'm running into a parse error :
- <CX_XMS_SYSTEM_ERROR>
<ID>PARSE_APPLICATION_DATA</ID>
<P1>Response Message</P1>
<P2>CX_ST_MATCH_TYPE</P2>
<P3>/1SAI/TXS00000000000000000003</P3>
<P4>XML Bytepos.: 354 XML Path: root(1)ns1:checkValidSerialNumbersResponse(1)checkValidSerialNumbersReturn(1) Error Text: System expected a value for the type g</P4>
<INFO />
<CATEGORY>XIProxy</CATEGORY>
<AREA>ABAP</AREA>
<RETRY>M</RETRY>
</CX_XMS_SYSTEM_ERROR>
- <CX_XMS_SYSERR_PROXY>
<CO_AREA_ABAP>ABAP</CO_AREA_ABAP>
</CX_XMS_SYSERR_PROXY>
</cls:CX_XMS_SYSERR_PROXY>
- <cls:CX_ST_MATCH_TYPE id="o163">
The response parameter is defined as xsd:string ( and string in the generated ABAP structure ).
IF the byteposition is correct there would be a problem
with the '?' characeter being in the response.
What does the datatype 'g' mean ?
see also in the error message :
<ACTUAL_NAMESPACE />
<ACTUAL_VALUE />
</CX_ST_MATCH>
- <CX_ST_MATCH_TYPE>
<EXPECTED_TYPE>g</EXPECTED_TYPE>
</CX_ST_MATCH_TYPE>
Any ideas ? Using 2 other soap clients give no issue what soever...:(<wsdl:definitions targetNamespace="http://shareTax.DataExchange.NonLiveSchema.Web.Service/">
u2212
<wsdl:types>
u2212
<s:schema elementFormDefault="qualified" targetNamespace="http://shareTax.DataExchange.NonLiveSchema.Web.Service/">
u2212
<s:element name="processInputXML">
u2212
<s:complexType>
u2212
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="InputXML" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
u2212
<s:element name="processInputXMLResponse">
u2212
<s:complexType>
u2212
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="processInputXMLResult" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
u2212
<wsdl:message name="processInputXMLSoapIn">
<wsdl:part name="parameters" element="tns:processInputXML"/>
</wsdl:message>
u2212
<wsdl:message name="processInputXMLSoapOut">
<wsdl:part name="parameters" element="tns:processInputXMLResponse"/>
</wsdl:message>
u2212
<wsdl:portType name="NonLiveSchemaSoap">
u2212
<wsdl:operation name="processInputXML">
<wsdl:input message="tns:processInputXMLSoapIn"/>
<wsdl:output message="tns:processInputXMLSoapOut"/>
</wsdl:operation>
</wsdl:portType>
u2212
<wsdl:binding name="NonLiveSchemaSoap" type="tns:NonLiveSchemaSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
u2212
<wsdl:operation name="processInputXML">
<soap:operation soapAction="http://shareTax.DataExchange.NonLiveSchema.Web.Service/processInputXML" style="document"/>
u2212
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
u2212
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
u2212
<wsdl:binding name="NonLiveSchemaSoap12" type="tns:NonLiveSchemaSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
u2212
<wsdl:operation name="processInputXML">
<soap12:operation soapAction="http://shareTax.DataExchange.NonLiveSchema.Web.Service/processInputXML" style="document"/>
u2212
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
u2212
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
u2212
<wsdl:service name="NonLiveSchema">
u2212
<wsdl:port name="NonLiveSchemaSoap" binding="tns:NonLiveSchemaSoap">
<soap:address location="http://89.234.8.200:8085/shareTaxDataExchangeWebService/NonLiveSchema.asmx"/>
</wsdl:port>
u2212
<wsdl:port name="NonLiveSchemaSoap12" binding="tns:NonLiveSchemaSoap12">
<soap12:address location="http://89.234.8.200:8085/shareTaxDataExchangeWebService/NonLiveSchema.asmx"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
I am facing same problem.
This is WSDL. Could you please tell if anything is wrong in WSDL?
I am not aware of WSDL files. -
WIJ 20002 xml Parser Problem - Rich Client
Hi,
I have a problem with the rich client on a new installation:
Business Objects Enterprise XI 3.1 SP3 on Windows 2008 Standard.
If I connect with the rich client "import document"is disabled.
if I try to create a new document from the rich client it returns the error below (I used the rich client on two workstations):
WIJ 20002
Version: null
Analisi dello stack:
java.lang.RuntimeException: java.lang.RuntimeException: XML parser problem:
XMLJaxpParser.parse(): Element type "ABOUT_Patentnumbers" must be followed by either attribute specification, ">" or "/>".
at com.businessobjects.wp.xml.jaxp.XMLJaxpParser.parse (Unknown Source)
at.com.businessobjects.webi.richclient.XMLviaOccaRC.getServerConfiguration (Unknown Source)
Have you any solution?The fixpack 3.5 client resolves the problem.
-
Hi all,
I am learning XPATH and XQUERY from the Book "Pro T-SQL 2008 Programmer's Guide" written by Michael Coles, (published by apress). I copied the Code Listing 12-8 FOR XML PATH Using XPath Node Tests (listed below) and executed it in my
SQL Server 2012 Management Studio:
--Coles12_8.sql // saved in C:/Documemnts/SQL Server Management Studio
-- Coles Listing 12-8 FOR XML PATH Using XPATH Node Tests
-- Retrieving Name and E-mail Addresses with FOR XML PATH in AdvantureWorks
-- 16 March 2015 0935 AM
USE AdventureWorks;
GO
SELECT
p.NameStyle AS "processing-instruction(nameStyle)",
p.BusinessEntityID AS "Person/@ID",
p.ModifiedDate AS "comment()",
pp.PhoneNumber AS "test()",
FirstName AS "Person/Name/First",
MiddleName AS "Person/Name/Middle",
LastName AS "Person/Name/Last",
EmailAddress AS "Person/Email"
FROM Person.Person p
INNER JOIN Person.EmailAddress e
ON p.BusinessEntityID = e.BusinessEntityID
INNER JOIN Person.PersonPhone pp
ON p.BusinessEntityID = pp.BusinessEntityID
FOR XML PATH;
I got the following error message:
Msg 6850, Level 16, State 1, Line 2
Column name 'test()' contains an invalid XML identifier as required by FOR XML; '('(0x0028) is the first character at fault.
I have no ideas why I got this error message. Please kindly help and advise me how to resolve this error.
Thanks in advance, Scott ChangHi Michelle, Thanks for your nice response.
I corrected the mistake and executed the revised code. It worked nicely.
I just have one question to ask you about the appearance of the xml output of my Co;les12_8.sql:
<row>
<?nameStyle 0?>
<Person ID="1" />
<!--2003-02-08T00:00:00-->697-555-0142<Person><Name><First>Ken</First><Middle>J</Middle><Last>Sánchez</Last></Name><Email>[email protected]</Email></Person></row>
<row>
<?nameStyle 0?>
<Person ID="2" />
<!--2002-02-24T00:00:00-->819-555-0175<Person><Name><First>Terri</First><Middle>Lee</Middle><Last>Duffy</Last></Name><Email>[email protected]</Email></Person></row>
<row>
<?nameStyle 0?>
<Person ID="3" />
<!--2001-12-05T00:00:00-->212-555-0187<Person><Name><First>Roberto</First><Last>Tamburello</Last></Name><Email>[email protected]</Email></Person></row>
<row>
<?nameStyle 0?>
<Person ID="4" />
<!--2001-12-29T00:00:00-->612-555-0100<Person><Name><First>Rob</First><Last>Walters</Last></Name><Email>[email protected]</Email></Person></row>
<row>
<?nameStyle 0?>
<Person ID="5" />
<!--2002-01-30T00:00:00-->849-555-0139<Person><Name><First>Gail</First><Middle>A</Middle><Last>Erickson</Last></Name><Email>[email protected]</Email></Person></row>
<row>
<?nameStyle 0?>
<Person ID="6" />
<!--2002-02-17T00:00:00-->122-555-0189<Person><Name><First>Jossef</First><Middle>H</Middle><Last>Goldberg</Last></Name><Email>[email protected]</Email></Person></row>
<row>
<?nameStyle 0?>
<Person ID="7" />
<!--2003-03-05T00:00:00-->181-555-0156<Person><Name><First>Dylan</First><Middle>A</Middle><Last>Miller</Last></Name><Email>[email protected]</Email></Person></row>
<row>
<?nameStyle 0?>
<Person ID="8" />
<!--2003-01-23T00:00:00-->815-555-0138<Person><Name><First>Diane</First><Middle>L</Middle><Last>Margheim</Last></Name><Email>[email protected]</Email></Person></row>
<row>
<?nameStyle 0?>
<Person ID="9" />
<!--2003-02-10T00:00:00-->185-555-0186<Person><Name><First>Gigi</First><Middle>N</Middle><Last>Matthew</Last></Name><Email>[email protected]</Email></Person></row>
<row>
<?nameStyle 0?>
<Person ID="10" />
<!--2003-05-28T00:00:00-->330-555-2568<Person><Name><First>Michael</First><Last>Raheem</Last></Name><Email>[email protected]</Email></Person></row>
<row>
<?nameStyle 0?>
<Person ID="11" />
<!--2004-12-29T00:00:00-->719-555-0181<Person><Name><First>Ovidiu</First><Middle>V</Middle><Last>Cracium</Last></Name><Email>[email protected]</Email></Person></row>
<row>
I feel this xml output is not like the regular xml output. Do you know why it is diffrent from the regular xml xml output? Please comment on this matter.
Thanks,
Scott Chang
What do you mean by regular xml document? Are you referring to fact that its missing a root element? if yes it can be added as below
USE AdventureWorks;
GO
SELECT
p.NameStyle AS "processing-instruction(nameStyle)",
p.BusinessEntityID AS "Person/@ID",
p.ModifiedDate AS "comment()",
pp.PhoneNumber AS "text()",
FirstName AS "Person/Name/First",
MiddleName AS "Person/Name/Middle",
LastName AS "Person/Name/Last",
EmailAddress AS "Person/Email"
FROM Person.Person p
INNER JOIN Person.EmailAddress e
ON p.BusinessEntityID = e.BusinessEntityID
INNER JOIN Person.PersonPhone pp
ON p.BusinessEntityID = pp.BusinessEntityID
FOR XML PATH('ElementName'),ROOT('RootName');
replace ElementName and RootName with whatever name you need to set for element as well as the root element
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Path problem for "Load VRML File.vi" in EXE
Hello,
The new integrated 3d Picture Control functionality in LabVIEW 8.20 is amazing. It is a really easy to use implementation of OpenGL. I've discovered one bug/issue when building VI's to an exe that includes the 3d Picture Control:
If "Load VRML File.vi" is used, in the executable, you will encounter a LabVIEW Error 7 due to a path problem in the following vi:
NI_3D Picture Control.lvlib:Load VRML File.vi->NI_3D Picture Control.lvlib:NI_Old 3D Toolkit.lvlib:Read WRL file.vi->NI_3D Picture Control.lvlib:NI_Old 3D Toolkit.lvlib:Initialize.vi
The File Not Found problem will prevent the vrml file from loading. Navigating down into the subVI's of the "Load VRML File.vi" shown above easily reveals the problem. I've included a screenshot of the diagram of that VI. The relative
path resulting from the double "Strip Path" operation is not valid
in the executable. I'm not sure where that "definitions" file resides
in the runtime deployment or if it's even included, so fixing the path to account for the differences in the exe vs. development environment path is not an option. I'm also usually very hesitant to make any mods to anything in vi.lib.
For the development environment, the "definitions" file can be found at: [LabVIEW 8.2 dir]\vi.lib\picture\3D Picture Control
The easy fix is to include the "definitions" file in the same directory as your exe when you build. Fortuitously, this does the trick because the first strip path gives the path to the exe and then the second strip path results in the path to the directory where the exe resides.
Hopefully NI will fix this path reference properly in future revisions.
Enjoy!
Attachments:
WRL Debug.jpg 77 KBHi Chris,
Thanks a lot for the feedback! This was reported to R&D (# 47F9DJIQ) for further investigation.
Regards,
Justin D -
Path problem while refering the file in tomcat
In the jsp file i am going to update one property file which resides in the same folder using file output stream.
it gives path problem.how can refer the path of that filetry using getServletContext().getRealPath(java.lang.String path)..You can check out the API for more detail regarding this method.
-
Path problem when moving from Mac to PC
Adobenoob wrote:
Hi,
I'm trying to move our Adobe InDesign installation from Mac to PC, but I ran into a path problem. A lot of our publications/documents in Adobe InDesign have linked to pictures in the filesystem (Windows 2008 R2 server). It goes like this:
DTP:Produktbilleder:0893ny:0893_467+468_05_Agrp frit_.tif
And is linked like this directly from InDesign.
The actual path is:
/Volumes/DTP/Produktbilleder/0893ny/0893_467+468_05_Agrp frit_.tif
On the PC I cannot use that path notation and have to go like this:
F:\DTP\Produktbilleder\0893ny\0893_467+468_05_Agrp frit_.tif
When the publication/document in InDesign have the Mac link "hardcoded" the PC path will not work.
Is there a relatively easy way to get the InDesign on PC to use the Mac link or does one have to change all the "hardcoded" links in the publications/documents?
I hope you understand my question - don't hesitate to ask for more info.
Best Regards
BrianHi,
I have just tested the function - and it seems that the files have to be in the same folder. It is not recursive as I see it. And since we have tens of thousand of pictures in thousands of different folders it does not seem to work.
Any other suggestions?
Regards -
Dear friends,
some time I meet a strange class path problem under windows enviroment. that is, the class path uses "/" to splite directory while not "\". so java will report error message like "NoClassFoundError: com/boland/...". I think there should be a way to adjust this environment problem. but I don't know how to set this. I will greatly appreciate if you happen to know this and let me know.
Best wishes,
SamYou reported an error in a package statement or reference. This is nothing to do with the OS folder structure per se, altho that is how it is implemented on a given platform like windows. Classpath statements are NOT platform independent, due to path separator issues. You should not use a system-wide classpath variable anyway, as this is really quite bad practice. Instead, create a run script for you program, and put the -cp switch in there. In any case, you should be referencing packages (separated by dots) in there anyway, not actual paths.
-
Path problem during Change of Original
Hello,
I am facing path problem while changing the Original file in a DIR.
let say i created a DIR x and attached file a.txt from c:\ and saved the DIR.
Now if i use cv02 and select a original for change the popup window comes with data carrier and original file path the path is shown as c:\a.txt which is actual original path.
if i click on continue it is opening the c:\a.txt files and changes are done on the original file on my pc.
This way my original file is changed on pc and in DIR also.
I want to know how to avoid this?.
Regards
ShivThat is why they call it document "Management". The Original File is in the "Vault" where it can be managed, not on the desktop. If you want to protect/save the file on your desktop, set the flag in the config of the workstation application to not allow "rename" of the temporary file. You are just attempting to circumvent the intended design of the system. What you should really do is set the flag to "delete" the file after check-in.
-
I have looked an read through almost all the file path problem post possible and I am still having issues maybe one of you guys can help me, here are my files
I am doing this as an example so that I can apply it to all of my file problems....
Harold Timmis
[email protected]
Orlando,Fl
*Kudos always welcome
Attachments:
pathexample.zip 122 KBFirst of all, to troubleshoot the problem it would help to put some filepath indicators at each point so that you can see what is going on. Also, in your exe having an error dialog "Simple Error Handler.vi" to let you know what LabVIEW didn't like in the exe.
Now, when you run a top level ("Main.vi") and use the "Current VI's Path " in the development mode it returns <Filepath>\"Current path"\Main.vi. So stripping once will get you to <Filepath>\"Current path" . Now if you make it into an exe the "Current VI's Path" returns <Filepath>\"Current path"\"Name.exe"\Main.vi so you are "nested" one deeper.
I use the following construct to determine whether the vi is being used as in the development environment or as an exe, the parse the path accordingly, although in this instance it is used to supply different directory names to a little more complex file system.
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion -
"for XML path " Oracle equivalent of this SQL expression
SELECT TheID,
REPLACE(
RTRIM(
SELECT StudentID + ' '
FROM StudentinSchoolLocation TL
WHERE (LocationID = Results.LocationID)
FOR XML PATH ('')
) AS StudentIDs,
What is the equivalent of 'For XML path' used above
The goal is to get a concatenated list of the group by columns. Like where ever the location is same , get the studentIds and make a comma seperated list of all ids for common location
Works perfectly in SQL.
Thank youHi,
user6287828 wrote:
The goal is to get a concatenated list of the group by columns. Like where ever the location is same , get the studentIds and make a comma seperated list of all ids for common locationThat's called "String Aggregation"
[AskTom.oracle.com|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2196162600402] shows several different ways to do it.
I recommend the first one, the user-defined function STRAGG, which you can copy from that page.
On Oracle 10 (and up) you may have a similar function, WM_CONCAT (owned by WMSYS), already installed.
WM_CONCAT is not documented, so you may not want to use it in your Production applications.
STRAGG is not so convenient if the order of items in the concatenated string is important.
In that case, use XMLAGG or SYS_CONNECT_BY_PATH, as shown later in the asktom page.
MODEL can also do ordered string aggregation.
Maybe you are looking for
-
Split String value into internal table at Carriage return
Hi All, I have given a string type context ( text edit box ) to the user to enter the values. The data can have carriage returns also. My Requirement is that I want to split the data at carriage returns and store it in my tables. I tired with a cons
-
Mac Users can't open Windows 9Pro form
I created a dynamic form using Acrobat 9 Pro which was finally working correctly until this quarter when we had a few MAC users try to access it from our website. After installing the most recent version of Acrobat Reader, they got a "Please wait" t
-
How to create process code for idoc bank_create01 in testing client
hi, I am using Idoc BANK_CREATE01 and BANK_CHANGE01 to post idoc to R/3 in inbound side. there is no standard process code available for this idoc But there is a function module idoc_input_bank_create which posts data to r/3 from the idoc. So i crea
-
I am getting horizontal white lines one inch apart when I print an Ai file
I am getting horizontal white lines one inch apart when I print an Ai file
-
Where is the Android version of Lightroom mobile
Why is it that android always plays second fiddle to IOS. I pay the same as anyone else, but because I choose to use the freer plaform, not controlled by meglomaniacs, who insist on producing the hardware as well as the software, I am penalised. Andr