Click here to Skip to main content
14,833,630 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: building an XML page Pin
Farraj15-Apr-10 0:46
MemberFarraj15-Apr-10 0:46 
AnswerRe: building an XML page Pin
Farraj16-Apr-10 4:26
MemberFarraj16-Apr-10 4:26 
GeneralRe: building an XML page Pin
Estys16-Apr-10 6:04
MemberEstys16-Apr-10 6:04 
GeneralRe: building an XML page Pin
Farraj24-Apr-10 9:46
MemberFarraj24-Apr-10 9:46 
QuestionImage in XML Pin
farokhian10-Apr-10 5:08
Memberfarokhian10-Apr-10 5:08 
AnswerRe: Image in XML Pin
daveyerwin10-Apr-10 10:29
Memberdaveyerwin10-Apr-10 10:29 
Questionhey I need some help with my coding...... I have an xml and a dtd but they dont validate... can someone help me please? Pin
anubir7-Apr-10 9:44
Memberanubir7-Apr-10 9:44 
AnswerRe: hey I need some help with my coding...... I have an xml and a dtd but they dont validate... can someone help me please? Pin
Stuart Dootson7-Apr-10 14:22
professionalStuart Dootson7-Apr-10 14:22 
Oh dear….where should we start…

Firstly - the namespacing…that's not going to help, because DTDs don't understand namespaces at all.

Second, that XML cannot be valid - you have tags names things like 'packardbell' and 'sony' - they aren't tag names, they should be part of the data…

Anyway - here's (I think) what the first computer element should look like:

<computer type="you need to put something here... - desktop?">
	<itemID>654132</itemID>
	<itemName>PACKARD BELL</itemName>
	<desc>ALL IN ONE TOUCH SCREEN</desc>
	<OS>VISTA</OS>
	<cpu>AMD</cpu>
	<speed>2.6</speed>
	<memory>1GB</memory>
	<hdd>250GB</hdd>
	<wirelessEnabled>NO</wirelessEnabled>
	<quantity>3</quantity>
	<price>435.62</price>
</computer>


You'll note that the element is now correctly named 'computer' and namespacing has been removed. Similar changes need to be made to all the computer and home appliance elements.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

CodeProject MVP for 2010 - who'd'a thunk it!

GeneralRe: hey I need some help with my coding...... I have an xml and a dtd but they dont validate... can someone help me please? Pin
anubir8-Apr-10 3:07
Memberanubir8-Apr-10 3:07 
GeneralRe: hey I need some help with my coding...... I have an xml and a dtd but they dont validate... can someone help me please? Pin
anubir8-Apr-10 3:08
Memberanubir8-Apr-10 3:08 
GeneralRe: hey I need some help with my coding...... I have an xml and a dtd but they dont validate... can someone help me please? Pin
Stuart Dootson8-Apr-10 4:49
professionalStuart Dootson8-Apr-10 4:49 
QuestionXML File is not updated in IE browser Pin
vdtrip7-Apr-10 8:40
Membervdtrip7-Apr-10 8:40 
QuestionGenerating a new XML file starting with a XML file and applyng XSLT Pin
FJJCENTU5-Apr-10 7:32
MemberFJJCENTU5-Apr-10 7:32 
AnswerRe: Generating a new XML file starting with a XML file and applyng XSLT Pin
FJJCENTU5-Apr-10 8:56
MemberFJJCENTU5-Apr-10 8:56 
QuestionCompiling an XML database with an application Pin
brdavid24-Mar-10 21:19
Memberbrdavid24-Mar-10 21:19 
AnswerRe: Compiling an XML database with an application Pin
Stuart Dootson28-Mar-10 21:46
professionalStuart Dootson28-Mar-10 21:46 
QuestionHow can i read or get an XML from another host? Pin
spawneditions24-Mar-10 8:58
Memberspawneditions24-Mar-10 8:58 
AnswerRe: How can i read or get an XML from another host? Pin
daveyerwin25-Mar-10 6:33
Memberdaveyerwin25-Mar-10 6:33 
QuestionXSLT help Pin
Aljaz11124-Mar-10 4:39
MemberAljaz11124-Mar-10 4:39 
AnswerRe: XSLT help Pin
PIEBALDconsult24-Mar-10 5:04
professionalPIEBALDconsult24-Mar-10 5:04 
GeneralRe: XSLT help Pin
Aljaz11124-Mar-10 5:13
MemberAljaz11124-Mar-10 5:13 
QuestionSerializing a complex object to XML [modified] Pin
CDP180222-Mar-10 22:39
MemberCDP180222-Mar-10 22:39 
Questionbuild one xml element with few childs Pin
Aljaz11122-Mar-10 16:04
MemberAljaz11122-Mar-10 16:04 
QuestionXQUERY fn:replace() inserting spaces? Pin
tom_masciovecchio12-Mar-10 10:17
Membertom_masciovecchio12-Mar-10 10:17 
Questionnew to xml..please help.. Pin
A-MEN12-Mar-10 9:11
MemberA-MEN12-Mar-10 9:11 

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.