Click here to Skip to main content
15,894,646 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: Display XML in HTML... Pin
George L. Jackson28-Aug-07 13:54
George L. Jackson28-Aug-07 13:54 
QuestionPassing a List object to an xslt file Pin
Ryno Burger23-Aug-07 10:29
Ryno Burger23-Aug-07 10:29 
AnswerRe: Passing a List object to an xslt file Pin
led mike28-Aug-07 5:07
led mike28-Aug-07 5:07 
QuestionXSL transformation of child nodes Pin
rana7423-Aug-07 2:59
rana7423-Aug-07 2:59 
AnswerRe: XSL transformation of child nodes Pin
George L. Jackson24-Aug-07 12:35
George L. Jackson24-Aug-07 12:35 
QuestionObtaining MSXML interfacte Pin
koumodaki22-Aug-07 6:50
koumodaki22-Aug-07 6:50 
AnswerRe: Obtaining MSXML interfacte Pin
Michael Dunn22-Aug-07 7:42
sitebuilderMichael Dunn22-Aug-07 7:42 
QuestionPlease help in XMLReader of c#.NET Pin
hemendravyas20-Aug-07 19:53
hemendravyas20-Aug-07 19:53 
I'm using .net 1.1

Now I have tried with the code:

System.Text.ASCIIEncoding encoder=new System.Text.ASCIIEncoding();
byte bytes=encoder.GetBytes(p_strXmlFrag); //Here its giving error
MemoryStream ms=new MemoryStream(bytes);
XmlWriter writer=XmlWriter.Create(ms); //Here it could not find create method
ms.Position=0;

XmlTextReader.xmlFile=new XmlTextReader(ms);
----
----
----
----






------------------------------------------------------------------------------------------------------------------------------------------------------------------
I'm also pasting the total method code to make it clear:

public static bool Validate(string p_strMmlFrag, out string p_strErr)
{
p_strErr=string.Empty;

//starting of if statement
if m_xsc==null)
{
m_xsc=new XmlSchemaCollection();
try
{
string path=AppDomain.CurrentDomain.BaseDirectory+m_strSchema;
if (!File.Exists(path))
{
path=AppDomain.CurrentDoamin.BaseDirectory+"/bin"+m_strSchema;
}
XmlTextReader xmlFile=new XmlTextReader(path);
m_ifSchema=XmlSchema.Read(xmlFile, new ValidationEventHandler (ValidationCallBack));

//Error rises in the above line as the destination file path (stored in path variable), I have just created (the file) and it's definitely empty. I tried the above mentioned solution but it's giving error!!!!!!!!

m_xsc.Add(m_ifSchema);
}

// ending of if statement

catch
{
-----
}
-------
------
-------
------
private const string m_strSchema="StructureLinkage.xsd"
private static XmlSchemaCollection=m_xsc;
private static XmlSchema m_ifSchema;

// For the first time only m_xsc in null and after that it does not need to enter into above block of code once m_xsc is instantiated.


}

AnswerRe: Please help in XMLReader of c#.NET Pin
Stefan Troschuetz21-Aug-07 2:23
Stefan Troschuetz21-Aug-07 2:23 
QuestionIssues w/ xsd.exe tool Pin
mcs13019-Aug-07 1:14
mcs13019-Aug-07 1:14 
QuestionFOR XML EXPLICIT Pin
Riaan Booyzen14-Aug-07 22:20
Riaan Booyzen14-Aug-07 22:20 
QuestionConvert Excel to XML Pin
T4AMD14-Aug-07 9:43
T4AMD14-Aug-07 9:43 
QuestionXML file uploading Pin
Milind Panchal14-Aug-07 0:36
Milind Panchal14-Aug-07 0:36 
QuestionImages path in xml Pin
seemamltn13-Aug-07 17:44
seemamltn13-Aug-07 17:44 
AnswerRe: Images path in xml Pin
Rocky#21-Aug-07 1:10
Rocky#21-Aug-07 1:10 
QuestionXMl document for Model the images Pin
seemamltn13-Aug-07 11:30
seemamltn13-Aug-07 11:30 
AnswerRe: XMl document for Model the images Pin
Rocky#21-Aug-07 1:13
Rocky#21-Aug-07 1:13 
QuestionData transfering in DTS from Access to SQl table Pin
Vimalsoft(Pty) Ltd13-Aug-07 4:35
professionalVimalsoft(Pty) Ltd13-Aug-07 4:35 
QuestionRe: Data transfering in DTS from Access to SQl table Pin
George L. Jackson16-Aug-07 0:19
George L. Jackson16-Aug-07 0:19 
Questionhow do we split single cell into rows in XSLT Pin
Vinay Dornala13-Aug-07 2:53
Vinay Dornala13-Aug-07 2:53 
AnswerRe: how do we split single cell into rows in XSLT Pin
George L. Jackson16-Aug-07 0:17
George L. Jackson16-Aug-07 0:17 
QuestionTable that spans multiple rows Pin
totig13-Aug-07 0:14
totig13-Aug-07 0:14 
AnswerRe: Table that spans multiple rows [modified] Pin
George L. Jackson13-Aug-07 3:09
George L. Jackson13-Aug-07 3:09 
Question(Another) XSLT - identity template - question [modified] Pin
Chris Losinger10-Aug-07 15:39
professionalChris Losinger10-Aug-07 15:39 
QuestionXSL Transformation Query Pin
Prashant C9-Aug-07 23:37
Prashant C9-Aug-07 23:37 

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.