|
by: Paul L |
last post by:
I'm using SAX to parse a valid XML document without a DTD. If the document
has extra whitespace as blank lines, the lineNumber reported by the Locator
is in correct, by a line or two. Is their some property or something to set
to get these numbers to come out correct?
Paul
|
by: Jan Schneider |
last post by:
Hi,
I already tried all positioning combinations I could think of without
succes. Here is what I try to achieve:
If want to have a floating text (no divs allowed, only spans) where
linenumber appear in front of the text lines (being indented a certain
space).
It should look like:
|
by: keldan |
last post by:
I am hoping someone on this list can shed some light on
the below issue for me. I am using XmlTextReader to read
from an XML file. Unfortunately, an exception is thrown
("Index was outside the bounds of the array.") when the
reader reaches the DOCTYPE. If I remove it everything
works fine. Should I be handling the DOCTYPE someway
before I read the DOCTYPE? Any insight would be greatly
appreciated. I have provided a sample XML...
|
by: Wei Su |
last post by:
Hi,
I have a text file abc.txt and it looks like:
12 34 56
23 45 56
33 56 78
... .. ..
... .. ..
I want to get how many rows totally in the text file, how to do this?
Thanks.
|
by: Craig Bumpstead |
last post by:
Hi,
I was wondering the best and fastest way to determine how many lines are
in a log file.
At the moment I am simply doing a StreamReader.ReadLine and incrementing
a counter until I reach the end. Is there a better way??
Cheers,
Craig
|
|
by: Eric M L |
last post by:
I am wondering if I am alone with this problem. Using VS 2005, I must
validate an XML file via a Schema and it works well. When I get the
schema exception and check the LineNumber and LinePosition properties,
they are always set to 0 <===
Here are 2 ways I used to validate the XML always getting LineNumber
and LinePosition = 0.
Any hints would be greatly appreciated.
==================================================================
|
by: Rick |
last post by:
The following code will enter an infinate loop when in ReadChars. I can only
make it happen when reading a Stream and with this particular XML. If I use
the ReadInnerXml call rather than my own ReadElementBodyAsXml the code works,
but is less efficent. ReadElementBodyAsXml is required by my application
with .Net Framework 1.1.
The code breaks on the second call to ReadElementBodyAsXml with the inner xml:
</EGDConfigExtension>...
|
by: CindyH |
last post by:
Hi
I have a http xml post that I'm trying to read using xmltextreader.
This is the xml:
<?xml version="1.0"?>
<userlist ACTION="newuser" VENDORNAME="H2Digital">
<amouser AMOAID="101" AMOUSERNAME="Billy hill" AMOAROLES="Student"
AMOAPRODUCTS="intralase,VISX,ILASKI" />
</userlist>
|
by: sena87 |
last post by:
As the title says, can anyone tell me how to get the number of child nodes for lets say <script> node in the xml below using XmlTextReader? (which should be 2 - row1 and row2 )
---------Test.xml-----------
<?xml version="1.0" encoding="utf-8" ?>
<Script>
<row1>
<dlgue>this is the tool i made</dlgue>
<ava>angeline</ava>
<exp>happy</exp>
<pos>left</pos>
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|