Click here to Skip to main content
15,912,897 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Search Xml Pin
jphuphilly3-Jul-03 7:21
jphuphilly3-Jul-03 7:21 
GeneralRe: Search Xml Pin
Not Active3-Jul-03 9:47
mentorNot Active3-Jul-03 9:47 
GeneralRe: Search Xml Pin
jphuphilly3-Jul-03 11:12
jphuphilly3-Jul-03 11:12 
GeneralRe: Search Xml Pin
Philip Fitzsimons4-Jul-03 3:01
Philip Fitzsimons4-Jul-03 3:01 
GeneralRe: Search Xml Pin
jphuphilly18-Jul-03 9:37
jphuphilly18-Jul-03 9:37 
GeneralXML Schema Question Pin
J. Dunlap29-Jun-03 12:24
J. Dunlap29-Jun-03 12:24 
GeneralRe: XML Schema Question Pin
Arjan Einbu29-Jun-03 22:20
Arjan Einbu29-Jun-03 22:20 
GeneralXML-based document model Pin
J. Dunlap28-Jun-03 13:23
J. Dunlap28-Jun-03 13:23 
Hi everyone,

I'm developing C# application that uses XML as its file format, and XSLT as its rendering engine. It is basically a specialized application of the XML/XSLT document model. The document can be displayed directly in a browser, and is edited in a WebBrowser control.

Now, my question is: how should I go about designing the document model?

DOCUMENT
should it be 1) a sub-class inherited from XmlDocument, with extended capabilities, or 2) a class containing an XmlDocument object. I tend to think the former, but what do you guys think?

NODES
There are different kinds of nodes representing various different types of objects in the document. It would be nice to be able to edit them without directly using the XmlNode "interface" - in other words, through a wrapper. However, since the document is being directly edited in a browser control, the document must be able to be rendered as XML at any time - therefore it must be closely tied to the XML object model. How would you go about this? Would it be workable to create a sub-class for each type of object in the document, inheriting from XmlNode?

Any educated advice would be appreciated. Smile | :)

Thanks in advance,
Justin Dunlap


"Blessed are the peacemakers, for they shall be called sons of God." - Jesus

"You must be the change you wish to see in the world." - Mahatma Gandhi







Generalcan't support "汉字" in C# to process XML Document Pin
Yu_Matrix21-Jun-03 21:41
Yu_Matrix21-Jun-03 21:41 
GeneralRe: can't support "汉字" in C# to process XML Document Pin
Philip Fitzsimons1-Jul-03 1:41
Philip Fitzsimons1-Jul-03 1:41 
Generalxsl to image Pin
jphuphilly19-Jun-03 8:50
jphuphilly19-Jun-03 8:50 
GeneralRe: xsl to image Pin
jphuphilly19-Jun-03 8:51
jphuphilly19-Jun-03 8:51 
GeneralRe: xsl to image Pin
Philip Fitzsimons20-Jun-03 3:14
Philip Fitzsimons20-Jun-03 3:14 
GeneralXSL-FO Convert to PDF Pin
Bosicat18-Jun-03 22:26
Bosicat18-Jun-03 22:26 
GeneralRe: XSL-FO Convert to PDF Pin
Philip Fitzsimons20-Jun-03 3:11
Philip Fitzsimons20-Jun-03 3:11 
GeneralImage Pin
jphuphilly18-Jun-03 18:03
jphuphilly18-Jun-03 18:03 
GeneralRecommendations for C# / XML Documentation Tools Pin
handplane18-Jun-03 1:53
handplane18-Jun-03 1:53 
GeneralRe: Recommendations for C# / XML Documentation Tools Pin
J. Dunlap18-Jun-03 8:20
J. Dunlap18-Jun-03 8:20 
GeneralRe: Recommendations for C# / XML Documentation Tools Pin
handplane18-Jun-03 8:29
handplane18-Jun-03 8:29 
GeneralRe: I Found Some... Pin
handplane19-Jun-03 4:45
handplane19-Jun-03 4:45 
GeneralHi Everybody Pin
jphuphilly17-Jun-03 8:48
jphuphilly17-Jun-03 8:48 
GeneralRe: Hi Everybody Pin
J. Dunlap17-Jun-03 8:50
J. Dunlap17-Jun-03 8:50 
GeneralRe: Hi Everybody Pin
Philip Fitzsimons18-Jun-03 3:16
Philip Fitzsimons18-Jun-03 3:16 
QuestionHow do I extract a hexBinary attribute value? Pin
Jambolo16-Jun-03 13:50
Jambolo16-Jun-03 13:50 
QuestionHow to insert XML data into SQL server using Javascript Pin
emriyaz10-Jun-03 21:46
emriyaz10-Jun-03 21: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.