Read a file with a variable=counter : NAMEFILE001,NAMEFILE002..
Hello,
I would need your councils.
I can read a logical file on my server(logical example of name: NAMEFILE) with function FILE_GET_NAME.
But I would like to be able to read a file with a counter i.e.
the first time: to read NAMEFILE001;
the second time read NAMEFILE002;
the third time read NAMEFILER003...
How made you that?
With function FILENAME_EXIT _?
But, where do I put the variable = counter? In a table...?
Thank you in advance of your answer
Servane
Hi Servane,
You could also do the following:
in transaction FILE you set up the physical path name as follows:
/<i>path</i>/.../<FILENAME><PARAM_1>
then you call the function FILE_GET_NAME:
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
LOGICAL_FILENAME = W_LOGICAL_FILENAME
PARAMETER_1 = W_FILENUMBER
IMPORTING
FILE_NAME = THEFILE
EXCEPTIONS
FILE_NOT_FOUND = 1
OTHERS = 2.
This will equally construct the name/counter as you wish.
AND, if I am not wrong, since the system does it, you will not have to worry about putting the last counter value away in the DB.
cheers,
Phil
Message was edited by: Phillip Morgan
Similar Messages
-
Reading text file with multiple variables
When I open a text document containing 1 string of a Base64 Encoded Image, it works fine:
import flash.display.Loader;
import flash.utils.ByteArray;
import formatter.Base64;
var imgB64Str:String="";
var ld:Loader=new Loader();
var my_req:URLRequest = new URLRequest("horses.img");
var my_loader:URLLoader = new URLLoader();
my_loader.addEventListener(Event.COMPLETE, loadText);
my_loader.load(my_req);
function loadText(e:Event):void{
// set string variable to loaded text
imgB64Str = my_loader.data;
// position, decode & display
ld.x = ld.y = 50;
ld.loadBytes(Base64.Decode(imgB64Str));
addChild(ld);
The image displays and that's great, but I need to display multiple images; therefore, I used the standard format: var1=value1&var2=value2&...
(In reality, the values are the huge base64 strings.)
Then I just needed to add "my_loader.dataFormat = URLLoaderDataFormat.VARIABLES;" since the format of my source changed.
The thing that bugs me is that I'm tracing the imgB64Str after I set it and it traces fine (just like the other version). And from then on I'm not doing anything different!
See my comments for things I did different...
import flash.display.Loader;
import flash.utils.ByteArray;
import formatter.Base64;
var imgB64Str:String="";
var ld:Loader=new Loader();
var my_req:URLRequest = new URLRequest("images.img"); // CHANGED: source file, due to new format
var my_loader:URLLoader = new URLLoader();
my_loader.dataFormat = URLLoaderDataFormat.VARIABLES; // CHANGED: formatting input from text to variables
my_loader.addEventListener(Event.COMPLETE, loadText);
my_loader.load(my_req);
function loadText(e:Event):void{
imgB64Str = my_loader.data.image1; // CHANGED: instead of grabbing whole data, grabbing the image1 variable
trace(imgB64Str); // CHANGED: traces fine!
// same as other from here down!
ld.x = ld.y = 50;
ld.loadBytes(Base64.Decode(imgB64Str));
addChild(ld);
It runs with no errors, but the image no longer displays.
What's the deal?!? :/
Any help is greatly appreciated.See this site: AN EASY REFERENCE FOR OLE AUTOMATION by Serder Simsekler.
Best!
Jim -
I have a question, but I posted it on the wrong forum. This is the link:
https://social.msdn.microsoft.com/Forums/en-US/899c8291-70f5-4c1b-abf2-a1a1242e017a/read-xml-file-with-counter?forum=visualstudiogeneral&prof=requiredHi,
I have created a program that read an xml file like this:
<xas>
<information>
<list>"12345"</list>
<version>1.0.0.1</version>
</information>
<word><n>0</n><v>test123v</v><a>test123a</a></word>
<word><n>1</n><v>testv</v><a>testa</a></word>
</xas>
I read it to a listview called listview1:
The MainWindow.xaml:
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="" Height="1220" Width="1017" WindowStartupLocation="Manual" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.CanContentScroll="True" UseLayoutRounding="False" WindowState="Maximized">
<Grid>
<ListView x:Name="ListView1" HorizontalAlignment="Left" Height="1220" VerticalAlignment="Top" Width="1017">
<ListView.View>
<GridView x:Name="Lijst">
<GridViewColumn x:Name="Vraag" Header="Vraag" DisplayMemberBinding="{Binding Vraag}">
</GridViewColumn>
<GridViewColumn x:Name="Antwoord" Header="Antwoord" DisplayMemberBinding="{Binding Antwoord}">
</GridViewColumn>
</GridView>
</ListView.View>
</ListView>
</Grid>
</Window>
And this is MainWindow.xaml.vb:
Imports System.IO
Imports System.Reflection.Assembly
Imports System.Xml
Imports System.Data
Class MainWindow
Dim VraagListBox As New ListBox
Dim AntwoordListBox As New ListBox
Dim Hoofdmap As String = GetExecutingAssembly().Location
Dim Bestand As String
Private Sub MainWindow_Loaded(sender As Object, e As RoutedEventArgs) Handles Me.Loaded
'RUNNEN MAAR!!!!
'Het bestand vinden in de commandline argumenten
Dim args() As String = System.Environment.GetCommandLineArgs()
Dim Teller As Integer = "0"
For Each arg As String In args
If Teller = "1" Then
Bestand = arg
Else
Teller = Teller + "1"
End If
Next
Bestand = "D:\Alles voor school!\Alles voor school!\Vakken\Stepping Stones\DATA1\Hoofdstuk 1\Leerlijsten\Hoofdstuk 1 Grammer 1.xas"
'Welk bestand? Set de title
Me.Title = Path.GetFileName(Bestand) & " - ListViewer (V.1.0.0.6)"
If Bestand <> "" Then
'Vragen en antwoorden toevoegen in de kolommen
If Path.GetExtension(Bestand) = ".xas" Then
Dim orderInfo = XElement.Load(Bestand)
For Each entry As XElement In orderInfo...<word>
Dim thisOrder As New Order
With thisOrder
.Vraag = entry...<v>.Value
.Antwoord = entry...<a>.Value
End With
ListView1.Items.Add(thisOrder)
Next
'Virtuele vraaglistbox toevoegen = kolom Vraag van LisView1
Dim orderInfoVraag = XElement.Load(Bestand)
For Each entry As XElement In orderInfoVraag...<word>
Dim thisOrderVraag As New VraagClass
With thisOrderVraag
.Vraag = entry...<v>.Value
End With
VraagListBox.Items.Add(thisOrderVraag)
Next
'Virtuele antwoordlistbox toevoegen = kolom Antwoord van LisView1
Dim orderInfoAntwoord = XElement.Load(Bestand)
For Each entry As XElement In orderInfoAntwoord...<word>
Dim thisOrderAntwoord As New AntwoordClass
With thisOrderAntwoord
.Antwoord = entry...<a>.Value
End With
AntwoordListBox.Items.Add(thisOrderAntwoord)
Next
'Check wat er fout is aan het bestand, en geef een melding
Else
MessageBox.Show("Er is een verkeerde extentie geselecteerd, namelijk: " & Path.GetExtension(Bestand) & ".", "Verkeerde extentie - ListViewer", MessageBoxButton.OK, MessageBoxImage.Error)
Me.Close()
End If
Else
If Bestand = "" Then
MessageBox.Show("Je hebt geen bestand geselecteerd", "Geen bestand geselecteerd - ListViewer", MessageBoxButton.OK, MessageBoxImage.Error)
Me.Close()
Else
MessageBox.Show("Er is iets misgegaan met het laden van het bestand, probeer het later opnieuw", "Onbekende error - ListViewer", MessageBoxButton.OK, MessageBoxImage.Error)
Me.Close()
End If
End If
End Sub
Private Sub ListView1_MouseDoubleClick(sender As Object, e As MouseButtonEventArgs) Handles ListView1.MouseDoubleClick
Directory.CreateDirectory(Path.GetTempPath & "110% Soft\ListViewer 1.0.0.6\" & Path.GetFileName(Bestand))
Dim SchrijfVraag As New StreamWriter(Path.GetTempPath & "110% Soft\ListViewer 1.0.0.6\Word.txt")
Dim SchrijfFile As New StreamWriter(Path.GetTempPath & "110% Soft\ListViewer 1.0.0.6\File.txt")
SchrijfVraag.WriteLine(ListView1.SelectedIndex)
SchrijfFile.WriteLine(Bestand)
SchrijfVraag.Close()
SchrijfFile.Close()
Dim WoordenScherm As ViewWord
WoordenScherm = New ViewWord()
WoordenScherm.ShowDialog()
End Sub
End Class
ViewWord.xaml is:
<Window x:Class="ViewWord"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ViewWord" Height="155" Width="1017" ResizeMode="NoResize" SizeToContent="WidthAndHeight" Topmost="True" WindowStartupLocation="CenterScreen">
<Grid>
<Label x:Name="VraagLabel" Content="Vraag:" HorizontalAlignment="Left" Margin="23,11,0,0" VerticalAlignment="Top" Width="106"/>
<TextBox x:Name="VraagTextBox" HorizontalAlignment="Left" Height="24" Margin="134,13,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="743" />
<Label x:Name="AntwoordLabel" Content="Antwoord:" HorizontalAlignment="Left" Margin="23,42,0,0" VerticalAlignment="Top" Width="106"/>
<TextBox x:Name="AntwoordTextBox" HorizontalAlignment="Left" Height="24" Margin="134,44,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="743"/>
<Button x:Name="VraagAanpassenButton" Content="Aanpassen" HorizontalAlignment="Left" Margin="882,15,0,0" VerticalAlignment="Top" Width="107"/>
<Button x:Name="AntwoordAanpassenButton" Content="Aanpassen" HorizontalAlignment="Left" Margin="882,44,0,0" VerticalAlignment="Top" Width="107"/>
<Label x:Name="VraagNummerLabel" Content="Vraagnummer:" HorizontalAlignment="Left" Margin="23,72,0,0" VerticalAlignment="Top" Width="106"/>
<TextBox x:Name="VraagNummerTextBox" HorizontalAlignment="Left" Height="24" Margin="134,74,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="743"/>
<Button x:Name="VraagNummerAanpassenButton" Content="Aanpassen" HorizontalAlignment="Left" Margin="882,74,0,0" VerticalAlignment="Top" Width="107"/>
</Grid>
</Window>
In VraagTextBox must come the entry <word><v>test123v</v></word>, in AntwoordTextBox must come the entry <word><a>test123a</a></word>, and in VraagNummerTextBox must come the entry <word><n>0</n></word>
This is the code to fix that (ViewWord.xaml.vb):
Imports System.IO
Public Class ViewWord
Private Structure AntwoordVraag
Public Vraag As String
Public Antwoord As String
End Structure
Private Sub ViewWord_Initialized(sender As Object, e As EventArgs) Handles Me.Initialized
End Sub
Private Sub AntwoordAanpassenButton_Click(sender As Object, e As RoutedEventArgs) Handles AntwoordAanpassenButton.Click
Dim Vraagnummer As String
Dim Bestandsnaam As String
Dim LeesVraag As New StreamReader(Path.GetTempPath & "110% Soft\ListViewer 1.0.0.6\Word.txt")
Dim LeesFile As New StreamReader(Path.GetTempPath & "110% Soft\ListViewer 1.0.0.6\File.txt")
Vraagnummer = LeesVraag.ReadLine()
Bestandsnaam = LeesFile.ReadLine()
LeesVraag.Close()
LeesFile.Close()
MessageBox.Show(Vraagnummer)
Dim teller As Integer = 0
Dim orderInfo = XElement.Load(Bestandsnaam)
If teller = Vraagnummer Then
VraagNummerTextBox.Text = orderInfo...<word>...<n>.Value
VraagTextBox.Text = orderInfo...<word>...<v>.Value
AntwoordTextBox.Text = orderInfo...<word>...<a>.Value
Else
teller = teller + 1
End If
End Sub
End Class
But the result isn't:
VraagTextBox.Text = testv
AntwoordTextBox.Text = testa
NummerTextBox.Text = 1
if i click on the number 2 of the listview (index = 1)
How can i fix it? -
How to import files with static variables into a block with methods?
i have a problem. is it possible to import files with static variables into tags like
<%!
//here i want to import a file named settings.inc
//whitch is used to set jdbc constants like url,driver,...
private void method() {
private void method2() {
%>
<%@include file="xy"%>//dosn�t work above
//only in <%%>tagThis should be done using either the Properties class or ResourceBundle. Ex.
<%
ResourceBundle resBun = ResourceBundle.getBundle(String resource);
String username = resBun.getString("username");
String password = resBun.getString("password");
// etc
%> -
I can't read a file with the ext PDF the sender informed me that the file was reset to PDF.
I can't read a file with the .ext PDF the sender informed me that the file was reset to PDF. But when I tried to open it the caption box informed me"the file is not in PDF format. I suspect the sender simply changed the file .ext which is why I can't open it! What can I do about it! I am working on an iPad.
Thanks
Mr Jim LapthornIf the document is not, in fact, a PDF, then you will need to get your sender to provide a PDF.
Can you open this document in any other application? -
I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?
By doing a Google search.
-
Read multiples files with same extension
how to read multiples files with same extension in java.
for ex : i would like to read all .DAT files from C drive using java.
How is it done- You create the filter
- You get the list of files
- You open and read each file.
For the first two above you look at java.io.File and listFiles(FileFilter filter).
For the third you find whatever input stream is appropriate from java.io.* -
Why can't I read PDF files with this browser?
It says "can't read PDF files with this browser running. Exit and try again."
I have Adobe 9.3.2 installed. It didn't give me this message with earlier versions of Adobe.
Is there a way to go BACKWARDS?
How do I save the PDF files so I can close them and view them without using the browser?
== I downloaded later versions of Adobe.I have tried everything,Foxit and Foxit updates, Gone to Adobe......you think of it I have tried.
ONLY ANSWER THAT WORKS :
Download Internet Explorer 8 and use that -
Reading large file with JCA Adapter in OSB
Hello,
We are searching for a solution how to read large file (>50M) from network drive and deliver it to queue via OSB 11gR4 (10.3.4). The problem is when reading the file with JCA File Adapter. It seems that it cannot handle as large files as we have. The documentation provides a way to bypass file size limitation by using Chunk Read but it seems to require BPEL Process execution which is not possible in our environment. Does anyone know if there are ways to implement this without having BPEL Process?
Our usecase:
read file from network drive -> transfer with OSB -> deliver MQ
Other options than JCA File Adapter can be considered, if anyone can advice...If it's a plain routing use case and no message processing is required then you may simply use OSB's FILE transport instead of JCA adapter. Create a messaging type proxy service and select request message type as "binary". Also enable the content streaming (Disk buffer, compression).
From OSB Dev guide -
Oracle JCA Adapter for FTP and Files – Attachments (large payload support), pre- and post-processing of files, using a re-entrant valve for processing ZIP files, content streaming, and file chunked read are not supported with Oracle Service Bus.
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15866/jca.htm#BABBICIA
You may also refer -
Reading huge flat file in OSB 11gR1
Regards,
Anuj -
Hi Folks,
How to read & write files with same extension(like ".sas", ".txt" , ".csv",and ".log" in Adobe AIR.
Please let me tell if anybody knows asap.
Thanks & Regards,
AndersonThanks Jon,
But, I know how to read the file if we give exact file path
I need to get the path and read file(s) with same extension files in the same folder using adobe air, not single file.
Don't have file path even, i have folder path, in that somany files are there. So i need to get which are the same extension(Ex: ".txt", ".sas") files
If you have any idea , please help me out
Regards,
Vijay. -
hello all,
I've this XML file:
<?xml version="1.0" standalone="yes"?>
<Configurations>
<PageConfigurations softwareCode="63720415" softwareVersion="07" />
<Page pageName="PAGE1">
<description>DESC1</description>
<Param>
<name>TaskMulti_guc</name>
<address>1128203</address>
<nameType>C</nameType>
<size>1</size>
<offset>0</offset>
<format>Hexadecimal</format>
<description>description</description>
<adminReadonly>false</adminReadonly>
<userReadonly>true</userReadonly>
<byteNumber>4</byteNumber>
<gainK1>1</gainK1>
<gainK2>1</gainK2>
<offsetScale>0</offsetScale>
<switchName />
<switchAddress />
<switchType />
<switchSize>1</switchSize>
<switchOffset>0</switchOffset>
<switchByteNumber>4</switchByteNumber>
<switchValue>0</switchValue>
<switchTime>Before</switchTime>
<switchReset>false</switchReset>
<debugName />
<debugAddress />
<debugType />
<debugSize>1</debugSize>
<debugOffset>0</debugOffset>
</Param>
<Param>
<name>TempNum_guh</name>
<address>1124743</address>
<nameType>H</nameType>
<size>1</size>
<offset>0</offset>
<format>Hexadecimal</format>
<description>description</description>
<adminReadonly>false</adminReadonly>
<userReadonly>true</userReadonly>
<byteNumber>4</byteNumber>
<gainK1>1</gainK1>
<gainK2>1</gainK2>
<offsetScale>0</offsetScale>
<switchName />
<switchAddress />
<switchType />
<switchSize>1</switchSize>
<switchOffset>0</switchOffset>
<switchByteNumber>4</switchByteNumber>
<switchValue>0</switchValue>
<switchTime>Before</switchTime>
<switchReset>false</switchReset>
<debugName />
<debugAddress />
<debugType />
<debugSize>1</debugSize>
<debugOffset>0</debugOffset>
</Param>
<Param>
<name>vMylifeSignal_guc</name>
<address>1131388</address>
<nameType>C</nameType>
<size>1</size>
<offset>0</offset>
<format>Hexadecimal</format>
<description>description</description>
<adminReadonly>false</adminReadonly>
<userReadonly>true</userReadonly>
<byteNumber>4</byteNumber>
<gainK1>1</gainK1>
<gainK2>1</gainK2>
<offsetScale>0</offsetScale>
<switchName />
<switchAddress />
<switchType />
<switchSize>1</switchSize>
<switchOffset>0</switchOffset>
<switchByteNumber>4</switchByteNumber>
<switchValue>0</switchValue>
<switchTime>Before</switchTime>
<switchReset>false</switchReset>
<debugName />
<debugAddress />
<debugType />
<debugSize>1</debugSize>
<debugOffset>0</debugOffset>
</Param>
</Page>
<Page pageName="PAGE2">
<description>DESC2</description>
<Param>
<name>TaskMulti_guc</name>
<address>1128203</address>
<nameType>C</nameType>
<size>1</size>
<offset>0</offset>
<format>Hexadecimal</format>
<description>description</description>
<adminReadonly>false</adminReadonly>
<userReadonly>true</userReadonly>
<byteNumber>4</byteNumber>
<gainK1>1</gainK1>
<gainK2>1</gainK2>
<offsetScale>0</offsetScale>
<switchName />
<switchAddress />
<switchType />
<switchSize>1</switchSize>
<switchOffset>0</switchOffset>
<switchByteNumber>4</switchByteNumber>
<switchValue>0</switchValue>
<switchTime>Before</switchTime>
<switchReset>false</switchReset>
<debugName />
<debugAddress />
<debugType />
<debugSize>1</debugSize>
<debugOffset>0</debugOffset>
</Param>
<Param>
<name>TaskMulti_guc</name>
<address>1128203</address>
<nameType>C</nameType>
<size>1</size>
<offset>0</offset>
<format>Hexadecimal</format>
<description>description</description>
<adminReadonly>false</adminReadonly>
<userReadonly>true</userReadonly>
<byteNumber>4</byteNumber>
<gainK1>1</gainK1>
<gainK2>1</gainK2>
<offsetScale>0</offsetScale>
<switchName />
<switchAddress />
<switchType />
<switchSize>1</switchSize>
<switchOffset>0</switchOffset>
<switchByteNumber>4</switchByteNumber>
<switchValue>0</switchValue>
<switchTime>Before</switchTime>
<switchReset>false</switchReset>
<debugName />
<debugAddress />
<debugType />
<debugSize>1</debugSize>
<debugOffset>0</debugOffset>
</Param>
</Page>
<Page pageName="PAGE3">
<description>DESC3</description>
<Param>
<name>TaskMulti_guc</name>
<address>1128203</address>
<nameType>C</nameType>
<size>1</size>
<offset>0</offset>
<format>Hexadecimal</format>
<description>description</description>
<adminReadonly>false</adminReadonly>
<userReadonly>true</userReadonly>
<byteNumber>4</byteNumber>
<gainK1>1</gainK1>
<gainK2>1</gainK2>
<offsetScale>0</offsetScale>
<switchName />
<switchAddress />
<switchType />
<switchSize>1</switchSize>
<switchOffset>0</switchOffset>
<switchByteNumber>4</switchByteNumber>
<switchValue>0</switchValue>
<switchTime>Before</switchTime>
<switchReset>false</switchReset>
<debugName />
<debugAddress />
<debugType />
<debugSize>1</debugSize>
<debugOffset>0</debugOffset>
</Param>
</Page>
</Configurations>
with this class:
public class Page
public string PageName { get; set; }
public string Description { get; set; }
public List<Param> List = new List<Param>();
public class Param
public string Name { get; set; }
public string Address { get; set; }
public string Format { get; set; }
public string Description { get; set; }
How can I read this file with LINQ (I'm no expert) for fill correctly my object ?
Thanks in advance.
StefanoPlease refer to the following sample code:
XDocument doc = XDocument.Load("c:\data1.xml");
List<Page> pages = new List<Page>();
var pageElems = doc.Root.Elements("Page");
foreach (var page in pageElems)
Page pageObj = new Page();
pageObj.PageName = page.Attribute("pageName").Value;
pageObj.Description = page.Element("description").Value;
pageObj.List = new List<Param>();
var paramElems = page.Elements("Param");
foreach(var paramElem in paramElems)
Param paramObj = new Param();
paramObj.Address = paramElem.Element("address").Value;
paramObj.Description = paramElem.Element("description").Value;
pageObj.List.Add(paramObj);
pages.Add(pageObj);
The code adds the Page objects to the pages list.
Please remember to close your threads by marking all helpful posts as answer and then start a new thread if you have a new question. -
Can we read Money files with iCompta?
Can we read Money files with iCompta?
Yes and no. I f you mean reading multiple files as one-single-payload to a process, you can not use this. But the file adapter reads all the files (depending on the number of agents) almost at once, processing each file, or each line in the file as a process instance.
Marc -
How to read a file with value of RAW data type? Please help
Hi Experts,
I have a file with RAW data like DE864E48833BFFF1B805001CC4EF4BFA
I am using GUI_UPLOAD.
But this FM is throwing error.
I tried by giving FILETYPE as ASC. The output internal table for this FM contains a field of type c size 32.
Now it is able to read the file but I want to assign this value to a RAW data type variable.
This it is unable to do. How to convert the char value to RAW data type?
Please help!
Thanks
GopalHi,
The documentation for the function module contains an example for RAW upload.
begin of itab,
raw(255) type x,
end of itab occurs 0.
CALL FUNCTION 'GUI_UPLOAD'
exporting
filetype = 'BIN'
filename = 'C:\DOWNLOAD.BIN'
tables
data_tab = itab. -
To read XML file with DTD in SSIS
Hi,
My SISS package needs to read .mak file and store it in a sql tables.
I am receiving xml file content in mak file extension with DTD. So I couldn't read through XML source shows error DTD is prohibited in this document. After removing DTD by manually, the xml file has multiple outputs.
Please guide me how to remove DTD by coding and also I don't have xsd and xsl file for this only mak file.
Thanks.Thanks Visakh for your answer.
I have tried in XML task which described in the thread. But I couldn't remove DTD file, I am getting following error,
[XML Task] Error: An error occurred with the following error message: "Could not find a part of the path 'C:\Program Files (x86)\FAST\Builder\bin\makefile.dtd'.".
As I said before I am receiving in .mak file extension. The beginning of file content is like below,
<?xml version='1.0'?>
<!DOCTYPE makefile SYSTEM "file:///C:/ProgramFiles
(x86)/FAST/Builder/bin/makefile.dtd"[
<!ENTITY % default-content-type "'text/html'">
<!ENTITY prjdir "G:\cdrom\Employees_2014_02">
<!ENTITY imgdir "G:\images\forms\gifs">
<!ENTITY foddir "G:\SOFT\FORMS CD\Feb14">
<!ENTITY ccdir "Y:\Content">
]>
<makefile>
&fsysdse;
<content-collection id="b1" title="Employers and Employees" filename="&ccdir;\Employees_2014_02.nfo" password=""> ....
After replace all variable (prjdir,imgdir,fodder,ccdir) into values specified in the entity tag, I removed above underlined part - so the xml file is ready without DTD part and able to use in
XML source. I have received 6 outputs from XML source.
My question is how to do this manual work in SSIS? It’s not only one file, so many files needs to updated SQL tables automatically so everything should be done by coding.
Please guide me in which way I can achieve this?
If you want to do this in SSIS
one way is to use Script Task to parse the file and remove the DTD part.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Why can't I read a file with Hebrew on my iPod?
I recently purchased a new iPod (30GB, color, video) thinking I would be able to, among other things, see Hebrew song titles and read Hebrew files. I found a small patch that will let the iPod display Hebrew song titles and album names but it has no effect on reading text files.
In the past I have studied Chinese, and my son is learning Japanese, and we are able to put study notes on our iPods and read them with no problem. So I thought reading my personal Hebrew docs on the iPod would be Just as easy. But no luck! Hebrew letters don't even appear on the screen! Please tell me there's a fix.
I have tried using TextEdit. Saving the document in "plain Text" format, and saving it to the iPod "notes" folder. Result: Nothing appears on the iPod screen when I try to view the doc.
I have tried using MS Word 2004. Saving the document as "unicode" and putting it in the iPod "notes" folder. Result: All English words appear properly but the Hebrew letters are completely gone.
I am using a Mac G4, running OS 10.3.9
I have several Hebrew fonts installed:
New Peninim MT
Corsiva Hebrew
Arial Hebrew
Lucida Grande
Raanana
Cardo
SBL Hebrew (this is the only font that I can choose in MS Word 2004 when I am saving as unicode)
Any help is appreciated. Thanks.
[email protected]Thank you for the info and links. I never actually read anything from Apple about Hebrew not being supported. Since I was able to use other languages, of seemingly greater complexity, I assumed that Hebrew would work. The patch I was speaking of (that makes Hebrew song titles, etc readable) is actually not a hack. It was developed by a student in an Israeli university and purchased by Apples regional distributor (Yeda Inc., Apple's Israeli distributor). The software is called iPodHE.
If you would like to read more about this:
http://www.israel21c.org/bin/en.jsp?enDispWho=Articles%5El1328&enPage=BlankPage& enDisplay=view&enDispWhat=object&enVersion=0&enZone=Culture
The "iPodHE" web site is:
http://yeda.co.il/iPodHE/downloadsuccess.html
Here is a link to installation instructions in english:
http://www.yakv.net/nextcantor/2006/09/03/getting-hebrew-on-your-ipod-a-guide-fo r-the-english-speaking-mac-user/
I did read somewhere that they are working with Apple to resolve a conflict with the latest version of iTunes and iPodHE v2.0.
Maybe this will be useful to someone.
Thanks again for your help.
Maybe you are looking for
-
Report for daily production and daily sales quantities
Can you Please any body let me know what fields and tables should I pick to generate a report for sales qty and production qty for a material on daily basis. we are using PP PI
-
Nvidia-smi support in 270.41.06
I have an 8400GS and noticed that nvidia-smi no longer supports my GPU under 270.41.06? $ nvidia-smi NVIDIA System Management Interface -- v2.0 NVSMI provides diagnostic information for Tesla and select Quadro devices. The data is presented in either
-
Windows 7 incorrect registry permissions to load Adobe Flash
I have discovered Windows 7 has incorrectly assigned invalid registry permissions to the entries pertaining to Adobe Flash (possibly among other keys). For example, the system Administrator is able to load Adobe Flash Player 11.8.800.94 but when l
-
Setting listener password in oracle 8i
i have some very old windows databases that are 8.1.0.7. I am not able to upgrade these. I am trying to set a password. 1. go to command line 2. lsnrctl 3. set password <password> LSNRCTL> set password l1stener1$ The command completed successfully LS
-
Adobe flash player on google tv
I just bought a new 2013 LG Google TV and I want to know how to get adobe flash player downloaded on it so I can watch TV shows online and get to certain Internet sites. Can someone tell me how to do this please? Thanks!