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

XML / XSL

 
GeneralRe: XPath expression not working in xslt stylesheet Pin
Member 95766529-Sep-04 12:41
Member 95766529-Sep-04 12:41 
GeneralRe: XPath expression not working in xslt stylesheet Pin
Member 95766529-Sep-04 12:41
Member 95766529-Sep-04 12:41 
GeneralXSLT refererring attributes Pin
hatim_ali23-Sep-04 22:06
hatim_ali23-Sep-04 22:06 
GeneralXML Date type Pin
AndyCheetham22-Sep-04 6:57
AndyCheetham22-Sep-04 6:57 
GeneralExcel XSL Problems. Pin
Chris Quick21-Sep-04 11:11
Chris Quick21-Sep-04 11:11 
Generalto get a url with MSXML2.ServerXMLHTTP an encoding problem Pin
karanba16-Sep-04 5:12
karanba16-Sep-04 5:12 
Generalxaml and generics Pin
Marc Clifton13-Sep-04 8:02
mvaMarc Clifton13-Sep-04 8:02 
GeneralXML schemas for begginers! Pin
AndyCheetham13-Sep-04 6:38
AndyCheetham13-Sep-04 6:38 
Hi Guys,

I am relatively new to XML and it's associated technologies and was looking for some help / advice.

We have a bunch of classes that are arranged into a hierarchy and we now want to represent these classes in XML. Its just so happens that there is already a standard for encoding the object which my classes represent into XML. This encoding is represented in a set XML Schemas. XML schemas is something before today I knew very little about, so I have spent that afternoon reading up on them. Now I have an understanding of what they are and what they do / represent. What I need now is some direction on how to accomplish the task in hand.

What I am asking for is some help / advice on how I should now go about using the schemas to create some XML.

It does look very much like the XML elements and my classes could be one in the same, so it is very tempting to add a "GetXML" function to my classes. I am reluctant to do this as I am trying to keep my classes very light weight and loosely coupled to other classes.

Should I therefore create a set of classes based on the elements in the schema, and these objects get constructed from my current set of classes, and these new classes have the "GetXML" function.

It does sound like I am almost answering my own question, and it is sounding less and less like an XML question and more of a structural question. But I would be very interested in any feed back from anybody who has faced and solved similar problems when dealing with encoding objects to XML.

Cheers
AndyC Smile | :)
GeneralRe: XML schemas for begginers! Pin
Marc Clifton13-Sep-04 7:59
mvaMarc Clifton13-Sep-04 7:59 
GeneralLoading XML into Tree Pin
Aisha Ikram13-Sep-04 0:56
Aisha Ikram13-Sep-04 0:56 
GeneralRe: Loading XML into Tree Pin
Erik Rydgren22-Sep-04 22:00
Erik Rydgren22-Sep-04 22:00 
GeneralRe: Loading XML into Tree Pin
liyang yu28-Sep-04 10:37
liyang yu28-Sep-04 10:37 
QuestionHow do you create a WSDL document Pin
Scott Elder10-Sep-04 11:26
Scott Elder10-Sep-04 11:26 
AnswerRe: How do you create a WSDL document Pin
Scott Elder13-Sep-04 5:54
Scott Elder13-Sep-04 5:54 
GeneralxAML Pin
sreejith ss nair9-Sep-04 23:44
sreejith ss nair9-Sep-04 23:44 
GeneralXML NamespaceURI Issue Pin
Jason Stamp8-Sep-04 23:41
Jason Stamp8-Sep-04 23:41 
GeneralNew TeleMessage Multi-Alert XML API Pin
TeleMessage Multi-Alert6-Sep-04 4:05
TeleMessage Multi-Alert6-Sep-04 4:05 
GeneralDynamic Help - XML Tags Pin
Christo Van Niekerk6-Sep-04 3:16
Christo Van Niekerk6-Sep-04 3:16 
GeneralI have a problem,creating xslt instructions Pin
teo_x5-Sep-04 22:37
teo_x5-Sep-04 22:37 
GeneralRe: I have a problem,creating xslt instructions Pin
Philip Fitzsimons7-Sep-04 2:41
Philip Fitzsimons7-Sep-04 2:41 
GeneralSending a file to a Webservice Pin
Den2Fly4-Sep-04 3:36
Den2Fly4-Sep-04 3:36 
GeneralRe: Sending a file to a Webservice Pin
Pradeep Shamarao6-Sep-04 20:54
Pradeep Shamarao6-Sep-04 20:54 
Generalmsxml Pin
ajaybrar4-Sep-04 1:09
ajaybrar4-Sep-04 1:09 
GeneralRe: msxml Pin
David Chamberlain14-Sep-04 3:40
David Chamberlain14-Sep-04 3:40 
Generalcref not displayed when Build Comment Web Pages VS Studi tool used Pin
Gary Hyslop at home3-Sep-04 10:26
Gary Hyslop at home3-Sep-04 10:26 

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.