Click here to Skip to main content
15,914,820 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: XML as data source Pin
Niro198314-Feb-06 21:50
Niro198314-Feb-06 21:50 
GeneralRe: XML as data source Pin
Shog915-Feb-06 3:20
sitebuilderShog915-Feb-06 3:20 
Questionhow to update an XML file Pin
Abhishek Tiwari13-Feb-06 20:23
Abhishek Tiwari13-Feb-06 20:23 
AnswerRe: how to update an XML file Pin
Gokulan Venattil15-Feb-06 0:23
Gokulan Venattil15-Feb-06 0:23 
Questionadding xmlnode to xmldocument Pin
NewbieDude12-Feb-06 20:16
NewbieDude12-Feb-06 20:16 
AnswerRe: adding xmlnode to xmldocument Pin
George L. Jackson13-Feb-06 5:57
George L. Jackson13-Feb-06 5:57 
QuestionDate format problem with GetXml() Pin
Enigma344011-Feb-06 19:53
Enigma344011-Feb-06 19:53 
AnswerRe: Date format problem with GetXml() Pin
George L. Jackson13-Feb-06 7:24
George L. Jackson13-Feb-06 7:24 
The “yyyy-MM-ddThh:mm:ss.0000000+03:00” format is actually a dateTime.tz data type. It is a subset of the ISO 8601 format with optional time and optional zone. Fractional seconds can be as precise as nanoseconds! Anyway, here is a C++/CLI example to convert this data type into a DateTime variable where the date-time is stored in an attribute called published within an element called book:

<br />
String ^xml = <br />
  "<?xml version='1.0'?>"<br />
  "<books>"<br />
    "<book published='2005-12-30T00:00:00.0000000+03:00'/>"<br />
    "<book published='2005-12-30T00:00:00.0000000-05:00'/>"<br />
  "</books>"<br />
<br />
XmlDocument ^doc = gcnew XmlDocument();<br />
doc->LoadXml(xml);<br />
 <br />
XmlNodeList ^nodes = doc->SelectNodes("/books/book");<br />
<br />
for each (XmlNode ^node in nodes)<br />
{<br />
  DateTime published =<br />
    XmlConvert::ToDateTime(<br />
    node->Attributes->GetNamedItem("published")->Value,<br />
    XmlDateTimeSerializationMode::Utc);<br />
 <br />
  Console::WriteLine(published);<br />
}<br />

GeneralRe: Date format problem with GetXml() Pin
Enigma34405-Mar-06 3:05
Enigma34405-Mar-06 3:05 
QuestionXSL Display Problem!!! Pin
Support12310-Feb-06 1:57
Support12310-Feb-06 1:57 
AnswerRe: XSL Display Problem!!! Pin
George L. Jackson10-Feb-06 3:53
George L. Jackson10-Feb-06 3:53 
GeneralRe: XSL Display Problem!!! Pin
Support12312-Feb-06 18:54
Support12312-Feb-06 18:54 
AnswerRe: XSL Display Problem!!! Pin
George L. Jackson13-Feb-06 8:18
George L. Jackson13-Feb-06 8:18 
GeneralRe: XSL Display Problem!!! Pin
Support12313-Feb-06 18:37
Support12313-Feb-06 18:37 
QuestionXML convert to HTML Pin
JacquesDP9-Feb-06 23:36
JacquesDP9-Feb-06 23:36 
AnswerRe: XML convert to HTML Pin
George L. Jackson10-Feb-06 4:40
George L. Jackson10-Feb-06 4:40 
GeneralRe: XML convert to HTML Pin
JacquesDP12-Feb-06 17:29
JacquesDP12-Feb-06 17:29 
QuestionConvert String Format Back To Xml File !!! Pin
HatakeKaKaShi9-Feb-06 17:57
HatakeKaKaShi9-Feb-06 17:57 
AnswerRe: Convert String Format Back To Xml File !!! Pin
imsathy9-Feb-06 19:49
imsathy9-Feb-06 19:49 
GeneralRe: Convert String Format Back To Xml File !!! Pin
George L. Jackson10-Feb-06 5:16
George L. Jackson10-Feb-06 5:16 
QuestionIs schema file or mapping file is compulsory for SQLXML? Pin
essamughal9-Feb-06 6:03
essamughal9-Feb-06 6:03 
AnswerRe: Is schema file or mapping file is compulsory for SQLXML? Pin
George L. Jackson10-Feb-06 5:41
George L. Jackson10-Feb-06 5:41 
GeneralRe: Is schema file or mapping file is compulsory for SQLXML? Pin
essamughal10-Feb-06 7:04
essamughal10-Feb-06 7:04 
GeneralRe: Is schema file or mapping file is compulsory for SQLXML? Pin
George L. Jackson10-Feb-06 9:35
George L. Jackson10-Feb-06 9:35 
QuestionGenerate Xml describing my textbox or any UI controls Pin
NewbieDude8-Feb-06 20:06
NewbieDude8-Feb-06 20:06 

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.