Click here to Skip to main content
15,911,711 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: customize xml file Pin
Stefan Troschuetz12-Feb-07 6:05
Stefan Troschuetz12-Feb-07 6:05 
Questionxml parser? Pin
$uresh $hanmugam12-Feb-07 0:48
$uresh $hanmugam12-Feb-07 0:48 
AnswerRe: xml parser? Pin
Stefan Troschuetz12-Feb-07 5:33
Stefan Troschuetz12-Feb-07 5:33 
Questionclient server communication using DOM Pin
Member 292037810-Feb-07 20:42
Member 292037810-Feb-07 20:42 
AnswerRe: client server communication using DOM Pin
Stefan Troschuetz11-Feb-07 1:10
Stefan Troschuetz11-Feb-07 1:10 
QuestionUse one XML document to transform another Pin
Mark J. Miller9-Feb-07 7:44
Mark J. Miller9-Feb-07 7:44 
AnswerRe: Use one XML document to transform another Pin
Mark J. Miller9-Feb-07 13:11
Mark J. Miller9-Feb-07 13:11 
QuestionRemove/Stop the creation of BOM header (C#) Pin
Duncan Sample9-Feb-07 2:04
Duncan Sample9-Feb-07 2:04 
I've made a C# application which modifies XML files, but sometimes the resulting file contains the BOM header (EFBBBF hex as first three characters) which the systems which need to take the updated file as input do not accept.

I know I could probably open the file after modification and remove the characters, but that seems like a hack.

Is there a way to specify the encoding to be something different (or any other way) so that it doesn't create this? The code I'm currently using to open the file is:

try<br />
{<br />
	xmlDoc = new XmlDocument();<br />
	xmlDoc.Load(Filename);<br />
<br />
	xpathNav = xmlDoc.CreateNavigator();<br />
	return true;<br />
...

AnswerRe: Remove/Stop the creation of BOM header (C#) Pin
Stefan Troschuetz9-Feb-07 2:44
Stefan Troschuetz9-Feb-07 2:44 
GeneralRe: Remove/Stop the creation of BOM header (C#) Pin
Duncan Sample9-Feb-07 2:59
Duncan Sample9-Feb-07 2:59 
GeneralRe: Remove/Stop the creation of BOM header (C#) Pin
Stefan Troschuetz9-Feb-07 3:12
Stefan Troschuetz9-Feb-07 3:12 
QuestionRe: Remove/Stop the creation of BOM header (C#) Pin
Duncan Sample9-Feb-07 4:44
Duncan Sample9-Feb-07 4:44 
AnswerRe: Remove/Stop the creation of BOM header (C#) Pin
Stefan Troschuetz9-Feb-07 5:19
Stefan Troschuetz9-Feb-07 5:19 
GeneralRe: Remove/Stop the creation of BOM header (C#) Pin
Duncan Sample9-Feb-07 5:26
Duncan Sample9-Feb-07 5:26 
QuestionRe: Remove/Stop the creation of BOM header (C#) Pin
Duncan Sample15-Feb-07 2:47
Duncan Sample15-Feb-07 2:47 
AnswerRe: Remove/Stop the creation of BOM header (C#) Pin
Stefan Troschuetz15-Feb-07 3:24
Stefan Troschuetz15-Feb-07 3:24 
AnswerRe: Remove/Stop the creation of BOM header (C#) Pin
Duncan Sample15-Feb-07 4:18
Duncan Sample15-Feb-07 4:18 
GeneralRe: Remove/Stop the creation of BOM header (C#) Pin
Stefan Troschuetz15-Feb-07 4:31
Stefan Troschuetz15-Feb-07 4:31 
QuestionCreating aspx page dynamically Pin
Venkatesh.P8-Feb-07 23:40
Venkatesh.P8-Feb-07 23:40 
AnswerRe: Creating aspx page dynamically Pin
Stefan Troschuetz8-Feb-07 23:53
Stefan Troschuetz8-Feb-07 23:53 
QuestionRe: Creating aspx page dynamically Pin
Venkatesh.P8-Feb-07 23:59
Venkatesh.P8-Feb-07 23:59 
AnswerRe: Creating aspx page dynamically Pin
Stefan Troschuetz9-Feb-07 0:46
Stefan Troschuetz9-Feb-07 0:46 
AnswerRe: Creating aspx page dynamically Pin
DavidNohejl9-Feb-07 12:54
DavidNohejl9-Feb-07 12:54 
GeneralUsing arrays with XSD and XML Pin
Monty28-Feb-07 2:31
Monty28-Feb-07 2:31 
GeneralRe: Using arrays with XSD and XML Pin
Stefan Troschuetz8-Feb-07 2:46
Stefan Troschuetz8-Feb-07 2:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.