Click here to Skip to main content
16,006,605 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: XSD ??? Pin
Christian Graus9-Sep-02 15:31
protectorChristian Graus9-Sep-02 15:31 
GeneralRe: XSD ??? Pin
Michael A. Barnhart9-Sep-02 15:57
Michael A. Barnhart9-Sep-02 15:57 
GeneralRe: XSD ??? Pin
Christian Graus9-Sep-02 16:10
protectorChristian Graus9-Sep-02 16:10 
GeneralRe: XSD ??? Pin
Michael A. Barnhart9-Sep-02 16:26
Michael A. Barnhart9-Sep-02 16:26 
GeneralRe: XSD ??? Pin
Christian Graus9-Sep-02 16:30
protectorChristian Graus9-Sep-02 16:30 
GeneralRe: XSD ??? Pin
Michael A. Barnhart9-Sep-02 16:35
Michael A. Barnhart9-Sep-02 16:35 
GeneralRe: XSD ??? Pin
Paul Watson11-Sep-02 8:11
sitebuilderPaul Watson11-Sep-02 8:11 
GeneralRe: XSD ??? Pin
Nood!e17-Sep-02 21:57
Nood!e17-Sep-02 21:57 
Christian Graus wrote:
Yes, that's basically what I thought. I'm asking from the perspective of writing a wrapper for XML in C#, and an editor for XML/XSL and XSD's, and I just wondered how useful they are in the 'real' world.

Just to follow up on your question about use in the real world, I was working on a project recently that used web services to communicate with a database. The project had a thin oo wrapping around what I required of the xml, and this wrapping layer of classes required certain values from the xml it was given.
Rather than doing all the validation within the wrapping classes (and therefore making them more cumbersome), a schema (XSD) was created to validate the xml before it was passed to the wrapper. This way we got good feedback in the form of exceptions when the xml didn't conform to the requirements of the wrapping environment. Also, I did at one point have plans to automatically generate the wrapper classes from the schema itself, and so solve the maintainance time of keeping a schema up to date.
The other side issue that arose was that the schema ment that (as another poster has already noted) we had a common interface for parallel development - much like an Interface would do for a Class with pre and post conditions, we used the XSD for the XML.

Hope this helps
Ben
AnswerRe: XSD ??? Pin
Ranjan Banerji11-Sep-02 4:09
Ranjan Banerji11-Sep-02 4:09 
AnswerRe: XSD ??? Pin
Paul Watson11-Sep-02 8:14
sitebuilderPaul Watson11-Sep-02 8:14 
AnswerRe: XSD ??? Pin
Richard Deeming12-Sep-02 5:14
mveRichard Deeming12-Sep-02 5:14 
Generalpassing a variable to xsl Pin
Thesisus7-Sep-02 16:25
Thesisus7-Sep-02 16:25 
GeneralRe: passing a variable to xsl Pin
Erik Westermann8-Sep-02 12:04
professionalErik Westermann8-Sep-02 12:04 
GeneralJava and XML Pin
sasdav5-Sep-02 3:44
sasdav5-Sep-02 3:44 
GeneralRe: Java and XML Pin
Ryan B.12-Sep-02 5:34
Ryan B.12-Sep-02 5:34 
GeneralXML for persisted data Pin
Jeremy Pullicino5-Sep-02 0:21
Jeremy Pullicino5-Sep-02 0:21 
GeneralRe: XML for persisted data Pin
Zdenek Navratil5-Sep-02 2:04
Zdenek Navratil5-Sep-02 2:04 
GeneralRe: XML for persisted data Pin
Ranjan Banerji5-Sep-02 5:36
Ranjan Banerji5-Sep-02 5:36 
GeneralRe: XML for persisted data Pin
Jeremy Pullicino5-Sep-02 23:44
Jeremy Pullicino5-Sep-02 23:44 
GeneralRe: XML for persisted data Pin
Erik Westermann8-Sep-02 12:20
professionalErik Westermann8-Sep-02 12:20 
GeneralRe: XML for persisted data Pin
Paul Watson5-Sep-02 6:32
sitebuilderPaul Watson5-Sep-02 6:32 
GeneralRe: XML for persisted data Pin
Jeremy Pullicino5-Sep-02 23:46
Jeremy Pullicino5-Sep-02 23:46 
GeneralRe: Pausing SVG Pin
Paul Watson5-Sep-02 3:56
sitebuilderPaul Watson5-Sep-02 3:56 
QuestionXML editor? Pin
Rickard Andersson203-Sep-02 9:07
Rickard Andersson203-Sep-02 9:07 
AnswerRe: XML editor? Pin
Philip Fitzsimons23-Sep-02 7:19
Philip Fitzsimons23-Sep-02 7:19 

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.